uvclight 2.0.0.0
|
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. | |
void uvclight_cfg_setup | ( | uvclight_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
UVCLIGHT_RETVAL uvclight_init | ( | uvclight_t * | ctx, |
uvclight_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void uvclight_pwm_start | ( | uvclight_t * | ctx | ) |
Start PWM module.
ctx | Click object. |
@description This function starts PWM module.
void uvclight_pwm_stop | ( | uvclight_t * | ctx | ) |
Stop PWM module.
ctx | Click object. |
@description This function stops PWM module.
void uvclight_set_duty_cycle | ( | uvclight_t * | ctx, |
float | duty_cycle ) |
Generic sets PWM duty cycle.
ctx | Click object. |
duty_cycle | Duty cycle. |
@description This function sets the PWM duty cycle.