efuse 2.0.0.0
efuse.h File Reference

This file contains API for eFuse Click Driver. More...

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

Go to the source code of this file.

Data Structures

struct  efuse_t
 eFuse Click context object. More...
 
struct  efuse_cfg_t
 eFuse Click configuration object. More...
 

Macros

#define EFUSE_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Enumerations

enum  efuse_return_value_t { EFUSE_OK = 0 , EFUSE_ERROR = -1 }
 eFuse Click return value data. More...
 

Functions

void efuse_cfg_setup (efuse_cfg_t *cfg)
 eFuse configuration object setup function.
 
err_t efuse_init (efuse_t *ctx, efuse_cfg_t *cfg)
 eFuse initialization function.
 
err_t efuse_default_cfg (efuse_t *ctx)
 eFuse default configuration function.
 
void efuse_enable_device (efuse_t *ctx)
 eFuse enable the device function.
 
void efuse_disable_device (efuse_t *ctx)
 eFuse disable the device function.
 
void efuse_enable_pwm (efuse_t *ctx)
 eFuse enable PWM function.
 
void efuse_disable_pwm (efuse_t *ctx)
 eFuse disable the device function.
 

Detailed Description

This file contains API for eFuse Click Driver.

Enumeration Type Documentation

◆ efuse_return_value_t

eFuse Click return value data.

Predefined enum values for driver return values.

Enumerator
EFUSE_OK 
EFUSE_ERROR