|
ChibiOS/RT
2.5.1 |
#include <usb_lld.h>

Data Fields | |
| usbstate_t | state |
| Driver state. | |
| const USBConfig * | config |
| Current configuration data. | |
| void * | param |
| Field available to user, it can be used to associate an application-defined handler to the USB driver. | |
| uint16_t | transmitting |
| Bit map of the transmitting IN endpoints. | |
| uint16_t | receiving |
| Bit map of the receiving OUT endpoints. | |
| const USBEndpointConfig * | epc [USB_MAX_ENDPOINTS+1] |
| Active endpoints configurations. | |
| usbep0state_t | ep0state |
| Endpoint 0 state. | |
| uint8_t * | ep0next |
| Next position in the buffer to be transferred through endpoint 0. | |
| size_t | ep0n |
| Number of bytes yet to be transferred through endpoint 0. | |
| usbcallback_t | ep0endcb |
| Endpoint 0 end transaction callback. | |
| uint8_t | setup [8] |
| Setup packet buffer. | |
| uint16_t | status |
| Current USB device status. | |
| uint8_t | address |
| Assigned USB address. | |
| uint8_t | configuration |
| Current USB device configuration. | |
| uint32_t | pmnext |
| Pointer to the next address in the packet memory. | |
Driver state.
Definition at line 286 of file usb_lld.h.
Referenced by _usb_reset(), usb_lld_start(), usb_lld_stop(), usbDisableEndpointsI(), usbInitEndpointI(), usbObjectInit(), usbStart(), and usbStop().
| const USBConfig* USBDriver::config |
Current configuration data.
Definition at line 290 of file usb_lld.h.
Referenced by _usb_ep0setup(), usb_lld_reset(), usbObjectInit(), and usbStart().
| void* USBDriver::param |
Field available to user, it can be used to associate an application-defined handler to the USB driver.
Definition at line 295 of file usb_lld.h.
Referenced by usbObjectInit().
| uint16_t USBDriver::transmitting |
Bit map of the transmitting IN endpoints.
Definition at line 299 of file usb_lld.h.
Referenced by _usb_reset(), usbDisableEndpointsI(), usbObjectInit(), and usbStartTransmitI().
| uint16_t USBDriver::receiving |
Bit map of the receiving OUT endpoints.
Definition at line 303 of file usb_lld.h.
Referenced by _usb_reset(), usbDisableEndpointsI(), usbObjectInit(), and usbStartReceiveI().
| const USBEndpointConfig* USBDriver::epc[USB_MAX_ENDPOINTS+1] |
Active endpoints configurations.
Definition at line 307 of file usb_lld.h.
Referenced by _usb_ep0in(), _usb_reset(), CH_IRQ_HANDLER(), usb_lld_init_endpoint(), usb_lld_prepare_receive(), usb_lld_prepare_transmit(), usb_lld_reset(), usbDisableEndpointsI(), usbInitEndpointI(), usbPrepareQueuedReceive(), usbPrepareQueuedTransmit(), usbPrepareReceive(), usbPrepareTransmit(), and usbStart().
Endpoint 0 state.
Definition at line 311 of file usb_lld.h.
Referenced by _usb_ep0in(), _usb_ep0out(), _usb_ep0setup(), and _usb_reset().
| uint8_t* USBDriver::ep0next |
Next position in the buffer to be transferred through endpoint 0.
Definition at line 315 of file usb_lld.h.
Referenced by _usb_ep0setup().
| size_t USBDriver::ep0n |
Number of bytes yet to be transferred through endpoint 0.
Definition at line 319 of file usb_lld.h.
Referenced by _usb_ep0in(), and _usb_ep0setup().
Endpoint 0 end transaction callback.
Definition at line 323 of file usb_lld.h.
Referenced by _usb_ep0in(), and _usb_ep0out().
| uint8_t USBDriver::setup[8] |
Setup packet buffer.
Definition at line 327 of file usb_lld.h.
Referenced by _usb_ep0in(), and _usb_ep0setup().
| uint16_t USBDriver::status |
| uint8_t USBDriver::address |
Assigned USB address.
Definition at line 335 of file usb_lld.h.
Referenced by _usb_reset(), and usb_lld_set_address().
| uint8_t USBDriver::configuration |
Current USB device configuration.
Definition at line 339 of file usb_lld.h.
Referenced by _usb_reset().
| uint32_t USBDriver::pmnext |