Common standard serial I/O management driver that implements a stdio serial interface on AVR and SAM devices.
Functions | |
static void | stdio_serial_init (volatile void *usart, const usart_serial_options_t *opt) |
Initializes the stdio in Serial Mode. More... | |
Variables | |
void(* | ptr_get )(void volatile *, char *) |
Pointer to the external low level read function. More... | |
int(* | ptr_put )(void volatile *, char) |
Pointer to the external low level write function. More... | |
volatile void *volatile | stdio_base |
Pointer to the base of the USART module instance to use for stdio. More... | |
|
inlinestatic |
Initializes the stdio in Serial Mode.
usart | Base address of the USART instance. |
opt | Options needed to set up RS232 communication (see usart_options_t). |
References ptr_get, ptr_put, stdio_base, usart_serial_getchar(), usart_serial_init(), and usart_serial_putchar().
Referenced by main().
void(* ptr_get)(void volatile *, char *) |
Pointer to the external low level read function.
Referenced by stdio_serial_init().
int(* ptr_put)(void volatile *, char) |
Pointer to the external low level write function.
Referenced by stdio_serial_init().
volatile void* volatile stdio_base |
Pointer to the base of the USART module instance to use for stdio.