|
ChibiOS/HAL 9.0.0
|
Serial over USB Driver code. More...
#include "hal.h"Go to the source code of this file.
Functions | |
| static bool | sdu_start_receive (SerialUSBDriver *sdup) |
| static size_t | _write (void *ip, const uint8_t *bp, size_t n) |
| static size_t | _read (void *ip, uint8_t *bp, size_t n) |
| static msg_t | _put (void *ip, uint8_t b) |
| static msg_t | _get (void *ip) |
| static msg_t | _putt (void *ip, uint8_t b, sysinterval_t timeout) |
| static msg_t | _gett (void *ip, sysinterval_t timeout) |
| static size_t | _writet (void *ip, const uint8_t *bp, size_t n, sysinterval_t timeout) |
| static size_t | _readt (void *ip, uint8_t *bp, size_t n, sysinterval_t timeout) |
| static msg_t | _ctl (void *ip, unsigned int operation, void *arg) |
| static void | ibnotify (io_buffers_queue_t *bqp) |
| Notification of empty buffer released into the input buffers queue. | |
| static void | obnotify (io_buffers_queue_t *bqp) |
| Notification of filled buffer inserted into the output buffers queue. | |
| void | sduInit (void) |
| Serial Driver initialization. | |
| void | sduObjectInit (SerialUSBDriver *sdup) |
| Initializes a generic full duplex driver object. | |
| msg_t | sduStart (SerialUSBDriver *sdup, const SerialUSBConfig *config) |
| Configures and starts the driver. | |
| void | sduStop (SerialUSBDriver *sdup) |
| Stops the driver. | |
| void | sduSuspendHookI (SerialUSBDriver *sdup) |
| USB device suspend handler. | |
| void | sduWakeupHookI (SerialUSBDriver *sdup) |
| USB device wakeup handler. | |
| void | sduConfigureHookI (SerialUSBDriver *sdup) |
| USB device configured handler. | |
| bool | sduRequestsHook (USBDriver *usbp) |
| Default requests hook. | |
| void | sduSOFHookI (SerialUSBDriver *sdup) |
| SOF handler. | |
| void | sduDataTransmitted (USBDriver *usbp, usbep_t ep) |
| Default data transmitted callback. | |
| void | sduDataReceived (USBDriver *usbp, usbep_t ep) |
| Default data received callback. | |
| void | sduInterruptTransmitted (USBDriver *usbp, usbep_t ep) |
| Default data received callback. | |
| msg_t | sduControl (USBDriver *usbp, unsigned int operation, void *arg) |
| Control operation on a serial USB port. | |
Variables | |
| static cdc_linecoding_t | linecoding |
| static const struct SerialUSBDriverVMT | vmt |
Serial over USB Driver code.
Definition in file hal_serial_usb.c.