Struct max32630_svd::usb::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock { pub cn: CN, pub dev_addr: DEV_ADDR, pub dev_cn: DEV_CN, pub dev_intfl: DEV_INTFL, pub dev_inten: DEV_INTEN, pub ep_base: EP_BASE, pub cur_buf: CUR_BUF, pub in_owner: IN_OWNER, pub out_owner: OUT_OWNER, pub in_int: IN_INT, pub out_int: OUT_INT, pub nak_int: NAK_INT, pub dma_err_int: DMA_ERR_INT, pub buf_ovr_int: BUF_OVR_INT, pub setup0: SETUP0, pub setup1: SETUP1, pub ep0: EP0, pub ep1: EP1, pub ep2: EP2, pub ep3: EP3, pub ep4: EP4, pub ep5: EP5, pub ep6: EP6, pub ep7: EP7, // some fields omitted }
Register block
Fields
cn: CN
0x00 - USB Control Register
dev_addr: DEV_ADDR
0x200 - USB Device Address Register
dev_cn: DEV_CN
0x204 - USB Device Control Register
dev_intfl: DEV_INTFL
0x208 - USB Device Interrupt
dev_inten: DEV_INTEN
0x20c - USB Device Interrupt Enable
ep_base: EP_BASE
0x220 - USB Endpoint Descriptor Table Base Address
cur_buf: CUR_BUF
0x224 - USB Current Endpoint Buffer Register
in_owner: IN_OWNER
0x228 - USB IN Endpoint Buffer Owner Register
out_owner: OUT_OWNER
0x22c - USB OUT Endpoint Buffer Owner Register
in_int: IN_INT
0x230 - USB IN Endpoint Buffer Available Interrupt
out_int: OUT_INT
0x234 - USB OUT Endpoint Data Available Interrupt
nak_int: NAK_INT
0x238 - USB IN Endpoint NAK Interrupt
dma_err_int: DMA_ERR_INT
0x23c - USB DMA Error Interrupt
buf_ovr_int: BUF_OVR_INT
0x240 - USB Buffer Overflow Interrupt
setup0: SETUP0
0x260 - USB SETUP Packet Bytes 0 to 3
setup1: SETUP1
0x264 - USB SETUP Packet Bytes 4 to 7
ep0: EP0
0x280 - USB Endpoint 0 Control Register
ep1: EP1
0x284 - USB Endpoint 1 Control Register
ep2: EP2
0x288 - USB Endpoint 2 Control Register
ep3: EP3
0x28c - USB Endpoint 3 Control Register
ep4: EP4
0x290 - USB Endpoint 4 Control Register
ep5: EP5
0x294 - USB Endpoint 5 Control Register
ep6: EP6
0x298 - USB Endpoint 6 Control Register
ep7: EP7
0x29c - USB Endpoint 7 Control Register
Auto Trait Implementations
impl Send for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl !Sync for RegisterBlock