#[repr(C)]
pub struct RegisterBlock {
Show 109 fields pub usb_ctrl: USB_CTRL, pub uhost_ctrl: UHOST_CTRL, pub usb_int_en: USB_INT_EN, pub usb_dev_ad: USB_DEV_AD, pub usb_frame_no: USB_FRAME_NO, pub usb_usb_suspend: USB_USB_SUSPEND, pub usb_speed_type: USB_SPEED_TYPE, pub usb_mis_st: USB_MIS_ST, pub usb_int_fg: USB_INT_FG, pub usb_int_st: USB_INT_ST, pub usb_rx_len: USB_RX_LEN, pub uep_config: UEP_CONFIG, pub uep_type: UEP_TYPE, pub uep_buf_mod: UEP_BUF_MOD, pub uep0_dma: UEP0_DMA, pub uep1_rx_dma: UEP1_RX_DMA, pub uep2_rx_dma__uh_rx_dma: UEP2_RX_DMA__UH_RX_DMA, pub uep3_rx_dma: UEP3_RX_DMA, pub uep4_rx_dma: UEP4_RX_DMA, pub uep5_rx_dma: UEP5_RX_DMA, pub uep6_rx_dma: UEP6_RX_DMA, pub uep7_rx_dma: UEP7_RX_DMA, pub uep8_rx_dma: UEP8_RX_DMA, pub uep9_rx_dma: UEP9_RX_DMA, pub uep10_rx_dma: UEP10_RX_DMA, pub uep11_rx_dma: UEP11_RX_DMA, pub uep12_rx_dma: UEP12_RX_DMA, pub uep13_rx_dma: UEP13_RX_DMA, pub uep14_rx_dma: UEP14_RX_DMA, pub uep15_rx_dma: UEP15_RX_DMA, pub uep1_tx_dma: UEP1_TX_DMA, pub uep2_tx_dma: UEP2_TX_DMA, pub uep3_tx_dma__uh_tx_dma: UEP3_TX_DMA__UH_TX_DMA, pub uep4_tx_dma: UEP4_TX_DMA, pub uep5_tx_dma: UEP5_TX_DMA, pub uep6_tx_dma: UEP6_TX_DMA, pub uep7_tx_dma: UEP7_TX_DMA, pub uep8_tx_dma: UEP8_TX_DMA, pub uep9_tx_dma: UEP9_TX_DMA, pub uep10_tx_dma: UEP10_TX_DMA, pub uep11_tx_dma: UEP11_TX_DMA, pub uep12_tx_dma____uh_split_data: UEP12_TX_DMA____UH_SPLIT_DATA, pub uep13_tx_dma: UEP13_TX_DMA, pub uep14_tx_dma: UEP14_TX_DMA, pub uep15_tx_dma: UEP15_TX_DMA, pub uep0_max_len: UEP0_MAX_LEN, pub uep1_max_len: UEP1_MAX_LEN, pub uep2_max_len__uh_rx_max_len: UEP2_MAX_LEN__UH_RX_MAX_LEN, pub uep3_max_len: UEP3_MAX_LEN, pub uep4_max_len: UEP4_MAX_LEN, pub uep5_max_len: UEP5_MAX_LEN, pub uep6_max_len: UEP6_MAX_LEN, pub uep7_max_len: UEP7_MAX_LEN, pub uep8_max_len: UEP8_MAX_LEN, pub uep9_max_len: UEP9_MAX_LEN, pub uep10_max_len: UEP10_MAX_LEN, pub uep11_max_len: UEP11_MAX_LEN, pub uep12_max_len: UEP12_MAX_LEN, pub uep13_max_len: UEP13_MAX_LEN, pub uep14_max_len: UEP14_MAX_LEN, pub uep15_max_len: UEP15_MAX_LEN, pub uep0_t_len: UEP0_T_LEN, pub uep0_t_ctrl: UEP0_T_CTRL, pub uep0_r_ctrl: UEP0_R_CTRL, pub uep1_t_len: UEP1_T_LEN, pub uep1_t_ctrl: UEP1_T_CTRL, pub uep1_r_ctrl: UEP1_R_CTRL, pub uep2_t_len__uh_ep_pid: UEP2_T_LEN__UH_EP_PID, pub uep2_t_ctrl: UEP2_T_CTRL, pub uep2_r_ctrl__uh_rx_ctrl: UEP2_R_CTRL__UH_RX_CTRL, pub uep3_t_len___uh_tx_len_h: UEP3_T_LEN___UH_TX_LEN_H, pub uep3_t_ctrl___uh_tx_ctrl: UEP3_T_CTRL___UH_TX_CTRL, pub uep3_r_ctrl: UEP3_R_CTRL, pub uep4_t_len: UEP4_T_LEN, pub uep4_t_ctrl: UEP4_T_CTRL, pub uep4_r_ctrl: UEP4_R_CTRL, pub uep5_t_len: UEP5_T_LEN, pub uep5_t_ctrl: UEP5_T_CTRL, pub uep5_r_ctrl: UEP5_R_CTRL, pub uep6_t_len: UEP6_T_LEN, pub uep6_t_ctrl: UEP6_T_CTRL, pub uep6_r_ctrl: UEP6_R_CTRL, pub uep7_t_len: UEP7_T_LEN, pub uep7_t_ctrl: UEP7_T_CTRL, pub uep7_r_ctrl: UEP7_R_CTRL, pub uep8_t_len: UEP8_T_LEN, pub uep8_t_ctrl: UEP8_T_CTRL, pub uep8_r_ctrl: UEP8_R_CTRL, pub uep9_t_len: UEP9_T_LEN, pub uep9_t_ctrl: UEP9_T_CTRL, pub uep9_r_ctrl: UEP9_R_CTRL, pub uep10_t_len: UEP10_T_LEN, pub uep10_t_ctrl: UEP10_T_CTRL, pub uep10_r_ctrl: UEP10_R_CTRL, pub uep11_t_len: UEP11_T_LEN, pub uep11_t_ctrl: UEP11_T_CTRL, pub uep11_r_ctrl: UEP11_R_CTRL, pub uep12_t_len: UEP12_T_LEN, pub uep12_t_ctrl: UEP12_T_CTRL, pub uep12_r_ctrl: UEP12_R_CTRL, pub uep13_t_len: UEP13_T_LEN, pub uep13_t_ctrl: UEP13_T_CTRL, pub uep13_r_ctrl: UEP13_R_CTRL, pub uep14_t_len: UEP14_T_LEN, pub uep14_t_ctrl: UEP14_T_CTRL, pub uep14_r_ctrl: UEP14_R_CTRL, pub uep15_t_len: UEP15_T_LEN, pub uep15_t_ctrl: UEP15_T_CTRL, pub uep15_r_ctrl: UEP15_R_CTRL, /* private fields */
}
Expand description

