Struct r3::kernel::cfg::CfgBuilder[][src]

pub struct CfgBuilder<System> { /* fields omitted */ }
Expand description

A kernel configuration being constructed.

Implementations

Specify the number of task priority levels. The default value is 4.

Must be in range 1..4096. The actual upper bound might be larger depending on the internal implementation.

The RAM consumption by task ready queues is proportional to the number of task priority levels. In addition, the scheduler is heavily optimized for the cases where the number is very small (e.g., < 16). The performance improvement can be notable especially if the target processor does not have a CTZ (count trailing zero) instruction, barrel shifter, or hardware multiplier.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.