buck20 2.1.0.0
|
This file contains API for Buck 20 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | buck20_t |
Buck 20 Click context object. More... | |
struct | buck20_cfg_t |
Buck 20 Click configuration object. More... | |
Enumerations | |
enum | buck20_return_value_t { BUCK20_OK = 0 , BUCK20_ERROR = -1 } |
Buck 20 Click return value data. More... | |
Functions | |
void | buck20_cfg_setup (buck20_cfg_t *cfg) |
Buck 20 configuration object setup function. | |
err_t | buck20_init (buck20_t *ctx, buck20_cfg_t *cfg) |
Buck 20 initialization function. | |
err_t | buck20_generic_write (buck20_t *ctx, uint8_t command, uint8_t address, uint16_t data_in) |
Buck 20 data writing function. | |
err_t | buck20_generic_read (buck20_t *ctx, uint8_t command, uint8_t address, uint16_t *data_out) |
Buck 20 data reading function. | |
err_t | buck20_set_wiper_1 (buck20_t *ctx, uint16_t data_in) |
Buck 20 Set wiper 1 function. | |
err_t | buck20_write_user_data (buck20_t *ctx, uint8_t address, uint16_t data_in) |
Buck 20 write user data function. | |
err_t | buck20_read_user_data (buck20_t *ctx, uint8_t address, uint16_t *data_out) |
Buck 20 read user data function. | |
uint8_t | buck20_get_rdy_pin (buck20_t *ctx) |
Buck 20 get rdy pin function. | |
void | buck20_enable_device (buck20_t *ctx) |
Buck 20 enable device function. | |
void | buck20_disable_device (buck20_t *ctx) |
Buck 20 disable device function. | |
This file contains API for Buck 20 Click Driver.