Skip to main content

pamoja_pca9685_software_reset

Function pamoja_pca9685_software_reset 

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

Sends the general-call software reset, which returns every PCA9685 on the bus to its power-on state, not only this one. It goes to address 0x00, which nothing on a simulated bus answers.

§Returns

As pamoja_pca9685_init.

§Safety

driver must be a live handle or null.