42#ifdef PREINIT_SUPPORTED
46#ifdef MikroCCoreVersion
47 #if MikroCCoreVersion >= 1
52#include "drv_digital_out.h"
53#include "drv_digital_in.h"
66#define NANOPOWER2_MAP_MIKROBUS( cfg, mikrobus ) \
67 cfg.out= MIKROBUS( mikrobus, MIKROBUS_INT )
74#define NANOPOWER2_OK 0
75#define NANOPOWER2_ERROR -1
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.
void nanopower2_cfg_setup(nanopower2_cfg_t *cfg)
Config Object Initialization function.
Click configuration structure definition.
Definition nanopower2.h:98
pin_name_t out
Definition nanopower2.h:100
Click ctx object definition.
Definition nanopower2.h:89
digital_in_t out
Definition nanopower2.h:90