driver 2.0.0.0
|
Functions | |
void | driver_cfg_setup (driver_cfg_t *cfg) |
Config Object Initialization function. | |
DRIVER_RETVAL | driver_init (driver_t *ctx, driver_cfg_t *cfg) |
Initialization function. | |
void | driver_set_in1 (driver_t *ctx, uint8_t state) |
IN1 Set function. | |
void | driver_set_in2 (driver_t *ctx, uint8_t state) |
IN2 Set function. | |
void | driver_set_in3 (driver_t *ctx, uint8_t state) |
IN3 Set function. | |
void | driver_set_in4 (driver_t *ctx, uint8_t state) |
IN4 Set function. | |
void | driver_set_in5 (driver_t *ctx, uint8_t state) |
IN5 Set function. | |
void | driver_set_in6 (driver_t *ctx, uint8_t state) |
IN6 Set function. | |
void | driver_set_in7 (driver_t *ctx, uint8_t state) |
IN7 Set function. | |
void driver_cfg_setup | ( | driver_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
DRIVER_RETVAL driver_init | ( | driver_t * | ctx, |
driver_cfg_t * | cfg ) |
Initialization function.
driver | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void driver_set_in1 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN1 Set function.
ctx | Click object. |
state | 0 - OUT1 ON, 1 - OUT1 OFF. |
@description This function determines state of output 1 (OUT1).
void driver_set_in2 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN2 Set function.
ctx | Click object. |
state | 0 - OUT2 ON, 1 - OUT2 OFF. |
@description This function determines state of output 2 (OUT2).
void driver_set_in3 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN3 Set function.
ctx | Click object. |
state | 0 - OUT3 ON, 1 - OUT3 OFF. |
@description This function determines state of output 3 (OUT3).
void driver_set_in4 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN4 Set function.
state | 0 - OUT4 ON, 1 - OUT4 OFF |
Function determines state of output 4 (OUT4).
void driver_set_in5 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN5 Set function.
state | 0 - OUT5 ON, 1 - OUT5 OFF |
Function determines state of output 5 (OUT5).
void driver_set_in6 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN6 Set function.
state | 0 - OUT6 ON, 1 - OUT6 OFF |
Function determines state of output 6 (OUT6).
void driver_set_in7 | ( | driver_t * | ctx, |
uint8_t | state ) |
IN7 Set function.
state | 0 - OUT7 ON, 1 - OUT7 OFF |
Function determines state of output 7 (OUT7).