Type Alias rp2040_pac::dma::sniff_ctrl::CALC_R

source ·
pub type CALC_R = FieldReader<CALC_A>;
Expand description

Field CALC reader -

Aliased Type§

struct CALC_R { /* private fields */ }

Implementations§

source§

impl CALC_R

source

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

Get enumerated values variant

source

pub fn is_crc32(&self) -> bool

Calculate a CRC-32 (IEEE802.3 polynomial)

source

pub fn is_crc32r(&self) -> bool

Calculate a CRC-32 (IEEE802.3 polynomial) with bit reversed data

source

pub fn is_crc16(&self) -> bool

Calculate a CRC-16-CCITT

source

pub fn is_crc16r(&self) -> bool

Calculate a CRC-16-CCITT with bit reversed data

source

pub fn is_even(&self) -> bool

XOR reduction over all data. == 1 if the total 1 population count is odd.

source

pub fn is_sum(&self) -> bool

Calculate a simple 32-bit checksum (addition with a 32 bit accumulator)