Struct I2cFmpCtrl
#[repr(transparent)]pub struct I2cFmpCtrl(pub u32);Expand description
I2C_FMP_CTRL register.
Tuple Fields§
§0: u32Implementations§
§impl I2cFmpCtrl
impl I2cFmpCtrl
pub const fn i2c1_pa0_fmp(&self) -> bool
pub const fn i2c1_pa0_fmp(&self) -> bool
I2C1 Fast-Mode Plus driving capability for I2C1_SCL on PA0 I/O. 0: PA0 pin operated in standard mode. 1: FM+ mode is enabled on PA0 pin, and speed control is bypassed.
pub fn set_i2c1_pa0_fmp(&mut self, val: bool)
pub fn set_i2c1_pa0_fmp(&mut self, val: bool)
I2C1 Fast-Mode Plus driving capability for I2C1_SCL on PA0 I/O. 0: PA0 pin operated in standard mode. 1: FM+ mode is enabled on PA0 pin, and speed control is bypassed.
pub const fn i2c1_pa1_fmp(&self) -> bool
pub const fn i2c1_pa1_fmp(&self) -> bool
I2C1 Fast-Mode Plus driving capability for I2C1_SDA on PA1 I/O. 0: PA1 pin operated in standard mode. 1: FM+ mode is enabled on PA1 pin, and speed control is bypassed.
pub fn set_i2c1_pa1_fmp(&mut self, val: bool)
pub fn set_i2c1_pa1_fmp(&mut self, val: bool)
I2C1 Fast-Mode Plus driving capability for I2C1_SDA on PA1 I/O. 0: PA1 pin operated in standard mode. 1: FM+ mode is enabled on PA1 pin, and speed control is bypassed.
pub const fn i2c1_pb6_fmp(&self) -> bool
pub const fn i2c1_pb6_fmp(&self) -> bool
I2C1 Fast-Mode Plus driving capability for I2C1_SCL on PB6 I/O. 0: PB6 pin operated in standard mode. 1: FM+ mode is enabled on PB6 pin, and speed control is bypassed.
pub fn set_i2c1_pb6_fmp(&mut self, val: bool)
pub fn set_i2c1_pb6_fmp(&mut self, val: bool)
I2C1 Fast-Mode Plus driving capability for I2C1_SCL on PB6 I/O. 0: PB6 pin operated in standard mode. 1: FM+ mode is enabled on PB6 pin, and speed control is bypassed.
pub const fn i2c1_pb7_fmp(&self) -> bool
pub const fn i2c1_pb7_fmp(&self) -> bool
I2C1 Fast-Mode Plus driving capability for I2C1_SDA on PB7 I/O. 0: PB7 pin operated in standard mode. 1: FM+ mode is enabled on PB7 pin, and speed control is bypassed.
pub fn set_i2c1_pb7_fmp(&mut self, val: bool)
pub fn set_i2c1_pb7_fmp(&mut self, val: bool)
I2C1 Fast-Mode Plus driving capability for I2C1_SDA on PB7 I/O. 0: PB7 pin operated in standard mode. 1: FM+ mode is enabled on PB7 pin, and speed control is bypassed.
Trait Implementations§
§impl Clone for I2cFmpCtrl
impl Clone for I2cFmpCtrl
§fn clone(&self) -> I2cFmpCtrl
fn clone(&self) -> I2cFmpCtrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more