accel14 2.0.0.0
|
This file contains API for Accel 14 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | accel14_accel_t |
struct | accel14_accel_fs_xl_t |
struct | accel14_t |
Click ctx object definition. More... | |
struct | accel14_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | accel14_cfg_setup (accel14_cfg_t *cfg) |
Config Object Initialization function. | |
ACCEL14_RETVAL | accel14_init (accel14_t *ctx, accel14_cfg_t *cfg) |
Initialization function. | |
void | accel14_default_cfg (accel14_t *ctx) |
Click Default Configuration function. | |
void | accel14_generic_transfer (accel14_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | accel14_generic_write (accel14_t *ctx, uint8_t reg, uint8_t tx_data) |
Generic write function. | |
uint8_t | accel14_generic_read (accel14_t *ctx, uint8_t reg) |
Generic read function. | |
void | accel14_multi_read (accel14_t *ctx, uint8_t reg, uint8_t *p_rx_data, uint8_t n_bytes) |
Generic read sequence function. | |
uint8_t | accel14_check_communication (accel14_t *ctx) |
Check communication function. | |
uint8_t | accel14_check_accel_data_ready (accel14_t *ctx) |
Check accel data ready function. | |
uint8_t | accel14_check_temp_data_ready (accel14_t *ctx) |
Check temperature data ready function. | |
void | accel14_get_data (accel14_t *ctx, accel14_accel_t *accel_data) |
Get Accel data function. | |
float | accel14_get_temperature (accel14_t *ctx) |
Get temperature function. | |
void | accel14_read_accel (accel14_t *ctx, accel14_accel_fs_xl_t *accel_fs) |
Read Accel data function. | |
uint8_t | accel14_check_int1 (accel14_t *ctx) |
Get interrupt 1 ststus function. | |
uint8_t | accel14_check_int2 (accel14_t *ctx) |
Get interrupt 2 ststus function. | |
This file contains API for Accel 14 Click driver.