Enum stm32_metapac::i3c::vals::Crinit
#[repr(u8)]pub enum Crinit {
TARGET = 0,
CONTROLLER = 1,
}
Variants§
TARGET = 0
Once enabled by setting EN = 1, the peripheral initially acts as a target. I3C does not drive SCL line and does not enable SDA pull-up, until it eventually acquires the controller role.
CONTROLLER = 1
Once enabled by setting EN = 1, the peripheral initially acts as a controller. It has the I3C controller role, so drives SCL line and enables SDA pull-up, until it eventually offers the controller role to an I3C secondary controller.
Implementations§
Trait Implementations§
§impl Ord for Crinit
impl Ord for Crinit
§impl PartialOrd for Crinit
impl PartialOrd for Crinit
impl Copy for Crinit
impl Eq for Crinit
impl StructuralPartialEq for Crinit
Auto Trait Implementations§
impl Freeze for Crinit
impl RefUnwindSafe for Crinit
impl Send for Crinit
impl Sync for Crinit
impl Unpin for Crinit
impl UnwindSafe for Crinit
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)