uvclight 2.0.0.0
|
This file contains API for UVC Light 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 | uvclight_t |
Click ctx object definition. More... | |
struct | uvclight_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | UVCLIGHT_MAP_MIKROBUS(cfg, mikrobus) cfg.dim = MIKROBUS( mikrobus, MIKROBUS_PWM ) |
#define | UVCLIGHT_RETVAL uint8_t |
#define | UVCLIGHT_OK 0x00 |
#define | UVCLIGHT_INIT_ERROR 0xFF |
#define | UVCLIGHT_DEF_FREQ 20000 |
Functions | |
void | uvclight_cfg_setup (uvclight_cfg_t *cfg) |
Config Object Initialization function. | |
UVCLIGHT_RETVAL | uvclight_init (uvclight_t *ctx, uvclight_cfg_t *cfg) |
Initialization function. | |
void | uvclight_set_duty_cycle (uvclight_t *ctx, float duty_cycle) |
Generic sets PWM duty cycle. | |
void | uvclight_pwm_stop (uvclight_t *ctx) |
Stop PWM module. | |
void | uvclight_pwm_start (uvclight_t *ctx) |
Start PWM module. | |
This file contains API for UVC Light Click driver.