Type Definition atsam4s2a_pac::usart0::man::RX_PP_W

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

Field RX_PP writer - Receiver Preamble Pattern detected

Implementations§

source§

impl<'a, const O: u8> RX_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