stepdown2 2.0.0.0
stepdown2.h File Reference

This file contains API for Step Down 2 Click driver. More...

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

Go to the source code of this file.

Data Structures

struct  stepdown2_t
 Click ctx object definition. More...
 
struct  stepdown2_cfg_t
 Click configuration structure definition. More...
 

Macros

#define STEPDOWN2_MAP_MIKROBUS(cfg, mikrobus)
 
#define STEPDOWN2_RETVAL   uint8_t
 
#define STEPDOWN2_OK   0x00
 
#define STEPDOWN2_INIT_ERROR   0xFF
 

Functions

void stepdown2_cfg_setup (stepdown2_cfg_t *cfg)
 Config Object Initialization function.
 
STEPDOWN2_RETVAL stepdown2_init (stepdown2_t *ctx, stepdown2_cfg_t *cfg)
 Initialization function.
 
uint8_t stepdown2_digital_read_rst (stepdown2_t *ctx)
 Digital read reset function.
 
void stepdown2_digital_write_cs (stepdown2_t *ctx, uint8_t signal)
 Digital write chip select function.
 

Detailed Description

This file contains API for Step Down 2 Click driver.