[][src]Struct rv32m1_ri5cy_pac::usb0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub perid: PERID,
    pub idcomp: IDCOMP,
    pub rev: REV,
    pub addinfo: ADDINFO,
    pub otgctl: OTGCTL,
    pub istat: ISTAT,
    pub inten: INTEN,
    pub errstat: ERRSTAT,
    pub erren: ERREN,
    pub stat: STAT,
    pub ctl: CTL,
    pub addr: ADDR,
    pub bdtpage1: BDTPAGE1,
    pub frmnuml: FRMNUML,
    pub frmnumh: FRMNUMH,
    pub bdtpage2: BDTPAGE2,
    pub bdtpage3: BDTPAGE3,
    pub endpoint0: ENDPOINT,
    pub endpoint1: ENDPOINT,
    pub endpoint2: ENDPOINT,
    pub endpoint3: ENDPOINT,
    pub endpoint4: ENDPOINT,
    pub endpoint5: ENDPOINT,
    pub endpoint6: ENDPOINT,
    pub endpoint7: ENDPOINT,
    pub endpoint8: ENDPOINT,
    pub endpoint9: ENDPOINT,
    pub endpoint10: ENDPOINT,
    pub endpoint11: ENDPOINT,
    pub endpoint12: ENDPOINT,
    pub endpoint13: ENDPOINT,
    pub endpoint14: ENDPOINT,
    pub endpoint15: ENDPOINT,
    pub usbctrl: USBCTRL,
    pub observe: OBSERVE,
    pub control: CONTROL,
    pub usbtrc0: USBTRC0,
    pub keep_alive_ctrl: KEEP_ALIVE_CTRL,
    pub keep_alive_wkctrl: KEEP_ALIVE_WKCTRL,
    pub miscctrl: MISCCTRL,
    pub stall_il_dis: STALL_IL_DIS,
    pub stall_ih_dis: STALL_IH_DIS,
    pub stall_ol_dis: STALL_OL_DIS,
    pub stall_oh_dis: STALL_OH_DIS,
    pub clk_recover_ctrl: CLK_RECOVER_CTRL,
    pub clk_recover_irc_en: CLK_RECOVER_IRC_EN,
    pub clk_recover_int_en: CLK_RECOVER_INT_EN,
    pub clk_recover_int_status: CLK_RECOVER_INT_STATUS,
    // some fields omitted
}

Register block

Fields

perid: PERID

0x00 - Peripheral ID register

idcomp: IDCOMP

0x04 - Peripheral ID Complement register

rev: REV

0x08 - Peripheral Revision register

addinfo: ADDINFO

0x0c - Peripheral Additional Info register

otgctl: OTGCTL

0x1c - OTG Control register

istat: ISTAT

0x80 - Interrupt Status register

inten: INTEN

0x84 - Interrupt Enable register

errstat: ERRSTAT

0x88 - Error Interrupt Status register

erren: ERREN

0x8c - Error Interrupt Enable register

stat: STAT

0x90 - Status register

ctl: CTL

0x94 - Control register

addr: ADDR

0x98 - Address register

bdtpage1: BDTPAGE1

0x9c - BDT Page register 1

frmnuml: FRMNUML

0xa0 - Frame Number register Low

frmnumh: FRMNUMH

0xa4 - Frame Number register High

bdtpage2: BDTPAGE2

0xb0 - BDT Page Register 2

bdtpage3: BDTPAGE3

0xb4 - BDT Page Register 3

endpoint0: ENDPOINT

0xc0 - no description available

endpoint1: ENDPOINT

0xc4 - no description available

endpoint2: ENDPOINT

0xc8 - no description available

endpoint3: ENDPOINT

0xcc - no description available

endpoint4: ENDPOINT

0xd0 - no description available

endpoint5: ENDPOINT

0xd4 - no description available

endpoint6: ENDPOINT

0xd8 - no description available

endpoint7: ENDPOINT

0xdc - no description available

endpoint8: ENDPOINT

0xe0 - no description available

endpoint9: ENDPOINT

0xe4 - no description available

endpoint10: ENDPOINT

0xe8 - no description available

endpoint11: ENDPOINT

0xec - no description available

endpoint12: ENDPOINT

0xf0 - no description available

endpoint13: ENDPOINT

0xf4 - no description available

endpoint14: ENDPOINT

0xf8 - no description available

endpoint15: ENDPOINT

0xfc - no description available

usbctrl: USBCTRL

0x100 - USB Control register

observe: OBSERVE

0x104 - USB OTG Observe register

control: CONTROL

0x108 - USB OTG Control register

usbtrc0: USBTRC0

0x10c - USB Transceiver Control register 0

keep_alive_ctrl: KEEP_ALIVE_CTRL

0x124 - Keep Alive mode control

keep_alive_wkctrl: KEEP_ALIVE_WKCTRL

0x128 - Keep Alive mode wakeup control

miscctrl: MISCCTRL

0x12c - Miscellaneous Control register

stall_il_dis: STALL_IL_DIS

0x130 - Peripheral mode stall disable for endpoints 7 to 0 in IN direction

stall_ih_dis: STALL_IH_DIS

0x134 - Peripheral mode stall disable for endpoints 15 to 8 in IN direction

stall_ol_dis: STALL_OL_DIS

0x138 - Peripheral mode stall disable for endpoints 7 to 0 in OUT direction

stall_oh_dis: STALL_OH_DIS

0x13c - Peripheral mode stall disable for endpoints 15 to 8 in OUT direction

clk_recover_ctrl: CLK_RECOVER_CTRL

0x140 - USB Clock recovery control

clk_recover_irc_en: CLK_RECOVER_IRC_EN

0x144 - IRC48MFIRC oscillator enable register

clk_recover_int_en: CLK_RECOVER_INT_EN

0x154 - Clock recovery combined interrupt enable

clk_recover_int_status: CLK_RECOVER_INT_STATUS

0x15c - Clock recovery separated interrupt status

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]