Type Alias nrf52840_pac::comp::mode::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