Struct I2ccfgr
#[repr(transparent)]pub struct I2ccfgr(pub u32);Expand description
I3C I2C target configuration register. Only on STM32H543/553, H7P and U356/366. Can be written only when EN = 0.
Tuple Fields§
§0: u32Implementations§
§impl I2ccfgr
impl I2ccfgr
pub const fn saval(&self) -> bool
pub const fn saval(&self) -> bool
7-bit static address valid (when the I3C peripheral is initialized as target).
pub const fn set_saval(&mut self, val: bool)
pub const fn set_saval(&mut self, val: bool)
7-bit static address valid (when the I3C peripheral is initialized as target).
pub const fn sa(&self) -> u8
pub const fn sa(&self) -> u8
7-bit static address (when the I3C peripheral is initialized as target).
pub const fn set_sa(&mut self, val: u8)
pub const fn set_sa(&mut self, val: u8)
7-bit static address (when the I3C peripheral is initialized as target).
pub const fn maval(&self) -> bool
pub const fn maval(&self) -> bool
Minimum I3C target address 7’h01 is valid (when the I3C peripheral is initialized as target). When set, a direct SETDASA CCC with 7’h01 address is acknowledged.
pub const fn set_maval(&mut self, val: bool)
pub const fn set_maval(&mut self, val: bool)
Minimum I3C target address 7’h01 is valid (when the I3C peripheral is initialized as target). When set, a direct SETDASA CCC with 7’h01 address is acknowledged.
pub const fn anfon(&self) -> bool
pub const fn anfon(&self) -> bool
Analog filter enable (when the I3C peripheral is initialized as target), enables the 50 ns spike filter on SCL and SDA for I2C Fm/Fm+ buses.
pub const fn set_anfon(&mut self, val: bool)
pub const fn set_anfon(&mut self, val: bool)
Analog filter enable (when the I3C peripheral is initialized as target), enables the 50 ns spike filter on SCL and SDA for I2C Fm/Fm+ buses.