Enum atsamd21e18a::dmac::crcctrl::CRCBEATSIZER [−][src]
pub enum CRCBEATSIZER { BYTE, HWORD, WORD, _Reserved(u8), }
Possible values of the field CRCBEATSIZE
Variants
BYTE
8-bit bus transfer
HWORD
16-bit bus transfer
WORD
32-bit bus transfer
_Reserved(u8)
Reserved
Methods
impl CRCBEATSIZER
[src]
impl CRCBEATSIZER
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_byte(&self) -> bool
[src]
pub fn is_byte(&self) -> bool
Checks if the value of the field is BYTE
pub fn is_hword(&self) -> bool
[src]
pub fn is_hword(&self) -> bool
Checks if the value of the field is HWORD
pub fn is_word(&self) -> bool
[src]
pub fn is_word(&self) -> bool
Checks if the value of the field is WORD
Trait Implementations
impl Clone for CRCBEATSIZER
[src]
impl Clone for CRCBEATSIZER
fn clone(&self) -> CRCBEATSIZER
[src]
fn clone(&self) -> CRCBEATSIZER
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 CRCBEATSIZER
[src]
impl Copy for CRCBEATSIZER
impl Debug for CRCBEATSIZER
[src]
impl Debug for CRCBEATSIZER
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 CRCBEATSIZER
[src]
impl PartialEq for CRCBEATSIZER
fn eq(&self, other: &CRCBEATSIZER) -> bool
[src]
fn eq(&self, other: &CRCBEATSIZER) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CRCBEATSIZER) -> bool
[src]
fn ne(&self, other: &CRCBEATSIZER) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CRCBEATSIZER
impl Send for CRCBEATSIZER
impl Sync for CRCBEATSIZER
impl Sync for CRCBEATSIZER