Trait r3_core::kernel::raw_cfg::CfgSemaphore
source · pub unsafe trait CfgSemaphore: CfgBase<System: KernelSemaphore> {
// Required method
fn semaphore_define<Properties: Bag>(
&mut self,
descriptor: SemaphoreDescriptor<Self::System>,
properties: Properties
) -> <Self::System as KernelSemaphore>::RawSemaphoreId;
}
Expand description
A low-level configurator trait providing a method to define a semaphore in the kernel static configuration process.