atsamd51p::dmac::crcctrl

Type Alias CrcpolyR

Source
pub type CrcpolyR = FieldReader<Crcpolyselect>;
Expand description

Field CRCPOLY reader - CRC Polynomial Type

Aliased Type§

struct CrcpolyR { /* private fields */ }

Implementations§

Source§

impl CrcpolyR

Source

pub const fn variant(&self) -> Option<Crcpolyselect>

Get enumerated values variant

Source

pub fn is_crc16(&self) -> bool

CRC-16 (CRC-CCITT)

Source

pub fn is_crc32(&self) -> bool

CRC32 (IEEE 802.3)