buck9 2.0.0.0
|
API for configuring and manipulating Buck 9 Click driver. More...
Topics | |
Buck 9 Device mode. | |
Settings for device mode of Buck 9 Click driver. | |
Buck 9 MikroBUS Map | |
MikroBUS pin mapping of Buck 9 Click driver. | |
Functions | |
void | buck9_cfg_setup (buck9_cfg_t *cfg) |
Buck 9 configuration object setup function. | |
err_t | buck9_init (buck9_t *ctx, buck9_cfg_t *cfg) |
Buck 9 initialization function. | |
void | buck9_set_device_mode (buck9_t *ctx, uint8_t mode) |
Function for enable or disable device. | |
API for configuring and manipulating Buck 9 Click driver.
Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.
void buck9_cfg_setup | ( | buck9_cfg_t * | cfg | ) |
Buck 9 configuration object setup function.
This function initializes click configuration structure to initial values.
[out] | cfg | : Click configuration structure. See buck9_cfg_t object definition for detailed explanation. |
err_t buck9_init | ( | buck9_t * | ctx, |
buck9_cfg_t * | cfg ) |
Buck 9 initialization function.
This function initializes all necessary pins and peripherals used for this click board.
[out] | ctx | : Click context object. See buck9_t object definition for detailed explanation. |
[in] | cfg | : Click configuration structure. See buck9_cfg_t object definition for detailed explanation. |
0
- Success, -1
- Error.void buck9_set_device_mode | ( | buck9_t * | ctx, |
uint8_t | mode ) |
Function for enable or disable device.
This function enables and disables output of this click board.
[in] | ctx | : Click context object. See buck9_t object definition for detailed explanation. |
[in] | mode | : Disable or enable device |