EDF - OnePIC MCU
Preliminary v0.7.0
|
Connects to the MCP2200 using the Hardware UART module. More...
Go to the source code of this file.
Functions | |
void | mcp2200_init (void) |
Configures the UART module for 9600 baud. | |
void | mcp2200_prompt (void) |
void | putch (uint8_t byte) |
uint8_t | mcp2200_getch (void) |
uint8_t | mcp2200_getche (void) |
Connects to the MCP2200 using the Hardware UART module.
Definition in file mcp2200_uart.c.
uint8_t mcp2200_getch | ( | void | ) |
Receive one character from MCP2200
Definition at line 73 of file mcp2200_uart.c.
uint8_t mcp2200_getche | ( | void | ) |
A simple 'echo back what was sent'
Definition at line 85 of file mcp2200_uart.c.
void mcp2200_init | ( | void | ) |
Configures the UART module for 9600 baud.
Definition at line 21 of file mcp2200_uart.c.
void mcp2200_prompt | ( | void | ) |
Outputs a message to prompt the user for a keypress through COM port
Definition at line 39 of file mcp2200_uart.c.
void putch | ( | uint8_t | byte | ) |
Prints a single character If using PRINTF, this MUST be avaliable!
byte | unsigned char |
Definition at line 61 of file mcp2200_uart.c.