Type Alias nrf52840_pac::ppi::chen::CH2_W

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

Field CH2 writer - Enable or disable channel 2

Aliased Type§

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

Implementations§

source§

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

source

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

Disable channel

source

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

Enable channel