MT2523 API Reference  LinkIt SDK v4
Define
HAL » USB

Overview

Macros

#define HAL_USB_MAX_NUMBER_ENDPOINT   4
 The maximum number of USB endpoints. More...
 
#define HAL_USB_MAX_NUMBER_ENDPOINT_TX   4
 The maximum number of USB TX endpoints. More...
 
#define HAL_USB_MAX_NUMBER_ENDPOINT_RX   2
 The maximum number of USB RX endpoints. More...
 
#define HAL_USB_MAX_NUMBER_DMA   4
 The maximum number of USB DMA channels. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_0   64
 The maximum packet size used in the control pipe, the same for both high-speed and full-speed. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_BULK_HIGH_SPEED   512
 The maximum packet size for high-speed bulk endpoints. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_BULK_FULL_SPEED   64
 The maximum packet size for full-speed bulk endpoints. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_ISOCHRONOUS_HIGH_SPEED   1024
 The maximum packet size for high-speed isochronous endpoints. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_ISOCHRONOUS_FULL_SPEED   512
 The maximum packet size for full-speed isochronous endpoints. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_INTERRUPT_HIGH_SPEED   64
 The maximum packet size for high-speed interrupt endpoints. More...
 
#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_INTERRUPT_FULL_SPEED   64
 The maximum packet size for full-speed interrupt endpoints. More...
 

Macro Definition Documentation

#define HAL_USB_MAX_NUMBER_DMA   4

The maximum number of USB DMA channels.

#define HAL_USB_MAX_NUMBER_ENDPOINT   4

The maximum number of USB endpoints.

#define HAL_USB_MAX_NUMBER_ENDPOINT_RX   2

The maximum number of USB RX endpoints.

#define HAL_USB_MAX_NUMBER_ENDPOINT_TX   4

The maximum number of USB TX endpoints.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_0   64

The maximum packet size used in the control pipe, the same for both high-speed and full-speed.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_BULK_FULL_SPEED   64

The maximum packet size for full-speed bulk endpoints.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_BULK_HIGH_SPEED   512

The maximum packet size for high-speed bulk endpoints.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_INTERRUPT_FULL_SPEED   64

The maximum packet size for full-speed interrupt endpoints.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_INTERRUPT_HIGH_SPEED   64

The maximum packet size for high-speed interrupt endpoints.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_ISOCHRONOUS_FULL_SPEED   512

The maximum packet size for full-speed isochronous endpoints.

#define HAL_USB_MAX_PACKET_SIZE_ENDPOINT_ISOCHRONOUS_HIGH_SPEED   1024

The maximum packet size for high-speed isochronous endpoints.