pub struct MSTSCLHIGH_W<'a> { /* private fields */ }
Expand description
Field MSTSCLHIGH
writer - Master SCL High time. Specifies the minimum high time that will be asserted by this master on SCL. Other masters in a multi-master system could shorten this time. This corresponds to the parameter tHIGH in the I2C bus specification. I2C bus specification parameters tSU;STO and tHD;STA have the same values and are also controlled by MSTSCLHIGH.
Implementations
sourceimpl<'a> MSTSCLHIGH_W<'a>
impl<'a> MSTSCLHIGH_W<'a>
sourcepub fn variant(self, variant: MSTSCLHIGH_A) -> &'a mut W
pub fn variant(self, variant: MSTSCLHIGH_A) -> &'a mut W
Writes variant
to the field
sourcepub fn clocks_2(self) -> &'a mut W
pub fn clocks_2(self) -> &'a mut W
2 clocks. Minimum SCL high time is 2 clock of the I2C clock pre-divider.
sourcepub fn clocks_3(self) -> &'a mut W
pub fn clocks_3(self) -> &'a mut W
3 clocks. Minimum SCL high time is 3 clocks of the I2C clock pre-divider .
sourcepub fn clocks_4(self) -> &'a mut W
pub fn clocks_4(self) -> &'a mut W
4 clocks. Minimum SCL high time is 4 clock of the I2C clock pre-divider.
sourcepub fn clocks_5(self) -> &'a mut W
pub fn clocks_5(self) -> &'a mut W
5 clocks. Minimum SCL high time is 5 clock of the I2C clock pre-divider.
sourcepub fn clocks_6(self) -> &'a mut W
pub fn clocks_6(self) -> &'a mut W
6 clocks. Minimum SCL high time is 6 clock of the I2C clock pre-divider.
sourcepub fn clocks_7(self) -> &'a mut W
pub fn clocks_7(self) -> &'a mut W
7 clocks. Minimum SCL high time is 7 clock of the I2C clock pre-divider.
sourcepub fn clocks_8(self) -> &'a mut W
pub fn clocks_8(self) -> &'a mut W
8 clocks. Minimum SCL high time is 8 clock of the I2C clock pre-divider.
Auto Trait Implementations
impl<'a> RefUnwindSafe for MSTSCLHIGH_W<'a>
impl<'a> Send for MSTSCLHIGH_W<'a>
impl<'a> Sync for MSTSCLHIGH_W<'a>
impl<'a> Unpin for MSTSCLHIGH_W<'a>
impl<'a> !UnwindSafe for MSTSCLHIGH_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more