ChibiOS/HAL  6.1.0
hal_serial_usb.c File Reference

Serial over USB Driver code. More...

#include "hal.h"

Go to the source code of this file.

Functions

static void ibnotify (io_buffers_queue_t *bqp)
 Notification of empty buffer released into the input buffers queue. More...
 
static void obnotify (io_buffers_queue_t *bqp)
 Notification of filled buffer inserted into the output buffers queue. More...
 
void sduInit (void)
 Serial Driver initialization. More...
 
void sduObjectInit (SerialUSBDriver *sdup)
 Initializes a generic full duplex driver object. More...
 
void sduStart (SerialUSBDriver *sdup, const SerialUSBConfig *config)
 Configures and starts the driver. More...
 
void sduStop (SerialUSBDriver *sdup)
 Stops the driver. More...
 
void sduSuspendHookI (SerialUSBDriver *sdup)
 USB device suspend handler. More...
 
void sduWakeupHookI (SerialUSBDriver *sdup)
 USB device wakeup handler. More...
 
void sduConfigureHookI (SerialUSBDriver *sdup)
 USB device configured handler. More...
 
bool sduRequestsHook (USBDriver *usbp)
 Default requests hook. More...
 
void sduSOFHookI (SerialUSBDriver *sdup)
 SOF handler. More...
 
void sduDataTransmitted (USBDriver *usbp, usbep_t ep)
 Default data transmitted callback. More...
 
void sduDataReceived (USBDriver *usbp, usbep_t ep)
 Default data received callback. More...
 
void sduInterruptTransmitted (USBDriver *usbp, usbep_t ep)
 Default data received callback. More...
 
msg_t sduControl (USBDriver *usbp, unsigned int operation, void *arg)
 Control operation on a serial USB port. More...
 

Detailed Description

Serial over USB Driver code.

Definition in file hal_serial_usb.c.