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.