#[repr(transparent)]pub struct Flshcr4(pub u32);Expand description
Flash Control 4.
Tuple Fields§
§0: u32Implementations§
Source§impl Flshcr4
impl Flshcr4
Sourcepub const fn set_wmopt1(&mut self, val: bool)
pub const fn set_wmopt1(&mut self, val: bool)
Write Mask Option 1.
Sourcepub const fn wmena(&self) -> bool
pub const fn wmena(&self) -> bool
Write Mask Enable for Port A. Raw bit values: false (0) = Val0: Disabled. When writing to external device, DQS(RWDS) pin is not driven.; true (1) = Val1: Enabled. When writing to external device, FlexSPI drives DQS(RWDS) pin as write mask output.
Sourcepub const fn set_wmena(&mut self, val: bool)
pub const fn set_wmena(&mut self, val: bool)
Write Mask Enable for Port A. Raw bit values: false (0) = Val0: Disabled. When writing to external device, DQS(RWDS) pin is not driven.; true (1) = Val1: Enabled. When writing to external device, FlexSPI drives DQS(RWDS) pin as write mask output.
Sourcepub const fn wmenb(&self) -> bool
pub const fn wmenb(&self) -> bool
Write Mask Enable for Port B. Raw bit values: false (0) = Val0: Disabled. When writing to external device, DQS(RWDS) pin is not driven.; true (1) = Val1: Enabled. When writing to external device, FlexSPI drives DQS(RWDS) pin as write mask output.
Sourcepub const fn set_wmenb(&mut self, val: bool)
pub const fn set_wmenb(&mut self, val: bool)
Write Mask Enable for Port B. Raw bit values: false (0) = Val0: Disabled. When writing to external device, DQS(RWDS) pin is not driven.; true (1) = Val1: Enabled. When writing to external device, FlexSPI drives DQS(RWDS) pin as write mask output.
Sourcepub const fn sckrstdisabled(&self) -> bool
pub const fn sckrstdisabled(&self) -> bool
SCLK Reset Disable. Raw bit values: false (0) = Val0: SCLK is reset to default level before PCS signal is deasserted.; true (1) = Val1: SCLK is reset to default level after PCS signal is deasserted.
Sourcepub const fn set_sckrstdisabled(&mut self, val: bool)
pub const fn set_sckrstdisabled(&mut self, val: bool)
SCLK Reset Disable. Raw bit values: false (0) = Val0: SCLK is reset to default level before PCS signal is deasserted.; true (1) = Val1: SCLK is reset to default level after PCS signal is deasserted.
Sourcepub const fn dqsposcap(&self) -> bool
pub const fn dqsposcap(&self) -> bool
DQS POS Capture. Raw bit values: false (0) = Val0: DQS falling edge is used to capture the RX data.; true (1) = Val1: DQS rising edge is used to capture the RX data.
Sourcepub const fn set_dqsposcap(&mut self, val: bool)
pub const fn set_dqsposcap(&mut self, val: bool)
DQS POS Capture. Raw bit values: false (0) = Val0: DQS falling edge is used to capture the RX data.; true (1) = Val1: DQS rising edge is used to capture the RX data.
Sourcepub const fn wmopt1b(&self) -> bool
pub const fn wmopt1b(&self) -> bool
Write Mask Option 1B. Raw bit values: false (0) = Val0: DQSB used as Write Mask when writing to external device.; true (1) = Val1: DQSB not used as Write Mask when writing to external device.
Sourcepub const fn set_wmopt1b(&mut self, val: bool)
pub const fn set_wmopt1b(&mut self, val: bool)
Write Mask Option 1B. Raw bit values: false (0) = Val0: DQSB used as Write Mask when writing to external device.; true (1) = Val1: DQSB not used as Write Mask when writing to external device.
Sourcepub const fn wmopt2b(&self) -> bool
pub const fn wmopt2b(&self) -> bool
Write Mask Option 2B. Raw bit values: false (0) = Val0: DQSB is used as Write Mask when writing to external device.; true (1) = Val1: DQSB is not used as Write Mask when writing to external device.
Sourcepub const fn set_wmopt2b(&mut self, val: bool)
pub const fn set_wmopt2b(&mut self, val: bool)
Write Mask Option 2B. Raw bit values: false (0) = Val0: DQSB is used as Write Mask when writing to external device.; true (1) = Val1: DQSB is not used as Write Mask when writing to external device.
Sourcepub const fn wmoptdiff(&self) -> bool
pub const fn wmoptdiff(&self) -> bool
Write Mask Option Differential. Raw bit values: false (0) = Val0: Write Mask behaves same on PORTA and PORTB, controlled by WMOPT1 and WMOPT2.; true (1) = Val1: Write Mask behaves differently. WMOPT1 and WMOPT2 control PORTA. WMOPT1B and WMOPT2B control PORTB.
Sourcepub const fn set_wmoptdiff(&mut self, val: bool)
pub const fn set_wmoptdiff(&mut self, val: bool)
Write Mask Option Differential. Raw bit values: false (0) = Val0: Write Mask behaves same on PORTA and PORTB, controlled by WMOPT1 and WMOPT2.; true (1) = Val1: Write Mask behaves differently. WMOPT1 and WMOPT2 control PORTA. WMOPT1B and WMOPT2B control PORTB.