stepdown2 2.0.0.0

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

Function Documentation

◆ stepdown2_cfg_setup()

void stepdown2_cfg_setup ( stepdown2_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.

◆ stepdown2_digital_read_rst()

uint8_t stepdown2_digital_read_rst ( stepdown2_t * ctx)

Digital read reset function.

Parameters
ctxClick object.

@description This function reads the digital signal from the RST pin.

◆ stepdown2_digital_write_cs()

void stepdown2_digital_write_cs ( stepdown2_t * ctx,
uint8_t signal )

Digital write chip select function.

Parameters
ctxClick object.
signalDigital output signal.

@description This function writes the specified digital signal to the CS pin.

◆ stepdown2_init()

STEPDOWN2_RETVAL stepdown2_init ( stepdown2_t * ctx,
stepdown2_cfg_t * cfg )

Initialization function.

Parameters
stepdown2Click object.
cfgClick configuration structure.

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