dcmotor10 2.0.0.0
|
This file contains API for DC Motor 10 Click driver. More...
#include "drv_digital_out.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | dcmotor10_t |
Click ctx object definition. More... | |
struct | dcmotor10_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | dcmotor10_cfg_setup (dcmotor10_cfg_t *cfg) |
Config Object Initialization function. | |
DCMOTOR10_RETVAL | dcmotor10_init (dcmotor10_t *ctx, dcmotor10_cfg_t *cfg) |
Initialization function. | |
void | dcmotor10_send_cmd (dcmotor10_t *ctx, uint16_t wr_data) |
Send command function. | |
uint16_t | dcmotor10_read_status (dcmotor10_t *ctx) |
Read status function. | |
void | dcmotor10_inhibit (dcmotor10_t *ctx, uint8_t state) |
Inhibit device function. | |
This file contains API for DC Motor 10 Click driver.