Register block

Fields§

§usb_ctrl: USB_CTRL

0x00 - USB base control

§uhost_ctrl: UHOST_CTRL

0x01 - USB HOST control

§usb_int_en: USB_INT_EN

0x02 - USB interrupt enable

§usb_dev_ad: USB_DEV_AD

0x03 - USB device address

§usb_frame_no: USB_FRAME_NO

0x04 - USB_FRAME_NO

§usb_usb_suspend: USB_USB_SUSPEND

0x06 - indicate USB suspend status

§usb_speed_type: USB_SPEED_TYPE

0x08 - USB_SPEED_TYPE

§usb_mis_st: USB_MIS_ST

0x09 - USB miscellaneous status

§usb_int_fg: USB_INT_FG

0x0a - USB interrupt flag

§usb_int_st: USB_INT_ST

0x0b - USB interrupt status

§usb_rx_len: USB_RX_LEN

0x0c - USB receiving length

§uep_config: UEP_CONFIG

0x10 - USB endpoint configuration

§uep_type: UEP_TYPE

0x14 - USB endpoint type

§uep_buf_mod: UEP_BUF_MOD

0x18 - USB endpoint buffer mode

§uep0_dma: UEP0_DMA

0x1c - B endpoint 0 DMA buffer address

§uep1_rx_dma: UEP1_RX_DMA

0x20 - endpoint 1 DMA RX buffer address

§uep2_rx_dma__uh_rx_dma: UEP2_RX_DMA__UH_RX_DMA

0x24 - endpoint 2 DMA RX buffer address/UH_RX_DMA

§uep3_rx_dma: UEP3_RX_DMA

0x28 - endpoint 3 DMA RX buffer address

§uep4_rx_dma: UEP4_RX_DMA

0x2c - endpoint 4 DMA RX buffer address

§uep5_rx_dma: UEP5_RX_DMA

0x30 - endpoint 5 DMA RX buffer address

§uep6_rx_dma: UEP6_RX_DMA

0x34 - endpoint 6 DMA RX buffer address

§uep7_rx_dma: UEP7_RX_DMA

0x38 - endpoint 7 DMA RX buffer address

§uep8_rx_dma: UEP8_RX_DMA

0x3c - endpoint 8 DMA RX buffer address

