nrf52840_pac::comp::mode

Type Alias SP_R

Source
pub type SP_R = FieldReader<u8, SP_A>;
Expand description

Field SP reader - Speed and power modes

Aliased Type§

struct SP_R { /* private fields */ }

Implementations§

Source§

impl SP_R

Source

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

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH