Type Definition atsam4s2a_pac::usart0::man::TX_PP_W

source ·
pub type TX_PP_W<'a, const O: u8> = FieldWriterSafe<'a, u32, MAN_SPEC, u8, TX_PP_A, 2, O>;
Expand description

Field TX_PP writer - Transmitter Preamble Pattern

Implementations§

source§

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

source

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

The preamble is composed of ’1’s

source

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

The preamble is composed of ’0’s

source

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

The preamble is composed of ’01’s

source

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

The preamble is composed of ’10’s