mic23099 2.0.0.0
mic23099.h File Reference

This file contains API for MIC23099 Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"

Go to the source code of this file.

Data Structures

struct  mic23099_t
 Click ctx object definition. More...
 
struct  mic23099_cfg_t
 Click configuration structure definition. More...
 

Macros

#define MIC23099_MAP_MIKROBUS(cfg, mikrobus)
 
#define MIC23099_RETVAL   uint8_t
 
#define MIC23099_OK   0x00
 
#define MIC23099_INIT_ERROR   0xFF
 
#define MIC23099_DISABLE   0x00
 
#define MIC23099_ENABLE   0x01
 

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

This file contains API for MIC23099 Click driver.