nrf52840_pac::radio::crccnf

Type Alias LEN_W

Source
pub type LEN_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CRCCNF_SPEC, u8, LEN_A, 2, O>;
Expand description

Field LEN writer - CRC length in number of bytes.

Aliased Type§

struct LEN_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

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

Source

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

CRC length is zero and CRC calculation is disabled

Source

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

CRC length is one byte and CRC calculation is enabled

Source

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

CRC length is two bytes and CRC calculation is enabled

Source

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

CRC length is three bytes and CRC calculation is enabled