Skip to main content

pamoja_pca9685_prescale

Function pamoja_pca9685_prescale 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_pca9685_prescale( driver: *const PamojaPca9685, ) -> u8
Expand description

Returns the prescale value the driver writes for its frequency.

§Returns

The PRE_SCALE register value, or 0 for a null driver.

§Safety

driver must be a live handle or null.