stepdown6 2.1.0.0
|
This file contains API for Step Down 6 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 | stepdown6_t |
Step Down 6 Click context object. More... | |
struct | stepdown6_cfg_t |
Step Down 6 Click configuration object. More... | |
Enumerations | |
enum | stepdown6_return_value_t { STEPDOWN6_OK = 0 , STEPDOWN6_ERROR = -1 } |
Step Down 6 Click return value data. More... | |
Functions | |
void | stepdown6_cfg_setup (stepdown6_cfg_t *cfg) |
Step Down 6 configuration object setup function. | |
err_t | stepdown6_init (stepdown6_t *ctx, stepdown6_cfg_t *cfg) |
Step Down 6 initialization function. | |
err_t | stepdown6_default_cfg (stepdown6_t *ctx) |
Step Down 6 default configuration function. | |
err_t | stepdown6_generic_write (stepdown6_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Step Down 6 I2C writing function. | |
err_t | stepdown6_generic_read (stepdown6_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Step Down 6 I2C reading function. | |
void | stepdown6_set_en_pin (stepdown6_t *ctx, uint8_t pin_state) |
Step Down 6 set EN pin state function. | |
err_t | stepdown6_write_reg (stepdown6_t *ctx, uint8_t reg, uint8_t data_in) |
Step Down 6 Register writing function. | |
err_t | stepdown6_read_reg (stepdown6_t *ctx, uint8_t reg, uint8_t *data_out) |
Step Down 6 Register reading function. | |
err_t | stepdown6_set_out_voltage (stepdown6_t *ctx, uint8_t out_sel, uint16_t out_val) |
Step Down 6 Set output voltage function. | |
This file contains API for Step Down 6 Click Driver.