Struct stm32_hal2::pac::usart1::cr3::DMAR_W [−][src]
pub struct DMAR_W<'a> { /* fields omitted */ }
Write proxy for field DMAR
Implementations
impl<'a> DMAR_W<'a>
[src]
impl<'a> DMAR_W<'a>
[src]pub fn variant(self, variant: DMAR_A) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
DMA mode is disabled for reception
pub fn enabled(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
DMA mode is enabled for reception
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Writes raw bits to the field