Synopsis
CTL_STATUS_t pca9532_set_led_mode(PCA9532_DRIVER_t *self,
                                  int index,
                                  PCA9532_OUTPUT_MODE_t mode);
Description

pca9532_set_led_mode writes the mode of LED index to mode which can be used to set the LED to blink.

Return Value

pca9532_set_led_mode returns a standard status code.

Thread Safety

pca9532_set_led_mode is thread-safe if a mutex is associated with the I2C bus bus.