Go to the documentation of this file.
38 #include "drv_digital_out.h"
39 #include "drv_digital_in.h"
52 #define NANOPOWER2_MAP_MIKROBUS( cfg, mikrobus ) \
53 cfg.out= MIKROBUS( mikrobus, MIKROBUS_INT )
60 #define NANOPOWER2_RETVAL uint8_t
62 #define NANOPOWER2_OK 0x00
63 #define NANOPOWER2_INIT_ERROR 0xFF
139 #endif // _NANOPOWER2_H_
pin_name_t out
Definition: nanopower2.h:88
#define NANOPOWER2_RETVAL
Definition: nanopower2.h:60
Click configuration structure definition.
Definition: nanopower2.h:85
Click ctx object definition.
Definition: nanopower2.h:76
void nanopower2_cfg_setup(nanopower2_cfg_t *cfg)
Config Object Initialization function.
digital_in_t out
Definition: nanopower2.h:78
NANOPOWER2_RETVAL nanopower2_check_output(nanopower2_t *ctx)
Click Check Output function.
NANOPOWER2_RETVAL nanopower2_init(nanopower2_t *ctx, nanopower2_cfg_t *cfg)
Initialization function.