pub unsafe trait CfgSemaphore: CfgBasewhere
    Self::System: KernelSemaphore,{
    // Required method
    fn semaphore_define<Properties>(
        &mut self,
        descriptor: SemaphoreDescriptor<Self::System>,
        properties: Properties
    ) -> <Self::System as KernelSemaphore>::RawSemaphoreId
       where Properties: Bag;
}
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>( &mut self, descriptor: SemaphoreDescriptor<Self::System>, properties: Properties ) -> <Self::System as KernelSemaphore>::RawSemaphoreIdwhere Properties: Bag,

Implementors§