Aguijón Software Libraries  1.0
Documentation for the included Libraries
 All Files Functions Variables Typedefs Enumerations Enumerator Macros
main.c File Reference
#include <p24FJ128GB106.h>
#include "EEPROM.h"
#include "analog.h"
#include "LCD.h"
#include "outputs.h"
#include "inputs.h"
#include "serial.h"
#include "PPS.h"
#include "realtime.h"
#include "outcompare.h"
#include "init.h"
#include "tester.h"
#include "demo.h"
#include "definitions.h"

Go to the source code of this file.

Functions

void Aguijon3Init (void)
 
void _ISR _T1Interrupt (void)
 
void _ISR _RTCCInterrupt (void)
 
int main (void)
 

Variables

BOOL TESTMODE = FALSE
 
BOOL refresh_display = FALSE
 
unsigned char cmdBuffer []
 Buffer in which we store RX_data.
 
unsigned char string [20] = " "
 
unsigned char minutes = 0
 
unsigned char seconds = 0
 
unsigned char sweeppos = 0
 
unsigned char testmsg1 [] = {" test mode 1.0 "}
 
unsigned char testmsg2 [] = {"Waiting for COMMands"}
 

Function Documentation

void _ISR _RTCCInterrupt ( void  )

Function: _RTCCInterrupt

Preconditions: RTCC & Interrupt initialized and enabled.

Overview: This function sets the time, date, day of week and year.

Arguments: None.

Returns: None.

Definition at line 190 of file main.c.

void _ISR _T1Interrupt ( void  )

Function: _T1Interrupt

Preconditions: Timer1 & Interrupt initialized and enabled.

Overview: This interrupt gets serviced every 1mS.

Arguments: None.

Returns: None.

Definition at line 155 of file main.c.

void Aguijon3Init ( void  )

Function: Aguijon3Init

Preconditions: None.

Overview: This function initializes all on-board hardware.

Arguments: None.

Returns: None.

Definition at line 74 of file main.c.

int main ( void  )

Function: main

Preconditions: None.

Overview: Program main entry point.

Arguments: None.

Returns: None.

Definition at line 217 of file main.c.

Variable Documentation

unsigned char cmdBuffer[]

Buffer in which we store RX_data.

Definition at line 34 of file serial.c.

unsigned char minutes = 0

Definition at line 50 of file main.c.

BOOL refresh_display = FALSE

Definition at line 45 of file main.c.

unsigned char seconds = 0

Definition at line 51 of file main.c.

unsigned char string[20] = " "

Definition at line 48 of file main.c.

unsigned char sweeppos = 0

Definition at line 52 of file main.c.

BOOL TESTMODE = FALSE

Definition at line 44 of file main.c.

unsigned char testmsg1[] = {" test mode 1.0 "}

Definition at line 55 of file main.c.

unsigned char testmsg2[] = {"Waiting for COMMands"}

Definition at line 56 of file main.c.