Type Alias nrf52840_pac::radio::crccnf::SKIPADDR_W

source ·
pub type SKIPADDR_W<'a, const O: u8> = FieldWriter<'a, u32, CRCCNF_SPEC, u8, SKIPADDR_A, 2, O>;
Expand description

Field SKIPADDR writer - Include or exclude packet address field out of CRC calculation.

Aliased Type§

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

Implementations§

source§

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

source

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

CRC calculation includes address field

source

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

CRC calculation does not include address field. The CRC calculation will start at the first byte after the address.

source

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

CRC calculation as per 802.15.4 standard. Starting at first byte after length field.