mic23099 2.0.0.0
Public function

Functions

void mic23099_cfg_setup (mic23099_cfg_t *cfg)
 Config Object Initialization function.
 
MIC23099_RETVAL mic23099_init (mic23099_t *ctx, mic23099_cfg_t *cfg)
 Initialization function.
 
void mic23099_default_cfg (mic23099_t *ctx)
 Click Default Configuration function.
 
void mic23099_set_enable (mic23099_t *ctx, uint8_t en_mode)
 Enable MIC23099 function.
 
void mic23099_reset (mic23099_t *ctx)
 Reset MIC23099 function.
 
uint8_t mic23099_check_power_good (mic23099_t *ctx)
 Check Power Good pin function.
 

Detailed Description

Function Documentation

◆ mic23099_cfg_setup()

void mic23099_cfg_setup ( mic23099_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.

◆ mic23099_check_power_good()

uint8_t mic23099_check_power_good ( mic23099_t * ctx)

Check Power Good pin function.

Parameters
ctxClick object.
Returns
 0 : No Power Good 
 1 : Power Good 

@description This function checks the state of Power Good output pin.

◆ mic23099_default_cfg()

void mic23099_default_cfg ( mic23099_t * ctx)

Click Default Configuration function.

Parameters
ctxClick object.

@description This function executes default configuration for MIC23099 click.

◆ mic23099_init()

MIC23099_RETVAL mic23099_init ( mic23099_t * ctx,
mic23099_cfg_t * cfg )

Initialization function.

Parameters
mic23099Click object
cfgClick configuration structure.

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

◆ mic23099_reset()

void mic23099_reset ( mic23099_t * ctx)

Reset MIC23099 function.

Parameters
ctxClick object.

@description This function resets the device.

Note
This function has small 200ms delay.

◆ mic23099_set_enable()

void mic23099_set_enable ( mic23099_t * ctx,
uint8_t en_mode )

Enable MIC23099 function.

Parameters
ctxClick object.
en_mode
 0 : Disable; 
 1 : Enable;  

@description This function enables the device by seting EN pin.