leddriver17 2.1.0.0
|
This file contains API for LED Driver 17 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_pwm.h"
Go to the source code of this file.
Data Structures | |
struct | leddriver17_t |
LED Driver 17 Click context object. More... | |
struct | leddriver17_cfg_t |
LED Driver 17 Click configuration object. More... | |
Macros | |
#define | LEDDRIVER17_DEF_FREQ 20000 |
LED Driver 17 default PWM frequency. | |
#define | LEDDRIVER17_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | leddriver17_return_value_t { LEDDRIVER17_OK = 0 , LEDDRIVER17_ERROR = -1 } |
LED Driver 17 Click return value data. More... | |
Functions | |
void | leddriver17_cfg_setup (leddriver17_cfg_t *cfg) |
LED Driver 17 configuration object setup function. | |
err_t | leddriver17_init (leddriver17_t *ctx, leddriver17_cfg_t *cfg) |
LED Driver 17 initialization function. | |
err_t | leddriver17_default_cfg (leddriver17_t *ctx) |
LED Driver 17 default configuration function. | |
err_t | leddriver17_set_duty_cycle (leddriver17_t *ctx, float duty_cycle) |
LED Driver 17 sets PWM duty cycle. | |
err_t | leddriver17_pwm_stop (leddriver17_t *ctx) |
LED Driver 17 stop PWM module. | |
err_t | leddriver17_pwm_start (leddriver17_t *ctx) |
LED Driver 17 start PWM module. | |
uint8_t | leddriver17_get_fault_pin (leddriver17_t *ctx) |
LED Driver 17 get fault pin function. | |
This file contains API for LED Driver 17 Click Driver.