nanopower2 2.0.0.0
|
This file contains API for Nano Power 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | nanopower2_t |
Click ctx object definition. More... | |
struct | nanopower2_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | NANOPOWER2_MAP_MIKROBUS(cfg, mikrobus) cfg.out= MIKROBUS( mikrobus, MIKROBUS_INT ) |
#define | NANOPOWER2_OK 0 |
#define | NANOPOWER2_ERROR -1 |
Functions | |
void | nanopower2_cfg_setup (nanopower2_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | nanopower2_init (nanopower2_t *ctx, nanopower2_cfg_t *cfg) |
Initialization function. | |
uint8_t | nanopower2_check_output (nanopower2_t *ctx) |
Click Check Output function. | |
This file contains API for Nano Power 2 Click driver.