Enum nrf52::radio::crccnf::LENR
[−]
[src]
pub enum LENR { DISABLED, ONE, TWO, THREE, }
Possible values of the field LEN
Variants
DISABLED
CRC length is zero and CRC calculation is disabled
ONE
CRC length is one byte and CRC calculation is enabled
TWO
CRC length is two bytes and CRC calculation is enabled
THREE
CRC length is three bytes and CRC calculation is enabled
Methods
impl LENR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_disabled(&self) -> bool
[src]
Checks if the value of the field is DISABLED
fn is_one(&self) -> bool
[src]
Checks if the value of the field is ONE
fn is_two(&self) -> bool
[src]
Checks if the value of the field is TWO
fn is_three(&self) -> bool
[src]
Checks if the value of the field is THREE
Trait Implementations
impl Clone for LENR
[src]
fn clone(&self) -> LENR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more