leddriver16 2.1.0.0
|
This file contains API for LED Driver 16 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | leddriver16_t |
LED Driver 16 Click context object. More... | |
struct | leddriver16_cfg_t |
LED Driver 16 Click configuration object. More... | |
Enumerations | |
enum | leddriver16_return_value_t { LEDDRIVER16_OK = 0 , LEDDRIVER16_ERROR = -1 } |
LED Driver 16 Click return value data. More... | |
Functions | |
void | leddriver16_cfg_setup (leddriver16_cfg_t *cfg) |
LED Driver 16 configuration object setup function. | |
err_t | leddriver16_init (leddriver16_t *ctx, leddriver16_cfg_t *cfg) |
LED Driver 16 initialization function. | |
err_t | leddriver16_default_cfg (leddriver16_t *ctx) |
LED Driver 16 default configuration function. | |
err_t | leddriver16_write_register (leddriver16_t *ctx, uint8_t reg, uint8_t data_in) |
LED Driver 16 write register function. | |
err_t | leddriver16_read_register (leddriver16_t *ctx, uint8_t reg, uint8_t *data_out) |
LED Driver 16 read register function. | |
void | leddriver16_disable_device (leddriver16_t *ctx) |
LED Driver 16 disable device function. | |
void | leddriver16_enable_device (leddriver16_t *ctx) |
LED Driver 16 enable device function. | |
void | leddriver16_disable_output (leddriver16_t *ctx) |
LED Driver 16 disable output function. | |
void | leddriver16_enable_output (leddriver16_t *ctx) |
LED Driver 16 enable output function. | |
err_t | leddriver16_clear_errors (leddriver16_t *ctx) |
LED Driver 16 clear errors function. | |
err_t | leddriver16_set_led_state (leddriver16_t *ctx, uint16_t led_ch_mask, uint8_t state) |
LED Driver 16 set led state function. | |
err_t | leddriver16_set_led_pwm (leddriver16_t *ctx, uint16_t led_ch_mask, uint8_t duty_cycle) |
LED Driver 16 set led pwm function. | |
err_t | leddriver16_set_led_iref (leddriver16_t *ctx, uint16_t led_ch_mask, uint8_t iref) |
LED Driver 16 set led iref function. | |
This file contains API for LED Driver 16 Click Driver.