EDF - OnePIC MCU  v1.1.0
MCP2200 - USB
Collaboration diagram for MCP2200 - USB:

Files

file  OnePIC_8bit_demo_mcp2200.h

Functions

void mcp2200_init (void)
 Configures the UART module for 9600 baud.
void mcp2200_prompt (void)
void putch (uint8_t byte)
char mcp2200_getch (void)
char mcp2200_getche (void)

Function Documentation

char mcp2200_getch ( void  )

Receive one character from MCP2200

Returns:
unsigned char RCREG

Definition at line 70 of file OnePIC_8bit_demo_mcp2200.c.

Here is the caller graph for this function:

char mcp2200_getche ( void  )

A simple 'echo back what was sent'

Returns:
unsigned char character sent

Definition at line 82 of file OnePIC_8bit_demo_mcp2200.c.

Here is the call graph for this function:

void mcp2200_init ( void  )

Configures the UART module for 9600 baud.

Note:
If this is changed, you must change it in the GUI as well

Definition at line 21 of file OnePIC_8bit_demo_mcp2200.c.

Here is the caller graph for this function:

void mcp2200_prompt ( void  )

Outputs a message to prompt the user for a keypress through COM port

Definition at line 39 of file OnePIC_8bit_demo_mcp2200.c.

Here is the call graph for this function:

void putch ( uint8_t  byte)

Prints a single character If using PRINTF, this MUST be avaliable!

Parameters:
byteunsigned char

Definition at line 58 of file OnePIC_8bit_demo_mcp2200.c.

Here is the caller graph for this function: