HAL
USB_HCTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...

USB_HCTypeDef struct

Syntax

typedef struct {   uint8_t   dev_addr;              uint8_t   ch_num;                uint8_t   ep_num;                uint8_t   ep_is_in;              uint8_t   speed;                 uint8_t   do_ping;               uint8_t   do_ssplit;             uint8_t   do_csplit;             uint8_t   ep_ss_schedule;        uint32_t  iso_splt_xactPos;      uint8_t   hub_port_nbr;          uint8_t   hub_addr;              uint8_t   ep_type;               uint16_t  max_packet;            uint8_t   data_pid;              uint8_t   *xfer_buff;            uint32_t  XferSize;              uint32_t  xfer_len;              uint32_t  xfer_count;            uint8_t   toggle_in;             uint8_t   toggle_out;            uint32_t  dma_addr;              uint32_t  ErrCnt;                uint32_t  NyetErrCnt;            USB_URBStateTypeDef urb_state;     USB_HCStateTypeDef state;        } USB_HCTypeDef;

Fields

dev_addr

USB device address. This parameter must be a number between Min_Data = 1 and Max_Data = 255. Read more...

ch_num

Host channel number. This parameter must be a number between Min_Data = 1 and Max_Data = 15. Read more...

ep_num

Endpoint number. This parameter must be a number between Min_Data = 1 and Max_Data = 15. Read more...

ep_is_in

Endpoint direction This parameter must be a number between Min_Data = 0 and Max_Data = 1. Read more...

speed

USB Host Channel speed. This parameter can be any value of HCD_Device_Speed: (HCD_DEVICE_SPEED_xxx). Read more...

do_ping

Enable or disable the use of the PING protocol for HS mode. Read more...

do_ssplit

Enable start split transaction in HS mode. Read more...

do_csplit

Enable complete split transaction in HS mode. Read more...

ep_ss_schedule

Enable periodic endpoint start split schedule . Read more...

iso_splt_xactPos

iso split transfer transaction position. Read more...

hub_port_nbr

USB HUB port number. Read more...

hub_addr

USB HUB address. Read more...

ep_type

Endpoint Type. This parameter can be any value of USB_LL_EP_Type. Read more...

max_packet

Endpoint Max packet size. This parameter must be a number between Min_Data = 0 and Max_Data = 64KB. Read more...

data_pid

Initial data PID. This parameter must be a number between Min_Data = 0 and Max_Data = 1. Read more...

xfer_buff

Pointer to transfer buffer. Read more...

XferSize

OTG Channel transfer size. Read more...

xfer_len

Current transfer length. Read more...

xfer_count

Partial transfer length in case of multi packet transfer. Read more...

toggle_in

IN transfer current toggle flag. This parameter must be a number between Min_Data = 0 and Max_Data = 1. Read more...

toggle_out

OUT transfer current toggle flag This parameter must be a number between Min_Data = 0 and Max_Data = 1. Read more...

dma_addr

32 bits aligned transfer buffer address. Read more...

ErrCnt

Host channel error count. Read more...

NyetErrCnt

Complete Split NYET Host channel error count. Read more...

urb_state

URB state. This parameter can be any value of USB_URBStateTypeDef . Read more...

state

Host Channel state. This parameter can be any value of USB_HCStateTypeDef . Read more...