battman 2.0.0.0
|
This file contains API for BATT-MAN Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | battman_t |
Click ctx object definition. More... | |
struct | battman_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | BATTMAN_MAP_MIKROBUS(cfg, mikrobus) |
#define | BATTMAN_RETVAL uint8_t |
#define | BATTMAN_OK 0x00 |
#define | BATTMAN_INIT_ERROR 0xFF |
Functions | |
void | battman_cfg_setup (battman_cfg_t *cfg) |
Config Object Initialization function. | |
BATTMAN_RETVAL | battman_init (battman_t *ctx, battman_cfg_t *cfg) |
Initialization function. | |
void | battman_set_enable (battman_t *ctx, uint8_t state) |
Enable/Disable control. | |
uint8_t | battman_get_charging_indicator (battman_t *ctx) |
Charging indicator status. | |
uint8_t | battman_get_fault_indicator (battman_t *ctx) |
Fault indicator status. | |
This file contains API for BATT-MAN Click driver.