§uep9_rx_dma: UEP9_RX_DMA

0x40 - endpoint 9 DMA RX buffer address

§uep10_rx_dma: UEP10_RX_DMA

0x44 - endpoint 10 DMA RX buffer address

§uep11_rx_dma: UEP11_RX_DMA

0x48 - endpoint 11 DMA RX buffer address

§uep12_rx_dma: UEP12_RX_DMA

0x4c - endpoint 12 DMA RX buffer address

§uep13_rx_dma: UEP13_RX_DMA

0x50 - endpoint 13 DMA RX buffer address

§uep14_rx_dma: UEP14_RX_DMA

0x54 - endpoint 14 DMA RX buffer address

§uep15_rx_dma: UEP15_RX_DMA

0x58 - endpoint 15 DMA RX buffer address

§uep1_tx_dma: UEP1_TX_DMA

0x5c - endpoint 1 DMA TX buffer address

§uep2_tx_dma: UEP2_TX_DMA

0x60 - endpoint 2 DMA TX buffer address

§uep3_tx_dma__uh_tx_dma: UEP3_TX_DMA__UH_TX_DMA

0x64 - endpoint 3 DMA TX buffer address

§uep4_tx_dma: UEP4_TX_DMA

0x68 - endpoint 4 DMA TX buffer address

§uep5_tx_dma: UEP5_TX_DMA

0x6c - endpoint 5 DMA TX buffer address

§uep6_tx_dma: UEP6_TX_DMA

0x70 - endpoint 6 DMA TX buffer address

§uep7_tx_dma: UEP7_TX_DMA

0x74 - endpoint 7 DMA TX buffer address

§uep8_tx_dma: UEP8_TX_DMA

0x78 - endpoint 8 DMA TX buffer address

§uep9_tx_dma: UEP9_TX_DMA

0x7c - endpoint 9 DMA TX buffer address

§uep10_tx_dma: UEP10_TX_DMA

0x80 - endpoint 10 DMA TX buffer address

§uep11_tx_dma: UEP11_TX_DMA

0x84 - endpoint 11 DMA TX buffer address

§uep12_tx_dma____uh_split_data: UEP12_TX_DMA____UH_SPLIT_DATA

0x88 - endpoint 12 DMA TX buffer address

§uep13_tx_dma: UEP13_TX_DMA

0x8c - endpoint 13 DMA TX buffer address

§uep14_tx_dma: UEP14_TX_DMA

0x90 - endpoint 14 DMA TX buffer address

§uep15_tx_dma: UEP15_TX_DMA

0x94 - endpoint 15 DMA TX buffer address

§uep0_max_len: UEP0_MAX_LEN

0x98 - endpoint 0 max acceptable length

§uep1_max_len: UEP1_MAX_LEN

0x9c - endpoint 1 max acceptable length

§uep2_max_len__uh_rx_max_len: UEP2_MAX_LEN__UH_RX_MAX_LEN

0xa0 - endpoint 2 max acceptable length

§uep3_max_len: UEP3_MAX_LEN

0xa4 - endpoint 3 MAX_LEN TX

§uep4_max_len: UEP4_MAX_LEN

0xa8 - endpoint 4 max acceptable length

§uep5_max_len: UEP5_MAX_LEN

0xac - endpoint 5 max acceptable length

§uep6_max_len: UEP6_MAX_LEN

0xb0 - endpoint 6 max acceptable length

§uep7_max_len: UEP7_MAX_LEN

0xb4 - endpoint 7 max acceptable length

§uep8_max_len: UEP8_MAX_LEN

0xb8 - endpoint 8 max acceptable length

§uep9_max_len: UEP9_MAX_LEN

0xbc - endpoint 9 max acceptable length

§uep10_max_len: UEP10_MAX_LEN

0xc0 - endpoint 10 max acceptable length

§uep11_max_len: UEP11_MAX_LEN

0xc4 - endpoint 11 max acceptable length

§uep12_max_len: UEP12_MAX_LEN

0xc8 - endpoint 12 max acceptable length

§uep13_max_len: UEP13_MAX_LEN

0xcc - endpoint 13 max acceptable length

§uep14_max_len: UEP14_MAX_LEN

0xd0 - endpoint 14 max acceptable length

§uep15_max_len: UEP15_MAX_LEN

0xd4 - endpoint 15 max acceptable length

§uep0_t_len: UEP0_T_LEN

0xd8 - endpoint 0 send the length

§uep0_t_ctrl: UEP0_T_CTRL

0xda - endpoint 0 send control

§uep0_r_ctrl: UEP0_R_CTRL

