Struct stm32_hal2::pac::dma1::ccr5::DIR_W [−][src]
pub struct DIR_W<'a> { /* fields omitted */ }
Write proxy for field DIR
Implementations
impl<'a> DIR_W<'a>
[src]
impl<'a> DIR_W<'a>
[src]pub fn variant(self, variant: DIR_A) -> &'a mut W<u32, Reg<u32, _CCR5>>
[src]
Writes variant
to the field
pub fn from_peripheral(self) -> &'a mut W<u32, Reg<u32, _CCR5>>
[src]
Read from peripheral
pub fn from_memory(self) -> &'a mut W<u32, Reg<u32, _CCR5>>
[src]
Read from memory
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _CCR5>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _CCR5>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _CCR5>>
[src]
Writes raw bits to the field