charger9 2.0.0.0
|
This file contains API for Charger 9 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | charger9_t |
Click ctx object definition. More... | |
struct | charger9_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | CHARGER9_MAP_MIKROBUS(cfg, mikrobus) |
#define | CHARGER9_RETVAL uint8_t |
#define | CHARGER9_STATE uint8_t |
#define | CHARGER9_OK 0x00 |
#define | CHARGER9_INIT_ERROR 0xFF |
#define | CHARGER9_ENABLE 0x01 |
#define | CHARGER9_DISABLE 0x00 |
#define | CHARGER9_INVALID_STATE 0xFF |
#define | CHARGER9_OK 0x00 |
#define | CHARGER9_IND_ACTIVE 0x00 |
#define | CHARGER9_IND_INACTIVE 0x01 |
Functions | |
void | charger9_cfg_setup (charger9_cfg_t *cfg) |
Config Object Initialization function. | |
CHARGER9_RETVAL | charger9_init (charger9_t *ctx, charger9_cfg_t *cfg) |
Initialization function. | |
CHARGER9_RETVAL | charger9_enable (charger9_t *ctx, CHARGER9_STATE pwr_state) |
Enable function. | |
CHARGER9_RETVAL | charger9_fast_charge_ind (charger9_t *ctx) |
Fast-Charge Indicate function. | |
CHARGER9_RETVAL | charger9_full_charge_ind (charger9_t *ctx) |
Full-Charge Indicate function. | |
CHARGER9_RETVAL | charger9_fault_ind (charger9_t *ctx) |
Fault Indicate function. | |
This file contains API for Charger 9 Click driver.