Type Alias nrf52840_pac::spi0::frequency::FREQUENCY_R

source ·
pub type FREQUENCY_R = FieldReader<u32, FREQUENCY_A>;
Expand description

Field FREQUENCY reader - SPI master data rate

Aliased Type§

struct FREQUENCY_R { /* private fields */ }

Implementations§

source§

impl FREQUENCY_R

source

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

Get enumerated values variant

source

pub fn is_k125(&self) -> bool

Checks if the value of the field is K125

source

pub fn is_k250(&self) -> bool

Checks if the value of the field is K250

source

pub fn is_k500(&self) -> bool

Checks if the value of the field is K500

source

pub fn is_m1(&self) -> bool

Checks if the value of the field is M1

source

pub fn is_m2(&self) -> bool

Checks if the value of the field is M2

source

pub fn is_m4(&self) -> bool

Checks if the value of the field is M4

source

pub fn is_m8(&self) -> bool

Checks if the value of the field is M8