boost8 2.1.0.0
|
API for configuring and manipulating Boost 8 Click driver. More...
Topics | |
Boost 8 MikroBUS Map | |
MikroBUS pin mapping of Boost 8 Click driver. | |
Functions | |
void | boost8_cfg_setup (boost8_cfg_t *cfg) |
Boost 8 configuration object setup function. | |
err_t | boost8_init (boost8_t *ctx, boost8_cfg_t *cfg) |
Boost 8 initialization function. | |
void | boost8_default_cfg (boost8_t *ctx) |
Boost 8 default configuration function. | |
void | boost8_enable_positive_voltage (boost8_t *ctx) |
Boost 8 enable positive voltage output function. | |
void | boost8_disable_positive_voltage (boost8_t *ctx) |
Boost 8 disable positive voltage output function. | |
void | boost8_enable_negative_voltage (boost8_t *ctx) |
Boost 8 enable negative voltage output function. | |
void | boost8_disable_negative_voltage (boost8_t *ctx) |
Boost 8 disable negative voltage output function. | |
void | boost8_enable_both_outputs (boost8_t *ctx) |
Boost 8 enable both voltage outputs function. | |
void | boost8_disable_both_outputs (boost8_t *ctx) |
Boost 8 disable both voltage outputs function. | |
API for configuring and manipulating Boost 8 Click driver.
Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.
void boost8_cfg_setup | ( | boost8_cfg_t * | cfg | ) |
Boost 8 configuration object setup function.
This function initializes click configuration structure to initial values.
[out] | cfg | : Click configuration structure. See boost8_cfg_t object definition for detailed explanation. |
void boost8_default_cfg | ( | boost8_t * | ctx | ) |
Boost 8 default configuration function.
This function executes a default configuration of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
void boost8_disable_both_outputs | ( | boost8_t * | ctx | ) |
Boost 8 disable both voltage outputs function.
This function disables both outputs of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
void boost8_disable_negative_voltage | ( | boost8_t * | ctx | ) |
Boost 8 disable negative voltage output function.
This function disables negative output of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
void boost8_disable_positive_voltage | ( | boost8_t * | ctx | ) |
Boost 8 disable positive voltage output function.
This function disables positive output of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
void boost8_enable_both_outputs | ( | boost8_t * | ctx | ) |
Boost 8 enable both voltage outputs function.
This function enables both outputs of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
void boost8_enable_negative_voltage | ( | boost8_t * | ctx | ) |
Boost 8 enable negative voltage output function.
This function enables negative output of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
void boost8_enable_positive_voltage | ( | boost8_t * | ctx | ) |
Boost 8 enable positive voltage output function.
This function enables positive output of Boost 8 click board.
[in] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
err_t boost8_init | ( | boost8_t * | ctx, |
boost8_cfg_t * | cfg ) |
Boost 8 initialization function.
This function initializes all necessary pins and peripherals used for this click board.
[out] | ctx | : Click context object. See boost8_t object definition for detailed explanation. |
[in] | cfg | : Click configuration structure. See boost8_cfg_t object definition for detailed explanation. |
0
- Success, -1
- Error. See #err_t definition for detailed explanation.