Trait PpiChannelGroup

Source
pub trait PpiChannelGroup: PpiChannelGroupSealed {
    // Required methods
    fn task_enable(&self) -> &Reg<EN_SPEC>;
    fn task_disable(&self) -> &Reg<DIS_SPEC>;
    fn set_channels(&self, mask: u32);
    fn enable(&self);
    fn disable(&self);
}
Expand description

Trait for a PPI channel group.

Required Methods§

Source

fn task_enable(&self) -> &Reg<EN_SPEC>

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

Source

fn task_disable(&self) -> &Reg<DIS_SPEC>

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

Source

fn set_channels(&self, mask: u32)

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

Source

fn enable(&self)

Enables this channel group.

Source

fn disable(&self)

Disables this channel group.

Implementors§

Source§

impl<G> PpiChannelGroup for G
where G: ChannelGroup,