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.
 

Detailed Description

Function Documentation

◆ nanopower_cfg_setup()

void nanopower_cfg_setup ( nanopower_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ nanopower_init()

NANOPOWER_RETVAL nanopower_init ( nanopower_t * ctx,
nanopower_cfg_t * cfg )

Initialization function.

Parameters
nanopowerClick object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ nanopw_enable_device()

void nanopw_enable_device ( nanopower_t * ctx,
const uint8_t state )

Click Enable function.

Parameters
ctxClick object.
stateState.

@description This function enables the Nano Power Click.