|
earthquake 2.2.0
|
This file contains API for Earthquake Click driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_i2c_master.h"Go to the source code of this file.
Data Structures | |
| struct | earthquake_t |
| Click ctx object definition. More... | |
| struct | earthquake_cfg_t |
| Click configuration structure definition. More... | |
Functions | |
| void | earthquake_cfg_setup (earthquake_cfg_t *cfg) |
| Config Object Initialization function. | |
| EARTHQUAKE_RETVAL | earthquake_init (earthquake_t *ctx, earthquake_cfg_t *cfg) |
| Initialization function. | |
| void | earthquake_generic_write (earthquake_t *ctx, uint16_t reg, uint8_t *data_buf, uint8_t len) |
| Generic write function. | |
| void | earthquake_generic_read (earthquake_t *ctx, uint16_t reg, uint8_t *data_buf, uint8_t len) |
| Generic read function. | |
| uint8_t | earthquake_proc_notify (earthquake_t *ctx) |
| Shutoff output function. | |
| uint8_t | earthquake_shutoff_output (earthquake_t *ctx) |
| Shutoff output function. | |
| uint8_t | earthquake_read_status (earthquake_t *ctx) |
| Read status function. | |
| uint16_t | earthquake_read_si (earthquake_t *ctx) |
| Read SI function. | |
| void | earthquake_clear_memory (earthquake_t *ctx) |
| Clear Memory function. | |
This file contains API for Earthquake Click driver.