Struct stm32_metapac::i3c::regs::Crcapr
#[repr(transparent)]pub struct Crcapr(pub u32);
Expand description
I3C controller-role capability register.
Tuple Fields§
§0: u32
Implementations§
§impl Crcapr
impl Crcapr
pub const fn capdhoff(&self) -> bool
pub const fn capdhoff(&self) -> bool
delayed controller-role hand-off This bit is written by software during bus initialization (i.e. I3C_CFGR.EN=0) and indicates if this target I3C may need additional time to process a controller-role hand-off requested by the current controller. This bit is used to return the CRCAP2 byte in response to the GETCAPS CCC format 2.
pub fn set_capdhoff(&mut self, val: bool)
pub fn set_capdhoff(&mut self, val: bool)
delayed controller-role hand-off This bit is written by software during bus initialization (i.e. I3C_CFGR.EN=0) and indicates if this target I3C may need additional time to process a controller-role hand-off requested by the current controller. This bit is used to return the CRCAP2 byte in response to the GETCAPS CCC format 2.
pub const fn capgrp(&self) -> bool
pub const fn capgrp(&self) -> bool
group management support (when acting as controller) This bit is written by software during bus initialization (i.e. I3C_CFGR.EN=0) and indicates if the I3C is able to support group management when it acts as a controller (after controller-role hand-off) via emitted DEFGRPA, RSTGRPA, and SETGRPA CCC. This bit is used to return the CRCAP1 byte in response to the GETCAPS CCC format 2.
pub fn set_capgrp(&mut self, val: bool)
pub fn set_capgrp(&mut self, val: bool)
group management support (when acting as controller) This bit is written by software during bus initialization (i.e. I3C_CFGR.EN=0) and indicates if the I3C is able to support group management when it acts as a controller (after controller-role hand-off) via emitted DEFGRPA, RSTGRPA, and SETGRPA CCC. This bit is used to return the CRCAP1 byte in response to the GETCAPS CCC format 2.
Trait Implementations§
impl Copy for Crcapr
impl Eq for Crcapr
impl StructuralPartialEq for Crcapr
Auto Trait Implementations§
impl Freeze for Crcapr
impl RefUnwindSafe for Crcapr
impl Send for Crcapr
impl Sync for Crcapr
impl Unpin for Crcapr
impl UnwindSafe for Crcapr
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
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)
clone_to_uninit
)