tester  2.0.0.0
Functions
Public function

Functions

void tester_cfg_setup (tester_cfg_t *cfg)
 Config Object Initialization function. More...
 
TESTER_RETVAL tester_init (tester_t *ctx, tester_cfg_t *cfg)
 Initialization function. More...
 
void tester_set_pin_high (digital_out_t *pin)
 Set pin high function. More...
 
void tester_set_pin_low (digital_out_t *pin)
 Set pin low function. More...
 

Detailed Description

Function Documentation

◆ tester_cfg_setup()

void tester_cfg_setup ( tester_cfg_t cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ tester_init()

TESTER_RETVAL tester_init ( tester_t ctx,
tester_cfg_t cfg 
)

Initialization function.

Parameters
testerClick object.
cfgClick configuration structure.

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

◆ tester_set_pin_high()

void tester_set_pin_high ( digital_out_t *  pin)

Set pin high function.

Parameters
pinOutput pin adress variable.

This function sets the output voltage on the specified pin to high.

Note
The pin address should be acquired in the following way: { &click.pin }

◆ tester_set_pin_low()

void tester_set_pin_low ( digital_out_t *  pin)

Set pin low function.

Parameters
pinOutput pin adress variable.

This function sets the output voltage on the specified pin to low.

Note
The pin address should be acquired in the following way: { &click.pin }