27 #if (HAL_USE_USB == TRUE) || defined(__DOXYGEN__)    40 #if (PLATFORM_USB_USE_USB1 == TRUE) || defined(__DOXYGEN__)   101 #if PLATFORM_USB_USE_USB1 == TRUE   118 #if PLATFORM_USB_USE_USB1 == TRUE   119     if (&USBD1 == usbp) {
   141 #if PLATFORM_USB_USE_USB1 == TRUE   142     if (&USBD1 == usbp) {
 void usb_lld_prepare_receive(USBDriver *usbp, usbep_t ep)
Prepares for a receive operation. 
 
void _usb_ep0setup(USBDriver *usbp, usbep_t ep)
Default EP0 SETUP callback. 
 
USBDriver USBD1
USB1 driver identifier. 
 
Type of an OUT endpoint state structure. 
 
usbstate_t state
Driver state. 
 
void usb_lld_init(void)
Low level USB driver initialization. 
 
const USBEndpointConfig * epc[USB_MAX_ENDPOINTS+1]
Active endpoints configurations. 
 
void usb_lld_init_endpoint(USBDriver *usbp, usbep_t ep)
Enables an endpoint. 
 
void usb_lld_clear_out(USBDriver *usbp, usbep_t ep)
Brings an OUT endpoint in the active state. 
 
void usb_lld_clear_in(USBDriver *usbp, usbep_t ep)
Brings an IN endpoint in the active state. 
 
void usb_lld_start(USBDriver *usbp)
Configures and activates the USB peripheral. 
 
static const USBEndpointConfig ep0config
EP0 initialization structure. 
 
#define USB_EP_MODE_TYPE_CTRL
 
void usb_lld_disable_endpoints(USBDriver *usbp)
Disables all the active endpoints except the endpoint zero. 
 
void usb_lld_start_out(USBDriver *usbp, usbep_t ep)
Starts a receive operation on an OUT endpoint. 
 
void usb_lld_stall_in(USBDriver *usbp, usbep_t ep)
Brings an IN endpoint in the stalled state. 
 
static union @20 ep0_state
EP0 state. 
 
void usb_lld_start_in(USBDriver *usbp, usbep_t ep)
Starts a transmit operation on an IN endpoint. 
 
Structure representing an USB driver. 
 
void usb_lld_read_setup(USBDriver *usbp, usbep_t ep, uint8_t *buf)
Reads a setup packet from the dedicated packet buffer. 
 
void usb_lld_stall_out(USBDriver *usbp, usbep_t ep)
Brings an OUT endpoint in the stalled state. 
 
void _usb_ep0in(USBDriver *usbp, usbep_t ep)
Default EP0 IN callback. 
 
void usb_lld_reset(USBDriver *usbp)
USB low level reset routine. 
 
void _usb_ep0out(USBDriver *usbp, usbep_t ep)
Default EP0 OUT callback. 
 
usbepstatus_t usb_lld_get_status_out(USBDriver *usbp, usbep_t ep)
Returns the status of an OUT endpoint. 
 
Type of an IN endpoint state structure. 
 
usbepstatus_t usb_lld_get_status_in(USBDriver *usbp, usbep_t ep)
Returns the status of an IN endpoint. 
 
USBInEndpointState in
IN EP0 state. 
 
uint8_t usbep_t
Type of an endpoint identifier. 
 
USBOutEndpointState out
OUT EP0 state. 
 
void usb_lld_stop(USBDriver *usbp)
Deactivates the USB peripheral. 
 
Type of an USB endpoint configuration structure. 
 
void usbObjectInit(USBDriver *usbp)
Initializes the standard part of a USBDriver structure. 
 
void usb_lld_prepare_transmit(USBDriver *usbp, usbep_t ep)
Prepares for a transmit operation. 
 
void usb_lld_set_address(USBDriver *usbp)
Sets the USB address. 
 
usbepstatus_t
Type of an endpoint status.