nrf52840_pac::ppi::chen

Type Alias 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