#[repr(transparent)]pub struct Fsr2(pub u32);Expand description
FIFO Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Fsr2
impl Fsr2
Sourcepub const fn full(&self) -> bool
pub const fn full(&self) -> bool
FIFO Full Flag. Raw bit values: false (0) = NotFull: Not full.; true (1) = Full: Full.
Sourcepub const fn set_full(&mut self, val: bool)
pub const fn set_full(&mut self, val: bool)
FIFO Full Flag. Raw bit values: false (0) = NotFull: Not full.; true (1) = Full: Full.
Sourcepub const fn empty(&self) -> bool
pub const fn empty(&self) -> bool
FIFO Empty Flag. Raw bit values: false (0) = NotEmpty: Not empty.; true (1) = Empty: Empty.
Sourcepub const fn set_empty(&mut self, val: bool)
pub const fn set_empty(&mut self, val: bool)
FIFO Empty Flag. Raw bit values: false (0) = NotEmpty: Not empty.; true (1) = Empty: Empty.
Sourcepub const fn wm(&self) -> bool
pub const fn wm(&self) -> bool
FIFO Watermark Status Flag. Raw bit values: false (0) = MoreThanWlevel: Data in FIFO is more than watermark level.; true (1) = LessThanWlevel: Data in FIFO is less than or equal to watermark level.
Sourcepub const fn set_wm(&mut self, val: bool)
pub const fn set_wm(&mut self, val: bool)
FIFO Watermark Status Flag. Raw bit values: false (0) = MoreThanWlevel: Data in FIFO is more than watermark level.; true (1) = LessThanWlevel: Data in FIFO is less than or equal to watermark level.
Sourcepub const fn swbk(&self) -> bool
pub const fn swbk(&self) -> bool
Swing Back One Cycle Complete Flag. Raw bit values: false (0) = NoSwing: No swing back cycle has completed since the last time the flag was cleared.; true (1) = SwingBack: At least one swing back cycle has occurred since the last time the flag was cleared.
Sourcepub const fn set_swbk(&mut self, val: bool)
pub const fn set_swbk(&mut self, val: bool)
Swing Back One Cycle Complete Flag. Raw bit values: false (0) = NoSwing: No swing back cycle has completed since the last time the flag was cleared.; true (1) = SwingBack: At least one swing back cycle has occurred since the last time the flag was cleared.
Sourcepub const fn of(&self) -> bool
pub const fn of(&self) -> bool
FIFO Overflow Flag. Raw bit values: false (0) = NoOverflow: No overflow has occurred since the last time the flag was cleared.; true (1) = Overflow: At least one FIFO overflow has occurred since the last time the flag was cleared.
Sourcepub const fn set_of(&mut self, val: bool)
pub const fn set_of(&mut self, val: bool)
FIFO Overflow Flag. Raw bit values: false (0) = NoOverflow: No overflow has occurred since the last time the flag was cleared.; true (1) = Overflow: At least one FIFO overflow has occurred since the last time the flag was cleared.
Sourcepub const fn uf(&self) -> bool
pub const fn uf(&self) -> bool
FIFO Underflow Flag. Raw bit values: false (0) = NoUnderflow: No underflow has occurred since the last time the flag was cleared.; true (1) = Underflow: At least one trigger underflow has occurred since the last time the flag was cleared.
Sourcepub const fn set_uf(&mut self, val: bool)
pub const fn set_uf(&mut self, val: bool)
FIFO Underflow Flag. Raw bit values: false (0) = NoUnderflow: No underflow has occurred since the last time the flag was cleared.; true (1) = Underflow: At least one trigger underflow has occurred since the last time the flag was cleared.
Sourcepub const fn ptgcoco(&self) -> bool
pub const fn ptgcoco(&self) -> bool
Period Trigger Mode Conversion Complete Flag. Raw bit values: false (0) = NotStart: Not completed or not started.; true (1) = Completed: Completed.
Sourcepub const fn set_ptgcoco(&mut self, val: bool)
pub const fn set_ptgcoco(&mut self, val: bool)
Period Trigger Mode Conversion Complete Flag. Raw bit values: false (0) = NotStart: Not completed or not started.; true (1) = Completed: Completed.