Struct stm32_hal2::pac::sai1::ch::frcr::FSPOL_W [−][src]
pub struct FSPOL_W<'a> { /* fields omitted */ }
Write proxy for field FSPOL
Implementations
impl<'a> FSPOL_W<'a>
[src]
impl<'a> FSPOL_W<'a>
[src]pub fn variant(self, variant: FSPOL_A) -> &'a mut W<u32, Reg<u32, _FRCR>>
[src]
Writes variant
to the field
pub fn falling_edge(self) -> &'a mut W<u32, Reg<u32, _FRCR>>
[src]
FS is active low (falling edge)
pub fn rising_edge(self) -> &'a mut W<u32, Reg<u32, _FRCR>>
[src]
FS is active high (rising edge)
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _FRCR>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _FRCR>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _FRCR>>
[src]
Writes raw bits to the field