Skip to main content

pamoja_pwm_from_counts

Function pamoja_pwm_from_counts 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_pwm_from_counts( on: u16, off: u16, ) -> PamojaPwm
Expand description

Builds a PWM setting from explicit on and off counts.

ยงReturns

The four register bytes; counts are masked to 12 bits.