Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Standard I/O (stdio)

Common standard I/O driver that implements the stdio read and write functions on AVR and SAM devices.

Modules

 USB/CDC Standard I/O (stdio)
 Standard I/O (stdio) management component that implements a stdio USB CDC interface on AVR devices.
 
 Standard serial I/O (stdio)
 Common standard serial I/O management driver that implements a stdio serial interface on AVR and SAM devices.
 

Functions

int _read (int file, char *ptr, int len)
 
int _write (int file, 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
 Pointer to the base of the USART module instance to use for stdio. More...
 

int _read ( int  file,
char *  ptr,
int  len 
)

References ptr_get, and stdio_base.

int _write ( int  file,
char *  ptr,
int  len 
)

References ptr_put, and stdio_base.

void(* ptr_get)(void volatile *, char *)

Pointer to the external low level read function.

Referenced by _read(), and stdio_usb_init().

int(* ptr_put)(void volatile *, char)

Pointer to the external low level write function.

Referenced by _write(), 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(), and stdio_usb_init().

volatile void* volatile stdio_base

Pointer to the base of the USART module instance to use for stdio.