#include <p18cxxx.h>
#include <usart.h>
#include "system\typedefs.h"
#include "system\usb\usb.h"
#include "io_cfg.h"
#include "user\user.h"
#include "user\temperature.h"
Go to the source code of this file.
Defines | |
#define | mLED_Both_Off() {mLED_1_Off();mLED_2_Off();} |
#define | mLED_Both_On() {mLED_1_On();mLED_2_On();} |
#define | mLED_Only_1_On() {mLED_1_On();mLED_2_Off();} |
#define | mLED_Only_2_On() {mLED_1_Off();mLED_2_On();} |
Functions | |
void | InitializeUSART (void) |
void | BlinkUSBStatus (void) |
BOOL | Switch2IsPressed (void) |
BOOL | Switch3IsPressed (void) |
void | UserInit (void) |
void | ProcessIO (void) |
Variables | |
byte | old_sw2 |
byte | old_sw3 |
char | input_buffer [64] |
|
Referenced by BlinkUSBStatus(). |
|
Referenced by BlinkUSBStatus(). |
|
Referenced by BlinkUSBStatus(). |
|
Referenced by BlinkUSBStatus(). |
|
Definition at line 156 of file user.c. References ADDRESS_STATE, ATTACHED_STATE, CONFIGURED_STATE, DEFAULT_STATE, DETACHED_STATE, mLED_1, mLED_1_Toggle, mLED_2, mLED_2_Off, mLED_Both_Off, mLED_Both_On, mLED_Only_1_On, mLED_Only_2_On, POWERED_STATE, and usb_device_state. Referenced by ProcessIO(). |
|
P R I V A T E P R O T O T Y P E S |
|
Definition at line 120 of file user.c. References BlinkUSBStatus(), CONFIGURED_STATE, getsUSBUSART(), input_buffer, mUSBUSARTIsTxTrfReady, mUSBUSARTTxRam, and usb_device_state. Referenced by main(). |
|
|
|
|
|
D E C L A R A T I O N S Definition at line 80 of file user.c. References mInitAllLEDs. Referenced by InitializeSystem(). |
|
Definition at line 65 of file user.c. Referenced by ProcessIO(). |
|
V A R I A B L E S |
|
V A R I A B L E S |