Type Definition efm32gg11b_pac::efm32gg11b840::usart2::ctrl::OVS_W

source ·
pub type OVS_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CTRL_SPEC, u8, OVS_A, 2, O>;
Expand description

Field OVS writer - Oversampling

Implementations§

source§

impl<'a, const O: u8> OVS_W<'a, O>

source

pub fn x16(self) -> &'a mut W

Regular UART mode with 16X oversampling in asynchronous mode

source

pub fn x8(self) -> &'a mut W

Double speed with 8X oversampling in asynchronous mode

source

pub fn x6(self) -> &'a mut W

6X oversampling in asynchronous mode

source

pub fn x4(self) -> &'a mut W

Quadruple speed with 4X oversampling in asynchronous mode