c3xbuck 2.0.0.0
|
This file contains API for 3xBuck 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 | c3xbuck_t |
Click ctx object definition. More... | |
struct | c3xbuck_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | c3xbuck_cfg_setup (c3xbuck_cfg_t *cfg) |
Config Object Initialization function. | |
C3XBUCK_RETVAL | c3xbuck_init (c3xbuck_t *ctx, c3xbuck_cfg_t *cfg) |
Initialization function. | |
void | c3xbuck_default_cfg (c3xbuck_t *ctx) |
Click Default Configuration function. | |
void | c3xbuck_write_byte (c3xbuck_t *ctx, uint8_t reg, uint8_t data_value) |
Write byte function. | |
uint8_t | c3xbuck_read_byte (c3xbuck_t *ctx, uint8_t reg) |
Generic read function. | |
void | c3xbuck_enable_buck (c3xbuck_t *ctx, uint8_t buck) |
Enable Buck function. | |
void | c3xbuck_disable_buck (c3xbuck_t *ctx, uint8_t buck) |
Disable Buck function. | |
void | c3xbuck_set_voltage (c3xbuck_t *ctx, uint8_t buck, uint8_t voltage) |
Set voltage function. | |
uint8_t | c3xbuck_get_status (c3xbuck_t *ctx) |
Get status function. | |
void | c3xbuck_configuration_buck (c3xbuck_t *ctx, uint8_t buck, uint8_t config) |
Configuration function. | |
This file contains API for 3xBuck Click driver.