Type Alias nrf52840_pac::ppi::chen::CH1_W

source ·
pub type CH1_W<'a, const O: u8> = BitWriter<'a, u32, CHEN_SPEC, CH1_A, O>;
Expand description

Field CH1 writer - Enable or disable channel 1

Aliased Type§

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

Implementations§

source§

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

source

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

Disable channel

source

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

Enable channel