charger13 2.0.0.0
|
This file contains API for Charger 13 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | charger13_t |
Click ctx object definition. More... | |
struct | charger13_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | CHARGER13_MAP_MIKROBUS(cfg, mikrobus) |
#define | CHARGER13_RETVAL uint8_t |
#define | CHARGER13_OK 0x00 |
#define | CHARGER13_INIT_ERROR 0xFF |
Functions | |
void | charger13_cfg_setup (charger13_cfg_t *cfg) |
Config Object Initialization function. | |
CHARGER13_RETVAL | charger13_init (charger13_t *ctx, charger13_cfg_t *cfg) |
Initialization function. | |
void | charger13_enable (charger13_t *ctx) |
Enabled charging function. | |
void | charger13_disable (charger13_t *ctx) |
Disabled charging function. | |
uint8_t | charger13_check (charger13_t *ctx) |
Check battery charging function. | |
This file contains API for Charger 13 Click driver.