mic24045 2.0.0.0
|
This file contains API for MIC24045 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 | mic24045_t |
Click ctx object definition. More... | |
struct | mic24045_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | mic24045_cfg_setup (mic24045_cfg_t *cfg) |
Config Object Initialization function. | |
MIC24045_RETVAL | mic24045_init (mic24045_t *ctx, mic24045_cfg_t *cfg) |
Initialization function. | |
void | mic24045_generic_write (mic24045_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | mic24045_generic_read (mic24045_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | mic24045_get_status (mic24045_t *ctx) |
Get status function. | |
float | mic24045_get_vout (mic24045_t *ctx) |
Get voltage. | |
void | mic24045_set_vout (mic24045_t *ctx, float v_out) |
Set voltage. | |
void | mic24045_set_vout_decimal (mic24045_t *ctx, uint8_t dec) |
Set voltage decimal. | |
void | mic24045_enable (mic24045_t *ctx) |
Enable voltage output. | |
void | mic24045_disable (mic24045_t *ctx) |
Disable voltage output. | |
uint8_t | mic24045_get_power_good_state (mic24045_t *ctx) |
Get power good state. | |
This file contains API for MIC24045 Click driver.