0xdb - endpoint 0 send control

§uep1_t_len: UEP1_T_LEN

0xdc - endpoint 1 send the length

§uep1_t_ctrl: UEP1_T_CTRL

0xde - endpoint 1 send control

§uep1_r_ctrl: UEP1_R_CTRL

0xdf - endpoint 1 send control

§uep2_t_len__uh_ep_pid: UEP2_T_LEN__UH_EP_PID

0xe0 - endpoint 2 send the length

§uep2_t_ctrl: UEP2_T_CTRL

0xe2 - endpoint 2 send control

§uep2_r_ctrl__uh_rx_ctrl: UEP2_R_CTRL__UH_RX_CTRL

0xe3 - endpoint 2 send control

§uep3_t_len___uh_tx_len_h: UEP3_T_LEN___UH_TX_LEN_H

0xe4 - endpoint 3 send the length

§uep3_t_ctrl___uh_tx_ctrl: UEP3_T_CTRL___UH_TX_CTRL

0xe6 - endpoint 3 send control

§uep3_r_ctrl: UEP3_R_CTRL

0xe7 - endpoint 3 send control

§uep4_t_len: UEP4_T_LEN

0xe8 - endpoint 4 send the length

§uep4_t_ctrl: UEP4_T_CTRL

0xea - endpoint 4 send control

§uep4_r_ctrl: UEP4_R_CTRL

0xeb - endpoint 4 send control

§uep5_t_len: UEP5_T_LEN

0xec - endpoint 5 send the length

§uep5_t_ctrl: UEP5_T_CTRL

0xee - endpoint 5 send control

§uep5_r_ctrl: UEP5_R_CTRL

0xef - endpoint 5 send control

§uep6_t_len: UEP6_T_LEN

0xf0 - endpoint 6 send the length

§uep6_t_ctrl: UEP6_T_CTRL

0xf2 - endpoint 6 send control

§uep6_r_ctrl: UEP6_R_CTRL

0xf3 - endpoint 6 send control

§uep7_t_len: UEP7_T_LEN

0xf4 - endpoint 7 send the length

§uep7_t_ctrl: UEP7_T_CTRL

0xf6 - endpoint 7 send control

§uep7_r_ctrl: UEP7_R_CTRL

0xf7 - endpoint 7 send control

§uep8_t_len: UEP8_T_LEN

0xf8 - endpoint 8 send the length

§uep8_t_ctrl: UEP8_T_CTRL

0xfa - endpoint 8 send control

§uep8_r_ctrl: UEP8_R_CTRL

0xfb - endpoint 8 send control

§uep9_t_len: UEP9_T_LEN

0xfc - endpoint9 send the length

§uep9_t_ctrl: UEP9_T_CTRL

0xfe - endpoint 9 send control

§uep9_r_ctrl: UEP9_R_CTRL

0xff - endpoint 9 send control

§uep10_t_len: UEP10_T_LEN

0x100 - endpoint 10 send the length

§uep10_t_ctrl: UEP10_T_CTRL

0x102 - endpoint 10 send control

§uep10_r_ctrl: UEP10_R_CTRL

0x103 - endpoint 10 send control

§uep11_t_len: UEP11_T_LEN

0x104 - endpoint 11 send the length

§uep11_t_ctrl: UEP11_T_CTRL

0x106 - endpoint 11 send control

§uep11_r_ctrl: UEP11_R_CTRL

0x107 - endpoint 11 send control

§uep12_t_len: UEP12_T_LEN

0x108 - endpoint 12 send the length

§uep12_t_ctrl: UEP12_T_CTRL

0x10a - endpoint 12 send control

§uep12_r_ctrl: UEP12_R_CTRL

0x10b - endpoint 12 send control

§uep13_t_len: UEP13_T_LEN

0x10c - endpoint 13 send the length

§uep13_t_ctrl: UEP13_T_CTRL

0x10e - endpoint 13 send control

§uep13_r_ctrl: UEP13_R_CTRL

0x10f - endpoint 13 send control

§uep14_t_len: UEP14_T_LEN

0x110 - endpoint 14 send the length

§uep14_t_ctrl: UEP14_T_CTRL

0x112 - endpoint 14 send control

§uep14_r_ctrl: UEP14_R_CTRL

0x113 - endpoint 14 send control

§uep15_t_len: UEP15_T_LEN

0x114 - endpoint 15 send the length

§uep15_t_ctrl: UEP15_T_CTRL

0x116 - endpoint 15 send control

§uep15_r_ctrl: UEP15_R_CTRL

0x117 - endpoint 15 send control

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.