|
ChibiOS/HAL
7.1.5
|
PLATFORM USB subsystem low level driver source. More...
#include "hal.h"Go to the source code of this file.
Functions | |
| void | usb_lld_init (void) |
| Low level USB driver initialization. More... | |
| void | usb_lld_start (USBDriver *usbp) |
| Configures and activates the USB peripheral. More... | |
| void | usb_lld_stop (USBDriver *usbp) |
| Deactivates the USB peripheral. More... | |
| void | usb_lld_reset (USBDriver *usbp) |
| USB low level reset routine. More... | |
| void | usb_lld_set_address (USBDriver *usbp) |
| Sets the USB address. More... | |
| void | usb_lld_init_endpoint (USBDriver *usbp, usbep_t ep) |
| Enables an endpoint. More... | |
| void | usb_lld_disable_endpoints (USBDriver *usbp) |
| Disables all the active endpoints except the endpoint zero. More... | |
| usbepstatus_t | usb_lld_get_status_out (USBDriver *usbp, usbep_t ep) |
| Returns the status of an OUT endpoint. More... | |
| usbepstatus_t | usb_lld_get_status_in (USBDriver *usbp, usbep_t ep) |
| Returns the status of an IN endpoint. More... | |
| void | usb_lld_read_setup (USBDriver *usbp, usbep_t ep, uint8_t *buf) |
| Reads a setup packet from the dedicated packet buffer. More... | |
| void | usb_lld_prepare_receive (USBDriver *usbp, usbep_t ep) |
| Prepares for a receive operation. More... | |
| void | usb_lld_prepare_transmit (USBDriver *usbp, usbep_t ep) |
| Prepares for a transmit operation. More... | |
| void | usb_lld_start_out (USBDriver *usbp, usbep_t ep) |
| Starts a receive operation on an OUT endpoint. More... | |
| void | usb_lld_start_in (USBDriver *usbp, usbep_t ep) |
| Starts a transmit operation on an IN endpoint. More... | |
| void | usb_lld_stall_out (USBDriver *usbp, usbep_t ep) |
| Brings an OUT endpoint in the stalled state. More... | |
| void | usb_lld_stall_in (USBDriver *usbp, usbep_t ep) |
| Brings an IN endpoint in the stalled state. More... | |
| void | usb_lld_clear_out (USBDriver *usbp, usbep_t ep) |
| Brings an OUT endpoint in the active state. More... | |
| void | usb_lld_clear_in (USBDriver *usbp, usbep_t ep) |
| Brings an IN endpoint in the active state. More... | |
Variables | |
| USBDriver | USBD1 |
| USB1 driver identifier. More... | |
| union { | |
| USBInEndpointState in | |
| IN EP0 state. More... | |
| USBOutEndpointState out | |
| OUT EP0 state. More... | |
| } | ep0_state |
| EP0 state. More... | |
| static const USBEndpointConfig | ep0config |
| EP0 initialization structure. More... | |
PLATFORM USB subsystem low level driver source.
Definition in file hal_usb_lld.c.
IN EP0 state.
Definition at line 57 of file hal_usb_lld.c.
Referenced by cry_lld_decrypt_AES(), cry_lld_decrypt_AES_CBC(), cry_lld_decrypt_AES_CFB(), cry_lld_decrypt_AES_CTR(), cry_lld_decrypt_AES_ECB(), cry_lld_decrypt_DES(), cry_lld_decrypt_DES_CBC(), cry_lld_decrypt_DES_ECB(), cry_lld_encrypt_AES(), cry_lld_encrypt_AES_CBC(), cry_lld_encrypt_AES_CFB(), cry_lld_encrypt_AES_CTR(), cry_lld_encrypt_AES_ECB(), cry_lld_encrypt_DES(), cry_lld_encrypt_DES_CBC(), cry_lld_encrypt_DES_ECB(), cry_lld_HMACSHA256_update(), cry_lld_HMACSHA512_update(), cry_lld_SHA1_update(), cry_lld_SHA256_update(), cry_lld_SHA512_update(), cryDecryptAES(), cryDecryptAES_CBC(), cryDecryptAES_CFB(), cryDecryptAES_CTR(), cryDecryptAES_ECB(), cryDecryptDES(), cryDecryptDES_CBC(), cryDecryptDES_ECB(), cryEncryptAES(), cryEncryptAES_CBC(), cryEncryptAES_CFB(), cryEncryptAES_CTR(), cryEncryptAES_ECB(), cryEncryptDES(), cryEncryptDES_CBC(), cryEncryptDES_ECB(), cryHMACSHA256Update(), cryHMACSHA512Update(), crySHA1Update(), crySHA256Update(), and crySHA512Update().
OUT EP0 state.
Definition at line 61 of file hal_usb_lld.c.
Referenced by cry_lld_decrypt_AES(), cry_lld_decrypt_AES_CBC(), cry_lld_decrypt_AES_CFB(), cry_lld_decrypt_AES_CTR(), cry_lld_decrypt_AES_ECB(), cry_lld_decrypt_DES(), cry_lld_decrypt_DES_CBC(), cry_lld_decrypt_DES_ECB(), cry_lld_encrypt_AES(), cry_lld_encrypt_AES_CBC(), cry_lld_encrypt_AES_CFB(), cry_lld_encrypt_AES_CTR(), cry_lld_encrypt_AES_ECB(), cry_lld_encrypt_DES(), cry_lld_encrypt_DES_CBC(), cry_lld_encrypt_DES_ECB(), cry_lld_HMACSHA256_final(), cry_lld_HMACSHA512_final(), cry_lld_SHA1_final(), cry_lld_SHA256_final(), cry_lld_SHA512_final(), cryDecryptAES(), cryDecryptAES_CBC(), cryDecryptAES_CFB(), cryDecryptAES_CTR(), cryDecryptAES_ECB(), cryDecryptDES(), cryDecryptDES_CBC(), cryDecryptDES_ECB(), cryEncryptAES(), cryEncryptAES_CBC(), cryEncryptAES_CFB(), cryEncryptAES_CTR(), cryEncryptAES_ECB(), cryEncryptDES(), cryEncryptDES_CBC(), cryEncryptDES_ECB(), cryHMACSHA256Final(), cryHMACSHA512Final(), crySHA1Final(), crySHA256Final(), crySHA512Final(), trng_lld_generate(), and trngGenerate().