nanopower 2.0.0.0
|
Functions | |
void | nanopower_cfg_setup (nanopower_cfg_t *cfg) |
Config Object Initialization function. | |
NANOPOWER_RETVAL | nanopower_init (nanopower_t *ctx, nanopower_cfg_t *cfg) |
Initialization function. | |
void | nanopw_enable_device (nanopower_t *ctx, const uint8_t state) |
Click Enable function. | |
void nanopower_cfg_setup | ( | nanopower_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
NANOPOWER_RETVAL nanopower_init | ( | nanopower_t * | ctx, |
nanopower_cfg_t * | cfg ) |
Initialization function.
nanopower | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void nanopw_enable_device | ( | nanopower_t * | ctx, |
const uint8_t | state ) |
Click Enable function.
ctx | Click object. |
state | State. |
@description This function enables the Nano Power Click.