solarenergy 2.0.0.0
solarenergy.h File Reference

This file contains API for SOLAR ENERGY Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"

Go to the source code of this file.

Data Structures

struct  solarenergy_t
 Click ctx object definition. More...
 
struct  solarenergy_cfg_t
 Click configuration structure definition. More...
 

Macros

#define SOLARENERGY_MAP_MIKROBUS(cfg, mikrobus)
 
#define SOLARENERGY_RETVAL   uint8_t
 
#define SOLARENERGY_OK   0x00
 
#define SOLARENERGY_INIT_ERROR   0xFF
 

Functions

void solarenergy_cfg_setup (solarenergy_cfg_t *cfg)
 Config Object Initialization function.
 
SOLARENERGY_RETVAL solarenergy_init (solarenergy_t *ctx, solarenergy_cfg_t *cfg)
 Initialization function.
 
void solarenergy_charge_enable (solarenergy_t *ctx)
 Charge enable function.
 
void solarenergy_charge_disable (solarenergy_t *ctx)
 Charge disable functions.
 
uint8_t solarenergy_check_indicator (solarenergy_t *ctx)
 Battery good indicator functions.
 

Detailed Description

This file contains API for SOLAR ENERGY Click driver.