Struct stm32_hal2::pac::i2c1::cr2::RD_WRN_W [−][src]
pub struct RD_WRN_W<'a> { /* fields omitted */ }
Write proxy for field RD_WRN
Implementations
impl<'a> RD_WRN_W<'a>
[src]
impl<'a> RD_WRN_W<'a>
[src]pub fn variant(self, variant: RD_WRN_A) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Writes variant
to the field
pub fn write(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Master requests a write transfer
pub fn read(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Master requests a read transfer
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