|
PER Firmware
|
CANnector's USB identity, describe the device to the host. More...
Go to the source code of this file.
Variables | |
| static const char | USB_PRODUCT_NAME [] = "CANnector27_" FIRMWARE_GIT_HASH_STRING |
| static constexpr uint8_t | USB_PRODUCT_STRING_INDEX = 1U |
| static constexpr uint16_t | USB_LANGUAGE_ID = 0x0409U |
| static const uint8_t | LANGUAGE_DESCRIPTOR [] |
| static constexpr uint8_t | BULK_IN_ADDRESS = PHAL_USB_ENDPOINT_ADDRESS_IN | PHAL_USB_DATA_ENDPOINT |
| static constexpr uint8_t | BULK_OUT_ADDRESS = PHAL_USB_DATA_ENDPOINT |
| static const uint8_t | DEVICE_DESCRIPTOR [] |
| static const uint8_t | CONFIGURATION_DESCRIPTOR [] |
CANnector's USB identity, describe the device to the host.
Descriptors are byte arrays in the USB wire format. Multibyte values are little endian.
|
staticconstexpr |
|
staticconstexpr |
|
static |
Configuration 1 is the CAN-to-USB bridge. Configuration 0 disables it. One interface (0), with one alternate setting (0), advertises bulk IN (0x81) and bulk OUT (0x01).
|
static |
Device identity:
|
static |
|
staticconstexpr |
|
static |
|
staticconstexpr |