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

0x00 - USB Control Register

0x200 - USB Device Address Register

0x204 - USB Device Control Register

0x208 - USB Device Interrupt

0x20c - USB Device Interrupt Enable

0x220 - USB Endpoint Descriptor Table Base Address

0x224 - USB Current Endpoint Buffer Register

0x228 - USB IN Endpoint Buffer Owner Register

0x22c - USB OUT Endpoint Buffer Owner Register

0x230 - USB IN Endpoint Buffer Available Interrupt

0x234 - USB OUT Endpoint Data Available Interrupt

0x238 - USB IN Endpoint NAK Interrupt

0x23c - USB DMA Error Interrupt

0x240 - USB Buffer Overflow Interrupt

0x260 - USB SETUP Packet Bytes 0 to 3

0x264 - USB SETUP Packet Bytes 4 to 7

0x280 - USB Endpoint 0 Control Register

0x284 - USB Endpoint 1 Control Register

0x288 - USB Endpoint 2 Control Register

0x28c - USB Endpoint 3 Control Register

0x290 - USB Endpoint 4 Control Register

0x294 - USB Endpoint 5 Control Register

0x298 - USB Endpoint 6 Control Register

0x29c - USB Endpoint 7 Control Register

Auto Trait Implementations