opto4 2.0.0.0
|
Functions | |
void | opto4_cfg_setup (opto4_cfg_t *cfg) |
Config Object Initialization function. | |
OPTO4_RETVAL | opto4_init (opto4_t *ctx, opto4_cfg_t *cfg) |
Initialization function. | |
void | opto4_default_cfg (opto4_t *ctx) |
Click Default Configuration function. | |
void | opto4_output_enable (opto4_t *ctx, uint8_t enable) |
Function for output enable or disable. | |
void opto4_cfg_setup | ( | opto4_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void opto4_default_cfg | ( | opto4_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for OPTO 4 click.
OPTO4_RETVAL opto4_init | ( | opto4_t * | ctx, |
opto4_cfg_t * | cfg ) |
Initialization function.
opto4 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void opto4_output_enable | ( | opto4_t * | ctx, |
uint8_t | enable ) |
Function for output enable or disable.
ctx | Click object. |
enable | Enable |
@description This function sets the status enabled or disabled.