Type Alias atsamd51p::dmac::crcctrl::CRCPOLY_W

source ·
pub type CRCPOLY_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, CRCPOLYSELECT_A>;
Expand description

Field CRCPOLY writer - CRC Polynomial Type

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> CRCPOLY_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn crc16(self) -> &'a mut W<REG>

CRC-16 (CRC-CCITT)

source

pub fn crc32(self) -> &'a mut W<REG>

CRC32 (IEEE 802.3)