Common standard I/O driver that implements the stdio read and write functions on AVR and SAM devices.
Modules | |
Standard serial I/O (stdio) | |
Common standard serial I/O management driver that implements a stdio serial interface on AVR and SAM devices. | |
USB/CDC Standard I/O (stdio) | |
Standard I/O (stdio) management component that implements a stdio USB CDC interface on AVR devices. | |
Functions | |
int | _read (int file, char *ptr, int len) |
int | _write (int file, const char *ptr, int len) |
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... | |
volatile void *volatile | stdio_base |
int _read | ( | int | file, |
char * | ptr, | ||
int | len | ||
) |
References ptr_get, and stdio_base.
Referenced by stdio_serial_init(), and stdio_usb_init().
int _write | ( | int | file, |
const char * | ptr, | ||
int | len | ||
) |
References ptr_put, and stdio_base.
Referenced by stdio_serial_init(), and stdio_usb_init().
void(* ptr_get)(void volatile *, char *) |
Pointer to the external low level read function.
Referenced by _read(), stdio_serial_init(), and stdio_usb_init().
int(* ptr_put)(void volatile *, char) |
Pointer to the external low level write function.
Referenced by _write(), main(), stdio_serial_init(), and stdio_usb_init().
volatile void* volatile stdio_base |
Pointer to the base of the USART module instance to use for stdio.
Referenced by _read(), _write(), stdio_serial_init(), and stdio_usb_init().
volatile void* volatile stdio_base |
Referenced by _read(), _write(), stdio_serial_init(), and stdio_usb_init().