Microchip® Advanced Software Framework

usb/sio2host.h File Reference
#include "compiler.h"
#include "status_codes.h"
#include "stdio_usb.h"

Functions

void dtr_cb (bool)
 This function is callled with the value set as true whenever a device is connected to the terminal. More...
 
uint8_t sio2host_getchar (void)
 This function performs a blocking character receive functionality. More...
 
int sio2host_getchar_nowait (void)
 This function performs a non-blocking character receive functionality. More...
 
void sio2host_init (void)
 Initializes the Serial IO Module of the Host Device. More...
 
void sio2host_putchar (uint8_t)
 
uint8_t sio2host_rx (uint8_t *data, uint8_t max_length)
 Receives data from USB. More...
 
uint8_t sio2host_tx (uint8_t *data, uint8_t length)
 Transmits data via USB. More...
 
void usb_rx_notify (void)
 This function is called by the USB data receive Interrupt The Receive buffer is filled in this function. More...