|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
#include <stdint.h>#include "tusb.h"Go to the source code of this file.
Macros | |
| #define | USB_VID_GEMALTO 0x08E6 |
| #define | USB_PID_GEMALTO 0x4433 |
| #define | USB_VID_ESPRESSIF 0x303A |
| #define | USB_PID_BADGE 0xBADE |
| #define | USB_VID_ONLYKEY 0x1D50 |
| #define | USB_PID_ONLYKEY 0x60FC |
| #define | USB_BCD 0x0200 |
| #define | EP_CDC_NOTIF 0x81 |
| #define | EP_CDC_OUT 0x02 |
| #define | EP_CDC_IN 0x82 |
| #define | EP_CDC_NOTIF_SIZE 8 |
| #define | EP_CDC_SIZE 64 |
| #define | EP_FIDO_SIZE 64 |
| #define | EP_KEYBOARD_SIZE 8 |
| #define | EP_CCID_SIZE 64 |
| #define | REPORT_ID_KEYBOARD 1 |
| #define | TUD_CCID_DESC_LEN 54 |
| #define | TUD_CCID_TOTAL_LEN (9 + TUD_CCID_DESC_LEN + 7 + 7) |
| #define | TUD_CCID_DESCRIPTOR(_itfnum, _stridx, _epout, _epin, _epsize) |
Enumerations | |
| enum | { STR_LANGID = 0 , STR_MANUFACTURER , STR_PRODUCT , STR_SERIAL , STR_CDC , STR_DYNAMIC_BASE } |
| #define EP_CCID_SIZE 64 |
Definition at line 46 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define EP_CDC_IN 0x82 |
Definition at line 39 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define EP_CDC_NOTIF 0x81 |
Definition at line 37 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define EP_CDC_NOTIF_SIZE 8 |
Definition at line 42 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define EP_CDC_OUT 0x02 |
Definition at line 38 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define EP_CDC_SIZE 64 |
Definition at line 43 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define EP_FIDO_SIZE 64 |
Definition at line 44 of file usb_descriptors.h.
| #define EP_KEYBOARD_SIZE 8 |
Definition at line 45 of file usb_descriptors.h.
| #define REPORT_ID_KEYBOARD 1 |
Definition at line 49 of file usb_descriptors.h.
| #define TUD_CCID_DESC_LEN 54 |
Definition at line 53 of file usb_descriptors.h.
| #define TUD_CCID_DESCRIPTOR | ( | _itfnum, | |
| _stridx, | |||
| _epout, | |||
| _epin, | |||
| _epsize ) |
Definition at line 56 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define TUD_CCID_TOTAL_LEN (9 + TUD_CCID_DESC_LEN + 7 + 7) |
Definition at line 54 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define USB_BCD 0x0200 |
Definition at line 23 of file usb_descriptors.h.
| #define USB_PID_BADGE 0xBADE |
Definition at line 17 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define USB_PID_GEMALTO 0x4433 |
Definition at line 15 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define USB_PID_ONLYKEY 0x60FC |
Definition at line 22 of file usb_descriptors.h.
| #define USB_VID_ESPRESSIF 0x303A |
Definition at line 16 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define USB_VID_GEMALTO 0x08E6 |
Definition at line 14 of file usb_descriptors.h.
Referenced by build_config_descriptor().
| #define USB_VID_ONLYKEY 0x1D50 |
Definition at line 21 of file usb_descriptors.h.
| anonymous enum |
| Enumerator | |
|---|---|
| STR_LANGID | |
| STR_MANUFACTURER | |
| STR_PRODUCT | |
| STR_SERIAL | |
| STR_CDC | |
| STR_DYNAMIC_BASE | |
Definition at line 26 of file usb_descriptors.h.