Type Alias nrf52840_pac::comp::mode::SP_W

source ·
pub type SP_W<'a, const O: u8> = FieldWriter<'a, u32, MODE_SPEC, u8, SP_A, 2, O>;
Expand description

Field SP writer - Speed and power modes

Aliased Type§

struct SP_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> SP_W<'a, O>

source

pub fn low(self) -> &'a mut W

Low-power mode

source

pub fn normal(self) -> &'a mut W

Normal mode

source

pub fn high(self) -> &'a mut W

High-speed mode