#[repr(transparent)]pub struct Mcr2(pub u32);Expand description
Module Control 2.
Tuple Fields§
§0: u32Implementations§
Source§impl Mcr2
impl Mcr2
Sourcepub const fn abortoncmden(&self) -> Abortoncmden
pub const fn abortoncmden(&self) -> Abortoncmden
Abort on Command Enable.
Sourcepub const fn set_abortoncmden(&mut self, val: Abortoncmden)
pub const fn set_abortoncmden(&mut self, val: Abortoncmden)
Abort on Command Enable.
Sourcepub const fn abortonraddren(&self) -> bool
pub const fn abortonraddren(&self) -> bool
Allow Command Sequence Abort during RADDR.
Sourcepub const fn set_abortonraddren(&mut self, val: bool)
pub const fn set_abortonraddren(&mut self, val: bool)
Allow Command Sequence Abort during RADDR.
Sourcepub const fn abortoncaddren(&self) -> bool
pub const fn abortoncaddren(&self) -> bool
Allow Command Sequence Abort during CADDR.
Sourcepub const fn set_abortoncaddren(&mut self, val: bool)
pub const fn set_abortoncaddren(&mut self, val: bool)
Allow Command Sequence Abort during CADDR.
Sourcepub const fn abortonmodeen(&self) -> bool
pub const fn abortonmodeen(&self) -> bool
Allow Command Sequence Abort during MODE.
Sourcepub const fn set_abortonmodeen(&mut self, val: bool)
pub const fn set_abortonmodeen(&mut self, val: bool)
Allow Command Sequence Abort during MODE.
Sourcepub const fn abortondummyen(&self) -> bool
pub const fn abortondummyen(&self) -> bool
Allow Command Sequence Abort during DUMMY.
Sourcepub const fn set_abortondummyen(&mut self, val: bool)
pub const fn set_abortondummyen(&mut self, val: bool)
Allow Command Sequence Abort during DUMMY.
Sourcepub const fn abortonwriteen(&self) -> bool
pub const fn abortonwriteen(&self) -> bool
Allow Command Sequence Abort during WRITE.
Sourcepub const fn set_abortonwriteen(&mut self, val: bool)
pub const fn set_abortonwriteen(&mut self, val: bool)
Allow Command Sequence Abort during WRITE.
Sourcepub const fn abortonreaden(&self) -> bool
pub const fn abortonreaden(&self) -> bool
Allow Command Sequence Abort during READ.
Sourcepub const fn set_abortonreaden(&mut self, val: bool)
pub const fn set_abortonreaden(&mut self, val: bool)
Allow Command Sequence Abort during READ.
Sourcepub const fn abortonlearnen(&self) -> bool
pub const fn abortonlearnen(&self) -> bool
Allow Command Sequence Abort during LEARN.
Sourcepub const fn set_abortonlearnen(&mut self, val: bool)
pub const fn set_abortonlearnen(&mut self, val: bool)
Allow Command Sequence Abort during LEARN.
Sourcepub const fn abortondatszen(&self) -> bool
pub const fn abortondatszen(&self) -> bool
Allow Command Sequence Abort during DATSZ.
Sourcepub const fn set_abortondatszen(&mut self, val: bool)
pub const fn set_abortondatszen(&mut self, val: bool)
Allow Command Sequence Abort during DATSZ.
Sourcepub const fn clrahbbufopt(&self) -> Clrahbbufopt
pub const fn clrahbbufopt(&self) -> Clrahbbufopt
Clear AHB Buffer.
Sourcepub const fn set_clrahbbufopt(&mut self, val: Clrahbbufopt)
pub const fn set_clrahbbufopt(&mut self, val: Clrahbbufopt)
Clear AHB Buffer.
Sourcepub const fn set_sck2opt(&mut self, val: Sck2opt)
pub const fn set_sck2opt(&mut self, val: Sck2opt)
SCLK2 Toggle Output.
Sourcepub const fn clrlearnphase(&self) -> Clrlearnphase
pub const fn clrlearnphase(&self) -> Clrlearnphase
Clear Learn Phase Selection.
Sourcepub const fn set_clrlearnphase(&mut self, val: Clrlearnphase)
pub const fn set_clrlearnphase(&mut self, val: Clrlearnphase)
Clear Learn Phase Selection.
Sourcepub const fn samedeviceen(&self) -> Samedeviceen
pub const fn samedeviceen(&self) -> Samedeviceen
Same Device Enable.
Sourcepub const fn set_samedeviceen(&mut self, val: Samedeviceen)
pub const fn set_samedeviceen(&mut self, val: Samedeviceen)
Same Device Enable.
Sourcepub const fn flashdqsopt(&self) -> Flashdqsopt
pub const fn flashdqsopt(&self) -> Flashdqsopt
Flash DQS Option.
Sourcepub const fn set_flashdqsopt(&mut self, val: Flashdqsopt)
pub const fn set_flashdqsopt(&mut self, val: Flashdqsopt)
Flash DQS Option.
Sourcepub const fn rxdelayopt(&self) -> Rxdelayopt
pub const fn rxdelayopt(&self) -> Rxdelayopt
Option bit for RX data sampling (when MCR0[RXCLKSRC] is not set to 0x3), for internal use only.
Sourcepub const fn set_rxdelayopt(&mut self, val: Rxdelayopt)
pub const fn set_rxdelayopt(&mut self, val: Rxdelayopt)
Option bit for RX data sampling (when MCR0[RXCLKSRC] is not set to 0x3), for internal use only.
Sourcepub const fn sckbdiffopt(&self) -> Sckbdiffopt
pub const fn sckbdiffopt(&self) -> Sckbdiffopt
SCLK Port B Differential Output.
Sourcepub const fn set_sckbdiffopt(&mut self, val: Sckbdiffopt)
pub const fn set_sckbdiffopt(&mut self, val: Sckbdiffopt)
SCLK Port B Differential Output.
Sourcepub const fn clkphaserst(&self) -> bool
pub const fn clkphaserst(&self) -> bool
Clock Phase Reset.
Sourcepub const fn set_clkphaserst(&mut self, val: bool)
pub const fn set_clkphaserst(&mut self, val: bool)
Clock Phase Reset.
Sourcepub const fn rxclksrc_b(&self) -> RxclksrcB
pub const fn rxclksrc_b(&self) -> RxclksrcB
Port B Receiver Clock Source.
Sourcepub const fn set_rxclksrc_b(&mut self, val: RxclksrcB)
pub const fn set_rxclksrc_b(&mut self, val: RxclksrcB)
Port B Receiver Clock Source.
Sourcepub const fn rx_clk_src_diff(&self) -> RxClkSrcDiff
pub const fn rx_clk_src_diff(&self) -> RxClkSrcDiff
Sample Clock Source Different.
Sourcepub const fn set_rx_clk_src_diff(&mut self, val: RxClkSrcDiff)
pub const fn set_rx_clk_src_diff(&mut self, val: RxClkSrcDiff)
Sample Clock Source Different.
Sourcepub const fn resumewait(&self) -> u8
pub const fn resumewait(&self) -> u8
Resume Wait Duration.
Sourcepub const fn set_resumewait(&mut self, val: u8)
pub const fn set_resumewait(&mut self, val: u8)
Resume Wait Duration.