Struct Grstctl
#[repr(transparent)]pub struct Grstctl(pub u32);Expand description
Reset Register.
Tuple Fields§
§0: u32Implementations§
§impl Grstctl
impl Grstctl
pub const fn set_csftrst(&mut self, val: bool)
pub const fn set_csftrst(&mut self, val: bool)
Mode: Host and Device. Core Soft Reset (CSftRst).
pub const fn piufssftrst(&self) -> Piufssftrst
pub const fn piufssftrst(&self) -> Piufssftrst
Mode: Host and Device. PIU FS Dedicated Controller Soft Reset (PIUFSSftRst).
pub const fn set_piufssftrst(&mut self, val: Piufssftrst)
pub const fn set_piufssftrst(&mut self, val: Piufssftrst)
Mode: Host and Device. PIU FS Dedicated Controller Soft Reset (PIUFSSftRst).
pub const fn frmcntrrst(&self) -> bool
pub const fn frmcntrrst(&self) -> bool
Mode: Host only. Host Frame Counter Reset (FrmCntrRst).
pub const fn set_frmcntrrst(&mut self, val: bool)
pub const fn set_frmcntrrst(&mut self, val: bool)
Mode: Host only. Host Frame Counter Reset (FrmCntrRst).
pub const fn set_rxfflsh(&mut self, val: bool)
pub const fn set_rxfflsh(&mut self, val: bool)
Mode: Host and Device. RxFIFO Flush (RxFFlsh).
pub const fn set_txfflsh(&mut self, val: bool)
pub const fn set_txfflsh(&mut self, val: bool)
Mode: Host and Device. TxFIFO Flush (TxFFlsh).
pub const fn txfnum(&self) -> GrstctlTxfnum
pub const fn txfnum(&self) -> GrstctlTxfnum
Mode: Host and Device. TxFIFO Number (TxFNum).
pub const fn set_txfnum(&mut self, val: GrstctlTxfnum)
pub const fn set_txfnum(&mut self, val: GrstctlTxfnum)
Mode: Host and Device. TxFIFO Number (TxFNum).
pub const fn clockswitchtimer(&self) -> Clockswitchtimer
pub const fn clockswitchtimer(&self) -> Clockswitchtimer
This field is applicable if the controller is configured with multiple PHY interfaces.
pub const fn set_clockswitchtimer(&mut self, val: Clockswitchtimer)
pub const fn set_clockswitchtimer(&mut self, val: Clockswitchtimer)
This field is applicable if the controller is configured with multiple PHY interfaces.
pub const fn csftrstdone(&self) -> bool
pub const fn csftrstdone(&self) -> bool
Mode: Host and Device. Core Soft Reset Done (CSftRstDone).
pub const fn set_csftrstdone(&mut self, val: bool)
pub const fn set_csftrstdone(&mut self, val: bool)
Mode: Host and Device. Core Soft Reset Done (CSftRstDone).
pub const fn set_dmareq(&mut self, val: bool)
pub const fn set_dmareq(&mut self, val: bool)
Mode: Host and Device. DMA Request Signal (DMAReq).
pub const fn set_ahbidle(&mut self, val: bool)
pub const fn set_ahbidle(&mut self, val: bool)
Mode: Host and Device. AHB Requester Idle (AHBIdle).