Common standard serial I/O management driver that implements a stdio serial interface on AVR and SAM devices.
|
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...
|
|
Initializes the stdio in Serial Mode.
- Parameters
-
usart | Base address of the USART instance. |
opt | Options needed to set up RS232 communication (see usart_options_t). |
References _read(), _write(), NULL, ptr_get, ptr_put, stdio_base, usart_serial_getchar(), usart_serial_init(), and usart_serial_putchar().
Referenced by configure_console(), main(), osprintf_init(), sio2host_init(), and sio2ncp_init().
void(* ptr_get)(void volatile *, char *) |
Pointer to the external low level read function.
int(* ptr_put)(void volatile *, char) |
Pointer to the external low level write function.
volatile void* volatile stdio_base |
Pointer to the base of the USART module instance to use for stdio.