|
void | dcmotor23_cfg_setup (dcmotor23_cfg_t *cfg) |
| DC Motor 23 configuration object setup function.
|
|
err_t | dcmotor23_init (dcmotor23_t *ctx, dcmotor23_cfg_t *cfg) |
| DC Motor 23 initialization function.
|
|
err_t | dcmotor23_default_cfg (dcmotor23_t *ctx) |
| DC Motor 23 default configuration function.
|
|
err_t | dcmotor23_write_register (dcmotor23_t *ctx, uint8_t reg, uint8_t data_in) |
| DC Motor 23 I2C writing function.
|
|
err_t | dcmotor23_read_register (dcmotor23_t *ctx, uint8_t reg, uint8_t *data_out) |
| DC Motor 23 I2C reading function.
|
|
err_t | dcmotor23_get_lo_pin (dcmotor23_t *ctx, uint8_t *pin_state) |
| DC Motor 23 get LO pin function.
|
|
err_t | dcmotor23_set_output_mode (dcmotor23_t *ctx, uint8_t mode, uint8_t sel_motor) |
| DC Motor 23 set output mode function.
|
|
err_t | dcmotor23_set_clockwise (dcmotor23_t *ctx, uint8_t sel_motor) |
| DC Motor 23 set clockwise function.
|
|
err_t | dcmotor23_set_counter_clockwise (dcmotor23_t *ctx, uint8_t sel_motor) |
| DC Motor 23 set counter clockwise function.
|
|
err_t | dcmotor23_set_decay (dcmotor23_t *ctx, uint8_t sel_motor) |
| DC Motor 23 set decay function.
|
|
err_t | dcmotor23_set_outa_torque (dcmotor23_t *ctx, uint8_t torque) |
| DC Motor 23 set OUTA torque function.
|
|
err_t | dcmotor23_set_outb_torque (dcmotor23_t *ctx, uint8_t torque) |
| DC Motor 23 set OUTB torque function.
|
|
void | dcmotor23_normal_operation_mode (dcmotor23_t *ctx) |
| DC Motor 23 set normal operation mode function.
|
|
void | dcmotor23_sleep_mode (dcmotor23_t *ctx) |
| DC Motor 23 set sleep operation mode function.
|
|
void | dcmotor23_reset_device (dcmotor23_t *ctx) |
| DC Motor 23 reset device function.
|
|
uint8_t | dcmotor23_get_int_pin (dcmotor23_t *ctx) |
| DC Motor 23 get INT pin function.
|
|
void | dcmotor23_set_en_a_pin (dcmotor23_t *ctx, uint8_t state) |
| DC Motor 23 set EN_A pin function.
|
|
void | dcmotor23_set_en_b_pin (dcmotor23_t *ctx, uint8_t state) |
| DC Motor 23 set EN_B pin function.
|
|
This file contains API for DC Motor 23 Click Driver.