Enum atsamd21e18a::dmac::crcctrl::CRCPOLYR [−][src]
pub enum CRCPOLYR { CRC16, CRC32, _Reserved(u8), }
Possible values of the field CRCPOLY
Variants
CRC16
CRC-16 (CRC-CCITT)
CRC32
CRC32 (IEEE 802.3)
_Reserved(u8)
Reserved
Methods
impl CRCPOLYR
[src]
impl CRCPOLYR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_crc16(&self) -> bool
[src]
pub fn is_crc16(&self) -> bool
Checks if the value of the field is CRC16
pub fn is_crc32(&self) -> bool
[src]
pub fn is_crc32(&self) -> bool
Checks if the value of the field is CRC32
Trait Implementations
impl Clone for CRCPOLYR
[src]
impl Clone for CRCPOLYR
fn clone(&self) -> CRCPOLYR
[src]
fn clone(&self) -> CRCPOLYR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for CRCPOLYR
[src]
impl Copy for CRCPOLYR
impl Debug for CRCPOLYR
[src]
impl Debug for CRCPOLYR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CRCPOLYR
[src]
impl PartialEq for CRCPOLYR