hallcurrent2 2.0.0.0
|
Topics | |
Driver Functions | |
Functions | |
void | hallcurrent2_cfg_setup (hallcurrent2_cfg_t *cfg) |
Config Object Initialization function. | |
HALLCURRENT2_RETVAL | hallcurrent2_init (hallcurrent2_t *ctx, hallcurrent2_cfg_t *cfg) |
Initialization function. | |
uint16_t | hallcurrent2_generic_read (hallcurrent2_t *ctx) |
Generic read function. | |
void hallcurrent2_cfg_setup | ( | hallcurrent2_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint16_t hallcurrent2_generic_read | ( | hallcurrent2_t * | ctx | ) |
Generic read function.
ctx | Click object. |
@description This function reads data from the desired register.
HALLCURRENT2_RETVAL hallcurrent2_init | ( | hallcurrent2_t * | ctx, |
hallcurrent2_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.