Main Page | Data Structures | Directories | File List | Data Fields | Globals

io_cfg.h File Reference

#include "autofiles\usbcfg.h"

Go to the source code of this file.

Defines

#define INPUT_PIN   1
#define OUTPUT_PIN   0
#define tris_usb_bus_sense   TRISAbits.TRISA1
#define usb_bus_sense   1
#define tris_self_power   TRISAbits.TRISA2
#define self_power   1
#define mInitAllLEDs()   LATB &= 0xF8; TRISB &= 0xF8;
#define mLED_1   LATBbits.LATB0
#define mLED_2   LATBbits.LATB1
#define mLED_3   LATBbits.LATB2
#define mLED_1_On()   mLED_1 = 1;
#define mLED_2_On()   mLED_2 = 1;
#define mLED_3_On()   mLED_3 = 1;
#define mLED_1_Off()   mLED_1 = 0;
#define mLED_2_Off()   mLED_2 = 0;
#define mLED_3_Off()   mLED_3 = 0;
#define mLED_1_Toggle()   mLED_1 = !mLED_1;
#define mLED_2_Toggle()   mLED_2 = !mLED_2;
#define mLED_3_Toggle()   mLED_3 = !mLED_3;


Define Documentation

#define INPUT_PIN   1
 

T R I S

Definition at line 44 of file io_cfg.h.

Referenced by InitializeSystem().

 
#define mInitAllLEDs  )     LATB &= 0xF8; TRISB &= 0xF8;
 

L E D

Definition at line 65 of file io_cfg.h.

Referenced by UserInit().

#define mLED_1   LATBbits.LATB0
 

Definition at line 67 of file io_cfg.h.

Referenced by BlinkUSBStatus().

 
#define mLED_1_Off  )     mLED_1 = 0;
 

Definition at line 75 of file io_cfg.h.

 
#define mLED_1_On  )     mLED_1 = 1;
 

Definition at line 71 of file io_cfg.h.

 
#define mLED_1_Toggle  )     mLED_1 = !mLED_1;
 

Definition at line 79 of file io_cfg.h.

Referenced by BlinkUSBStatus().

#define mLED_2   LATBbits.LATB1
 

Definition at line 68 of file io_cfg.h.

Referenced by BlinkUSBStatus().

 
#define mLED_2_Off  )     mLED_2 = 0;
 

Definition at line 76 of file io_cfg.h.

Referenced by BlinkUSBStatus().

 
#define mLED_2_On  )     mLED_2 = 1;
 

Definition at line 72 of file io_cfg.h.

 
#define mLED_2_Toggle  )     mLED_2 = !mLED_2;
 

Definition at line 80 of file io_cfg.h.

#define mLED_3   LATBbits.LATB2
 

Definition at line 69 of file io_cfg.h.

 
#define mLED_3_Off  )     mLED_3 = 0;
 

Definition at line 77 of file io_cfg.h.

 
#define mLED_3_On  )     mLED_3 = 1;
 

Definition at line 73 of file io_cfg.h.

 
#define mLED_3_Toggle  )     mLED_3 = !mLED_3;
 

Definition at line 81 of file io_cfg.h.

#define OUTPUT_PIN   0
 

Definition at line 45 of file io_cfg.h.

Referenced by InitTempSensor().

#define self_power   1
 

Definition at line 61 of file io_cfg.h.

Referenced by USBStdGetStatusHandler().

#define tris_self_power   TRISAbits.TRISA2
 

Definition at line 56 of file io_cfg.h.

Referenced by InitializeSystem().

#define tris_usb_bus_sense   TRISAbits.TRISA1
 

U S B

Definition at line 48 of file io_cfg.h.

Referenced by InitializeSystem().

#define usb_bus_sense   1
 

Definition at line 53 of file io_cfg.h.

Referenced by USBCheckBusStatus().


Generated on Wed Jun 8 03:49:40 2005 for cdc by  doxygen 1.4.2