Skip to main content

pamoja_pca9685_sleep

Function pamoja_pca9685_sleep 

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

Stops the oscillator. The channel registers keep their values, and a channel still running when the part sleeps sets its RESTART bit.

§Returns

As pamoja_pca9685_init.

§Safety

driver must be a live handle or null.