Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
USART driver

The USART driver is used to send or receive characters using USART1.

Functions

uint8_t usart1_getchar (void)
 Function to get a char from the USART if it is ready. More...
 
int usart1_putchar (int c)
 Function to transmit a char using USART1 if it is ready. More...
 

uint8_t usart1_getchar ( void  )

Function to get a char from the USART if it is ready.

Return values
UDR1Returns USART1 data register

Referenced by execute_terminal_mode().

int usart1_putchar ( int  c)

Function to transmit a char using USART1 if it is ready.

Parameters
cVariable used to transmit a character using USART1

Referenced by execute_terminal_mode().