Type Alias nrf52840_pac::ppi::chen::CH0_W

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

Field CH0 writer - Enable or disable channel 0

Aliased Type§

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

Implementations§

source§

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

source

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

Disable channel

source

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

Enable channel