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§
Sourcefn task_enable(&self) -> &Reg<EN_SPEC>
fn task_enable(&self) -> &Reg<EN_SPEC>
Returns reference to tasks_chg[x].en endpoint for enabling channel group.
Sourcefn task_disable(&self) -> &Reg<DIS_SPEC>
fn task_disable(&self) -> &Reg<DIS_SPEC>
Returns reference to tasks_chg[x].dis endpoint for disabling channel group.
Sourcefn set_channels(&self, mask: u32)
fn set_channels(&self, mask: u32)
Sets bitmask for PPI channels which shall be included in this channel group.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".