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. | |
void stepdown2_cfg_setup | ( | stepdown2_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t stepdown2_digital_read_rst | ( | stepdown2_t * | ctx | ) |
Digital read reset function.
ctx | Click object. |
@description This function reads the digital signal from the RST pin.
void stepdown2_digital_write_cs | ( | stepdown2_t * | ctx, |
uint8_t | signal ) |
Digital write chip select function.
ctx | Click object. |
signal | Digital output signal. |
@description This function writes the specified digital signal to the CS pin.
STEPDOWN2_RETVAL stepdown2_init | ( | stepdown2_t * | ctx, |
stepdown2_cfg_t * | cfg ) |
Initialization function.
stepdown2 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.