48 #ifndef __SX150X_LED_DRV_CALC_H__ 49 #define __SX150X_LED_DRV_CALC_H__ 51 #include "sx150x_led_drv_calc.h" 52 #include "sx150x_led_drv_regs.h" 53 #include "sdk_errors.h" One or more of the set time parameters deviate by more than 20 %. Accept or try again with different ...
Definition: sx150x_led_drv_calc.h:62
NULL parameter supplied.
Definition: sx150x_led_drv_calc.h:64
Invalid parameters.
Definition: sx150x_led_drv_calc.h:63
Struct for holding values to be placed in io extender led driver registers. Consult the SX150x manual...
Definition: sx150x_led_drv_regs.h:67
void sx150x_led_drv_calc_init(uint16_t fade_supported_port_mask, uint32_t clkx_tics_pr_sec)
Initializes the SX150x led driver register calculation module.
bool sx150x_led_drv_calc_fade_supp(uint16_t port_mask)
Checks if all the supplied pins in port_mask supports fade.
ret_code_t sx150x_led_drv_calc_convert(uint16_t port_mask, drv_ext_light_sequence_t *const real_vals, sx150x_led_drv_regs_vals_t *const reg_vals)
Converts from real values (intensity (0x00-0xFF and time in milliseconds) to register values...
The module has not been initalized. Has init been called?
Definition: sx150x_led_drv_calc.h:65
Successful.
Definition: sx150x_led_drv_calc.h:61