stepdown8 2.1.0.0
|
This file contains API for Step Down 8 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | stepdown8_t |
Step Down 8 Click context object. More... | |
struct | stepdown8_cfg_t |
Step Down 8 Click configuration object. More... | |
Enumerations | |
enum | stepdown8_return_value_t { STEPDOWN8_OK = 0 , STEPDOWN8_ERROR = -1 } |
Step Down 8 Click return value data. More... | |
Functions | |
void | stepdown8_cfg_setup (stepdown8_cfg_t *cfg) |
Step Down 8 configuration object setup function. More... | |
err_t | stepdown8_init (stepdown8_t *ctx, stepdown8_cfg_t *cfg) |
Step Down 8 initialization function. More... | |
err_t | stepdown8_default_cfg (stepdown8_t *ctx) |
Step Down 8 default configuration function. More... | |
void | stepdown8_set_en_pin (stepdown8_t *ctx, uint8_t pin_state) |
Step Down 8 set EN pin state function. More... | |
void | stepdown8_set_sps_pin (stepdown8_t *ctx, uint8_t pin_state) |
Step Down 8 set SPS pin state function. More... | |
uint8_t | stepdown8_get_pg_state (stepdown8_t *ctx) |
Step Down 8 get PG pin state function. More... | |
err_t | stepdown8_set_wiper_pos (stepdown8_t *ctx, uint16_t wiper_pos) |
Step Down 8 set wiper position. More... | |
err_t | stepdown8_set_r2_resistance (stepdown8_t *ctx, uint32_t resistance) |
Step Down 8 set potentiometer resistance. More... | |
err_t | stepdown8_set_output (stepdown8_t *ctx, float voltage) |
Step Down 8 set output voltage. More... | |
This file contains API for Step Down 8 Click Driver.