|
void | dcmotor16_cfg_setup (dcmotor16_cfg_t *cfg) |
| DC Motor 16 configuration object setup function. More...
|
|
err_t | dcmotor16_init (dcmotor16_t *ctx, dcmotor16_cfg_t *cfg) |
| DC Motor 16 initialization function. More...
|
|
err_t | dcmotor16_generic_write (dcmotor16_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| DC Motor 16 data writing function. More...
|
|
err_t | dcmotor16_generic_read (dcmotor16_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| DC Motor 16 data reading function. More...
|
|
void | dcmotor16_set_direction (dcmotor16_t *ctx, uint8_t dir) |
| Set motor direction. More...
|
|
void | dcmotor16_ctrl_fwd_pin (dcmotor16_t *ctx, uint8_t state) |
| Control FWD pin. More...
|
|
void | dcmotor16_ctrl_rev_pin (dcmotor16_t *ctx, uint8_t state) |
| Control REV pin. More...
|
|
void | dcmotor16_ctrl_vref (dcmotor16_t *ctx, uint16_t value) |
| Control motor VRef (speed). More...
|
|
void | dcmotor16_stop (dcmotor16_t *ctx) |
| Motor stop. More...
|
|
This file contains API for DC Motor 16 Click Driver.