Trait nrf52840_hal::ppi::PpiChannelGroup[][src]

pub trait PpiChannelGroup: PpiChannelGroupSealed {
    fn task_enable(&self) -> &Reg<u32, _EN>;
fn task_disable(&self) -> &Reg<u32, _DIS>;
fn set_channels(&self, mask: u32);
fn enable(&self);
fn disable(&self); }
Expand description

Trait for a PPI channel group.

Required methods

Returns reference to tasks_chg[x].en endpoint for enabling channel group.

Returns reference to tasks_chg[x].dis endpoint for disabling channel group.

Sets bitmask for PPI channels which shall be included in this channel group.

Enables this channel group.

Disables this channel group.

Implementors