proxfusion 2.0.0.0
|
Functions | |
void | proxfusion_cfg_setup (proxfusion_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | proxfusion_init (proxfusion_t *ctx, proxfusion_cfg_t *cfg) |
Initialization function. | |
err_t | proxfusion_default_cfg (proxfusion_t *ctx) |
Click Default Configuration function. | |
err_t | proxfusion_generic_write (proxfusion_t *ctx, uint8_t reg, uint8_t *data_buffer, uint8_t len) |
Generic write function. | |
err_t | proxfusion_generic_read (proxfusion_t *ctx, uint8_t reg, uint8_t *data_buffer, uint8_t len) |
Generic read function. | |
uint8_t | proxfusion_get_touch (proxfusion_t *ctx) |
Touch event. | |
err_t | proxfusion_set_system_reg (proxfusion_t *ctx, uint8_t cfg) |
Sets system register. | |
err_t | proxfusion_set_event_reg (proxfusion_t *ctx, uint8_t cfg) |
Selecting events. | |
void proxfusion_cfg_setup | ( | proxfusion_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
err_t proxfusion_default_cfg | ( | proxfusion_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
0
- Success, -1
- Error. See #err_t definition for detailed explanation.err_t proxfusion_generic_read | ( | proxfusion_t * | ctx, |
uint8_t | reg, | ||
uint8_t * | data_buffer, | ||
uint8_t | len ) |
Generic read function.
ctx | Click object. |
reg | Register address. |
data_buffer | Data buffer to be written. |
len | Number of the bytes in data buffer. |
0
- Success, -1
- Error. See #err_t definition for detailed explanation.err_t proxfusion_generic_write | ( | proxfusion_t * | ctx, |
uint8_t | reg, | ||
uint8_t * | data_buffer, | ||
uint8_t | len ) |
Generic write function.
ctx | Click object. |
reg | Register address. |
data_buffer | Output data buffer |
len | Number of the bytes to be read |
0
- Success, -1
- Error. See #err_t definition for detailed explanation.uint8_t proxfusion_get_touch | ( | proxfusion_t * | ctx | ) |
Touch event.
ctx | Click object. |
err_t proxfusion_init | ( | proxfusion_t * | ctx, |
proxfusion_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
0
- Success, -1
- Error. See #err_t definition for detailed explanation.err_t proxfusion_set_event_reg | ( | proxfusion_t * | ctx, |
uint8_t | cfg ) |
Selecting events.
ctx | Click object. |
cfg | Event register configuration |
0
- Success, -1
- Error. See #err_t definition for detailed explanation. err_t proxfusion_set_system_reg | ( | proxfusion_t * | ctx, |
uint8_t | cfg ) |
Sets system register.
ctx | Click object. |
cfg | System register configuration |
0
- Success, -1
- Error. See #err_t definition for detailed explanation.