uart_example.c File Reference

Includes

  1. 1.../drivers/uart.h
  2. 2.uart_example.h
  3. 3.string.h
  4. 4.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