Enum Rstact
#[repr(u8)]pub enum Rstact {
NoReset = 0,
FirstLevel = 1,
SecondLevel = 2,
NoResetEither = 3,
}Variants§
NoReset = 0
FirstLevel = 1
first level of reset: the application software must either: a) partially reset the peripheral, by a write and clear of the enable bit of the I3C configuration register (write EN = 0). This resets the I3C bus interface and the I3C kernel sub-parts, without modifying the content of the I3C APB registers (except the EN bit). b) fully reset the peripheral, including all its registers, via the I3C reset bit in RCC.
SecondLevel = 2
second level of reset: the application software must issue a warm reset, also known as a system reset (writing SYSRESETREQ in the AIRCR register), which has the same impact as a pin reset (NRST = 0).
NoResetEither = 3
Implementations§
Trait Implementations§
impl Copy for Rstact
impl Eq for Rstact
§impl Ord for Rstact
impl Ord for Rstact
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Rstact
impl PartialOrd for Rstact
impl StructuralPartialEq for Rstact
Auto Trait Implementations§
impl Freeze for Rstact
impl RefUnwindSafe for Rstact
impl Send for Rstact
impl Sync for Rstact
impl Unpin for Rstact
impl UnsafeUnpin for Rstact
impl UnwindSafe for Rstact
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more