EDF - OnePIC MCU
v1.1.0
|
![]() |
Data Structures | |
struct | IR_DEMO_RX |
Global variables that are written to in the ISR. More... | |
struct | IR_DEMO_FLAG |
Contains the RX/TX flags. More... | |
Modules | |
IrDA PICtail | |
ISR | |
MCP2200 - USB | |
mTouch | |
Files | |
file | OnePIC_8bit_demo_main.h |
file | OnePIC_8bit_demo_mtouch.h |
Functions | |
void | demo_main_loop (void) |
IR main loop that sends and receives bytes. | |
void | touch_service () |
Service the TOUCH_TX_FLAG. | |
void | mcp2200_service () |
Service the MCP2200_RX_FLAG. | |
void | ir_service () |
Service the IRDA_RX_FLAG. | |
void | irda_demo_init (void) |
Initilizes the IR link, specifically: | |
void | irda_tx (char c) |
bit-bang a byte to the IR PICtail | |
void | mcp2200_tx (char c) |
send a byte to the UART module back to the listening device | |
Variables | |
IR_DEMO_FLAG | rx_tx_flag |
IR_DEMO_RX | rx_byte |
void ir_service | ( | ) |
Service the IRDA_RX_FLAG.
don't enter here agin until new data received
Definition at line 152 of file OnePIC_8bit_demo_main.c.
void irda_demo_init | ( | void | ) |
Initilizes the IR link, specifically:
Definition at line 173 of file OnePIC_8bit_demo_main.c.
void irda_tx | ( | char | c | ) |
bit-bang a byte to the IR PICtail
c | char byte to send to PICtail |
Definition at line 215 of file OnePIC_8bit_demo_main.c.
void mcp2200_service | ( | ) |
Service the MCP2200_RX_FLAG.
Definition at line 130 of file OnePIC_8bit_demo_main.c.
void mcp2200_tx | ( | char | c | ) |
send a byte to the UART module back to the listening device
c | char byte to send to UART |
Definition at line 224 of file OnePIC_8bit_demo_main.c.
void touch_service | ( | ) |
Service the TOUCH_TX_FLAG.
Definition at line 108 of file OnePIC_8bit_demo_main.c.
store all rx/tx bytes in here
Definition at line 39 of file OnePIC_8bit_demo_main.c.
Keep track of rx/tx flags
Definition at line 38 of file OnePIC_8bit_demo_main.c.