vtohz 2.0.0.0
|
Functions | |
void | vtohz_cfg_setup (vtohz_cfg_t *cfg) |
Config Object Initialization function. | |
VTOHZ_RETVAL | vtohz_init (vtohz_t *ctx, vtohz_cfg_t *cfg) |
Initialization function. | |
void | vtohz_set_duty_cycle (vtohz_t *ctx, float duty_cycle) |
Generic sets PWM duty cycle. | |
void | vtohz_pwm_stop (vtohz_t *ctx) |
Stop PWM module. | |
void | vtohz_pwm_start (vtohz_t *ctx) |
Start PWM module. | |
void | vtohz_enable (vtohz_t *ctx) |
Enable the click module. | |
void vtohz_cfg_setup | ( | vtohz_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void vtohz_enable | ( | vtohz_t * | ctx | ) |
Enable the click module.
ctx | Click object. |
@description This function enables the click module.
VTOHZ_RETVAL vtohz_init | ( | vtohz_t * | ctx, |
vtohz_cfg_t * | cfg ) |
Initialization function.
vtohz | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void vtohz_pwm_start | ( | vtohz_t * | ctx | ) |
Start PWM module.
ctx | Click object. |
@description This function starts PWM module.
void vtohz_pwm_stop | ( | vtohz_t * | ctx | ) |
Stop PWM module.
ctx | Click object. |
@description This function stops PWM module.
void vtohz_set_duty_cycle | ( | vtohz_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.