#[repr(transparent)]pub struct Msr(pub u32);Expand description
Controller Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Msr
impl Msr
Sourcepub const fn epf(&self) -> bool
pub const fn epf(&self) -> bool
End Packet Flag. Raw bit values: false (0) = IntNo: No Stop or repeated Start generated.; true (1) = IntYes: Stop or repeated Start generated.
Sourcepub const fn set_epf(&mut self, val: bool)
pub const fn set_epf(&mut self, val: bool)
End Packet Flag. Raw bit values: false (0) = IntNo: No Stop or repeated Start generated.; true (1) = IntYes: Stop or repeated Start generated.
Sourcepub const fn sdf(&self) -> bool
pub const fn sdf(&self) -> bool
Stop Detect Flag. Raw bit values: false (0) = IntNo: No Stop condition generated.; true (1) = IntYes: Stop condition generated.
Sourcepub const fn set_sdf(&mut self, val: bool)
pub const fn set_sdf(&mut self, val: bool)
Stop Detect Flag. Raw bit values: false (0) = IntNo: No Stop condition generated.; true (1) = IntYes: Stop condition generated.
Sourcepub const fn ndf(&self) -> bool
pub const fn ndf(&self) -> bool
NACK Detect Flag. Raw bit values: false (0) = IntNo: No unexpected NACK detected.; true (1) = IntYes: Unexpected NACK detected.
Sourcepub const fn set_ndf(&mut self, val: bool)
pub const fn set_ndf(&mut self, val: bool)
NACK Detect Flag. Raw bit values: false (0) = IntNo: No unexpected NACK detected.; true (1) = IntYes: Unexpected NACK detected.
Sourcepub const fn alf(&self) -> bool
pub const fn alf(&self) -> bool
Arbitration Lost Flag. Raw bit values: false (0) = IntNo: Controller did not lose arbitration.; true (1) = IntYes: Controller lost arbitration.
Sourcepub const fn set_alf(&mut self, val: bool)
pub const fn set_alf(&mut self, val: bool)
Arbitration Lost Flag. Raw bit values: false (0) = IntNo: Controller did not lose arbitration.; true (1) = IntYes: Controller lost arbitration.
Sourcepub const fn fef(&self) -> bool
pub const fn fef(&self) -> bool
FIFO Error Flag. Raw bit values: false (0) = IntNo: No FIFO error.; true (1) = IntYes: FIFO error.
Sourcepub const fn set_fef(&mut self, val: bool)
pub const fn set_fef(&mut self, val: bool)
FIFO Error Flag. Raw bit values: false (0) = IntNo: No FIFO error.; true (1) = IntYes: FIFO error.
Sourcepub const fn pltf(&self) -> bool
pub const fn pltf(&self) -> bool
Pin Low Timeout Flag. Raw bit values: false (0) = IntNo: Pin low timeout did not occur.; true (1) = IntYes: Pin low timeout occurred.
Sourcepub const fn set_pltf(&mut self, val: bool)
pub const fn set_pltf(&mut self, val: bool)
Pin Low Timeout Flag. Raw bit values: false (0) = IntNo: Pin low timeout did not occur.; true (1) = IntYes: Pin low timeout occurred.
Sourcepub const fn dmf(&self) -> bool
pub const fn dmf(&self) -> bool
Data Match Flag. Raw bit values: false (0) = IntNo: Matching data not received.; true (1) = IntYes: Matching data received.
Sourcepub const fn set_dmf(&mut self, val: bool)
pub const fn set_dmf(&mut self, val: bool)
Data Match Flag. Raw bit values: false (0) = IntNo: Matching data not received.; true (1) = IntYes: Matching data received.
Sourcepub const fn stf(&self) -> bool
pub const fn stf(&self) -> bool
Start Flag. Raw bit values: false (0) = IntNo: Start condition not detected.; true (1) = IntYes: Start condition detected.
Sourcepub const fn set_stf(&mut self, val: bool)
pub const fn set_stf(&mut self, val: bool)
Start Flag. Raw bit values: false (0) = IntNo: Start condition not detected.; true (1) = IntYes: Start condition detected.
Sourcepub const fn mbf(&self) -> bool
pub const fn mbf(&self) -> bool
Controller Busy Flag. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.
Sourcepub const fn set_mbf(&mut self, val: bool)
pub const fn set_mbf(&mut self, val: bool)
Controller Busy Flag. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.