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.

Safety

See the module documentation.

Stability

See the module documentation.

Required Methods§

source

fn semaphore_define<Properties: Bag>( &mut self, descriptor: SemaphoreDescriptor<Self::System>, properties: Properties ) -> <Self::System as KernelSemaphore>::RawSemaphoreId

Implementors§