Type Alias nrf52840_pac::radio::crccnf::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