Skip to main content

pamoja_power_plan_interval_for_us

Function pamoja_power_plan_interval_for_us 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_power_plan_interval_for_us( plan: PamojaPowerPlan, mode: PamojaPowerMode, ) -> u64
Expand description

Returns the work interval a plan uses in a mode.

§Arguments

  • plan - the power plan.
  • mode - the mode to look up.

§Returns

The interval in microseconds.