Struct stm32_hal2::pac::i2c1::cr2::AUTOEND_W [−][src]
pub struct AUTOEND_W<'a> { /* fields omitted */ }
Write proxy for field AUTOEND
Implementations
impl<'a> AUTOEND_W<'a>
[src]
impl<'a> AUTOEND_W<'a>
[src]pub fn variant(self, variant: AUTOEND_A) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Writes variant
to the field
pub fn software(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
pub fn automatic(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Writes raw bits to the field