mirror of
https://github.com/STMicroelectronics/stm32-mw-usb-device.git
synced 2026-02-08 20:18:07 -05:00
Release v2.11.4
This commit is contained in:
@@ -60,10 +60,12 @@ extern "C" {
|
||||
#define CCID_CMD_FS_BINTERVAL 0x10U
|
||||
#endif /* CCID_CMD_FS_BINTERVAL */
|
||||
|
||||
#ifndef CCID_CMD_PACKET_SIZE
|
||||
#define CCID_CMD_PACKET_SIZE 8U /* Control Endpoint Packet size */
|
||||
#endif /* CCID_CMD_PACKET_SIZE */
|
||||
|
||||
#define CCID_DATA_HS_MAX_PACKET_SIZE 512U /* Endpoint IN & OUT Packet size */
|
||||
#define CCID_DATA_FS_MAX_PACKET_SIZE 64U /* Endpoint IN & OUT Packet size */
|
||||
#define CCID_CMD_PACKET_SIZE 8U /* Control Endpoint Packet size */
|
||||
|
||||
#define USB_CCID_CONFIG_DESC_SIZ 93U
|
||||
#define CCID_DATA_HS_IN_PACKET_SIZE CCID_DATA_HS_MAX_PACKET_SIZE
|
||||
|
||||
@@ -42,10 +42,10 @@ static void CCID_UpdateCommandStatus(USBD_HandleTypeDef *pdev, uint8_t cmd_stat
|
||||
uint8_t PC_to_RDR_IccPowerOn(USBD_HandleTypeDef *pdev)
|
||||
{
|
||||
/* Apply the ICC VCC
|
||||
Fills the Response buffer with ICC ATR
|
||||
This Command is returned with RDR_to_PC_DataBlock();
|
||||
*/
|
||||
USBD_CCID_HandleTypeDef *hccid = (USBD_CCID_HandleTypeDef *)pdev->pClassDataCmsit[pdev->classId];
|
||||
* Fills the Response buffer with ICC ATR
|
||||
* This Command is returned with RDR_to_PC_DataBlock();
|
||||
*/
|
||||
USBD_CCID_HandleTypeDef *hccid = (USBD_CCID_HandleTypeDef *)pdev->pClassDataCmsit[pdev->classId];
|
||||
uint8_t voltage;
|
||||
uint8_t sc_voltage = 0U;
|
||||
uint8_t index;
|
||||
|
||||
Reference in New Issue
Block a user