#[repr(transparent)]pub struct NSsr(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl NSsr
impl NSsr
Sourcepub const fn avf(&self) -> bool
pub const fn avf(&self) -> bool
Read-only Address Valid Flag. Cleared by SASR read or selected SRDR read.
Sourcepub const fn set_avf(&mut self, val: bool)
pub const fn set_avf(&mut self, val: bool)
Read-only Address Valid Flag. Cleared by SASR read or selected SRDR read.
Sourcepub const fn rsf(&self) -> bool
pub const fn rsf(&self) -> bool
Repeated Start Flag. Write one to clear. Raw bit values: false (0) = NotDetected: Not detected.; true (1) = Detected: Detected.
Sourcepub const fn set_rsf(&mut self, val: bool)
pub const fn set_rsf(&mut self, val: bool)
Repeated Start Flag. Write one to clear. Raw bit values: false (0) = NotDetected: Not detected.; true (1) = Detected: Detected.
Sourcepub const fn sdf(&self) -> bool
pub const fn sdf(&self) -> bool
Stop Detect Flag. Write one to clear. Raw bit values: false (0) = NotDetected: Not detected.; true (1) = Detected: Detected.
Sourcepub const fn set_sdf(&mut self, val: bool)
pub const fn set_sdf(&mut self, val: bool)
Stop Detect Flag. Write one to clear. Raw bit values: false (0) = NotDetected: Not detected.; true (1) = Detected: Detected.
Sourcepub const fn bef(&self) -> bool
pub const fn bef(&self) -> bool
Bit Error Flag. Write one to clear. Raw bit values: false (0) = NoError: No error.; true (1) = Error: Error occurred.
Sourcepub const fn set_bef(&mut self, val: bool)
pub const fn set_bef(&mut self, val: bool)
Bit Error Flag. Write one to clear. Raw bit values: false (0) = NoError: No error.; true (1) = Error: Error occurred.
Sourcepub const fn fef(&self) -> bool
pub const fn fef(&self) -> bool
FIFO Error Flag. Write one to clear. Raw bit values: false (0) = NoError: No error.; true (1) = Error: Error occurred.
Sourcepub const fn set_fef(&mut self, val: bool)
pub const fn set_fef(&mut self, val: bool)
FIFO Error Flag. Write one to clear. Raw bit values: false (0) = NoError: No error.; true (1) = Error: Error occurred.
Sourcepub const fn set_am0f(&mut self, val: bool)
pub const fn set_am0f(&mut self, val: bool)
Read-only Address Match 0 Flag. Cleared by reading SASR.
Sourcepub const fn set_am1f(&mut self, val: bool)
pub const fn set_am1f(&mut self, val: bool)
Read-only Address Match 1 Flag. Cleared by reading SASR.
Sourcepub const fn set_gcf(&mut self, val: bool)
pub const fn set_gcf(&mut self, val: bool)
Read-only General Call Flag. Cleared by reading SASR.
Sourcepub const fn set_sarf(&mut self, val: bool)
pub const fn set_sarf(&mut self, val: bool)
Read-only SMBus Alert Response Flag. Cleared by reading SASR.
Sourcepub const fn sbf(&self) -> bool
pub const fn sbf(&self) -> bool
Target Busy Flag. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.
Sourcepub const fn set_sbf(&mut self, val: bool)
pub const fn set_sbf(&mut self, val: bool)
Target Busy Flag. Raw bit values: false (0) = Idle: Idle.; true (1) = Busy: Busy.