atsamd21g::dmac::crcctrl

Type Alias CrcpolyW

Source
pub type CrcpolyW<'a, REG> = FieldWriter<'a, REG, 2, Crcpolyselect>;
Expand description

Field CRCPOLY writer - CRC Polynomial Type

Aliased Type§

struct CrcpolyW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> CrcpolyW<'a, REG>
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)