pub type DSNACK_W<'a, const O: u8> = BitWriter<'a, u32, USART_MODE_MR_SPEC, DSNACKSELECT_A, O>;
Expand description

Field DSNACK writer - Disable Successive NACK

Implementations§

source§

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

source

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

NACK is sent on the ISO line as soon as a parity error occurs in the received character (unless INACK is set)

source

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

Successive parity errors are counted up to the value specified in the MAX_ITERATION field. These parity errors generatea NACK on the ISO line. As soon as this value is reached, no additional NACK is sent on the ISO line. The flag ITERATION is asserted