9.23 uart_example.c File Reference
Includes
- ../drivers/uart.h
- uart_example.h
- string.h
- stdio.h
Functions
- void
-
UART_example_WRITE_STRING (char *str)
Call this function from main to send a string of characters. This can be a light-weight alternative to printf, e.g. for a string of ASCII characters.
Parameters:
- none
Returns:
None
- void
-
UART_example_PRINTF (void)
Call this function from main to print to a terminal a string with a uint8_t variable
Parameters:
- none
Returns:
None
- void
-
UART_example_READ (void)
Call this function in main() to type a message into a serial terminal for the program to echo back what you typed.
Parameters:
- none
Returns:
None
- void
-
UART_example_RUNALL (void)
Call this function in main() to sequentially run
Parameters:
- none
Returns:
None