Type Alias nrf52840_pac::radio::ccactrl::CCAMODE_R

source ·
pub type CCAMODE_R = FieldReader<u8, CCAMODE_A>;
Expand description

Field CCAMODE reader - CCA mode of operation

Aliased Type§

struct CCAMODE_R { /* private fields */ }

Implementations§

source§

impl CCAMODE_R

source

pub fn variant(&self) -> Option<CCAMODE_A>

Get enumerated values variant

source

pub fn is_ed_mode(&self) -> bool

Checks if the value of the field is ED_MODE

source

pub fn is_carrier_mode(&self) -> bool

Checks if the value of the field is CARRIER_MODE

source

pub fn is_carrier_and_ed_mode(&self) -> bool

Checks if the value of the field is CARRIER_AND_ED_MODE

source

pub fn is_carrier_or_ed_mode(&self) -> bool

Checks if the value of the field is CARRIER_OR_ED_MODE

source

pub fn is_ed_mode_test1(&self) -> bool

Checks if the value of the field is ED_MODE_TEST1