Skip to main content

pamoja_pca9685_set_all

Function pamoja_pca9685_set_all 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_pca9685_set_all( driver: *mut PamojaPca9685, pwm: PamojaPwm, ) -> PamojaStatus
Expand description

Loads every channel with the same counts in one transfer, through the ALL_LED registers.

§Arguments

  • driver - the driver.
  • pwm - the four register bytes to load.

§Returns

As pamoja_pca9685_set_channel.

§Safety

driver must be a live handle or null.