|
caffeine-hal 0.6.6
A Header-Defined Interface c library, it provides the hal layer for the Caffeine framework
|
USB hardware physical mapping. More...
#include <cfn_hal_usb.h>
Data Fields | |
| void * | instance |
| cfn_hal_gpio_pin_handle_t * | dp |
| cfn_hal_gpio_pin_handle_t * | dm |
| cfn_hal_gpio_pin_handle_t * | id |
| cfn_hal_gpio_pin_handle_t * | vbus |
| void * | user_arg |
USB hardware physical mapping.
| cfn_hal_gpio_pin_handle_t* cfn_hal_usb_phy_t::dm |
Data- pin mapping
| cfn_hal_gpio_pin_handle_t* cfn_hal_usb_phy_t::dp |
Data+ pin mapping
| cfn_hal_gpio_pin_handle_t* cfn_hal_usb_phy_t::id |
ID pin mapping (OTG)
| void* cfn_hal_usb_phy_t::instance |
Peripheral base instance (e.g. USB_OTG_FS)
| void* cfn_hal_usb_phy_t::user_arg |
Peripheral instance user argument
| cfn_hal_gpio_pin_handle_t* cfn_hal_usb_phy_t::vbus |
VBUS sensing pin mapping