Struct esp32s3::usb_device::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 20 fields
pub ep1: EP1,
pub ep1_conf: EP1_CONF,
pub int_raw: INT_RAW,
pub int_st: INT_ST,
pub int_ena: INT_ENA,
pub int_clr: INT_CLR,
pub conf0: CONF0,
pub test: TEST,
pub jfifo_st: JFIFO_ST,
pub fram_num: FRAM_NUM,
pub in_ep0_st: IN_EP0_ST,
pub in_ep1_st: IN_EP1_ST,
pub in_ep2_st: IN_EP2_ST,
pub in_ep3_st: IN_EP3_ST,
pub out_ep0_st: OUT_EP0_ST,
pub out_ep1_st: OUT_EP1_ST,
pub out_ep2_st: OUT_EP2_ST,
pub misc_conf: MISC_CONF,
pub mem_conf: MEM_CONF,
pub date: DATE,
/* private fields */
}
Expand description
Register block
Fields§
§ep1: EP1
0x00 - Endpoint 1 FIFO register
ep1_conf: EP1_CONF
0x04 - Endpoint 1 configure and status register
int_raw: INT_RAW
0x08 - Raw status interrupt
int_st: INT_ST
0x0c - Masked interrupt
int_ena: INT_ENA
0x10 - Interrupt enable bits
int_clr: INT_CLR
0x14 - Interrupt clear bits
conf0: CONF0
0x18 - Configure 0 register
test: TEST
0x1c - USB Internal PHY test register
jfifo_st: JFIFO_ST
0x20 - USB-JTAG FIFO status
fram_num: FRAM_NUM
0x24 - SOF frame number
in_ep0_st: IN_EP0_ST
0x28 - IN Endpoint 0 status
in_ep1_st: IN_EP1_ST
0x2c - IN Endpoint 1 status
in_ep2_st: IN_EP2_ST
0x30 - IN Endpoint 2 status
in_ep3_st: IN_EP3_ST
0x34 - IN Endpoint 3 status
out_ep0_st: OUT_EP0_ST
0x38 - OUT Endpoint 0 status
out_ep1_st: OUT_EP1_ST
0x3c - OUT Endpoint 1 status
out_ep2_st: OUT_EP2_ST
0x40 - OUT Endpoint 2 status
misc_conf: MISC_CONF
0x44 - MISC register
mem_conf: MEM_CONF
0x48 - Power control
date: DATE
0x80 - Version control register