![]() |
no-OS
|
Implementation of adis1657x.c. More...
#include "adis.h"#include "adis_internals.h"#include "adis1657x.h"#include "no_os_units.h"#include <string.h>Macros | |
| #define | ADIS1657X_MSG_SIZE_16_BIT_BURST_FIFO 20 /* in bytes */ |
| #define | ADIS1657X_MSG_SIZE_32_BIT_BURST_FIFO 34 /* in bytes */ |
| #define | ADIS1657X_READ_BURST_DATA_NO_POP 0x00 |
| #define | ADIS1657X_CHECKSUM_BUF_IDX_FIFO 2 |
Functions | |
| int | adis1657x_read_burst_data (struct adis_dev *adis, struct adis_burst_data *data, bool burst32, uint8_t burst_sel, bool fifo_pop, bool crc_check) |
| Read burst data. | |
Variables | |
| const struct adis_chip_info | adis1657x_chip_info |
Implementation of adis1657x.c.
Copyright 2023(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define ADIS1657X_CHECKSUM_BUF_IDX_FIFO 2 |
| #define ADIS1657X_MSG_SIZE_16_BIT_BURST_FIFO 20 /* in bytes */ |
| #define ADIS1657X_MSG_SIZE_32_BIT_BURST_FIFO 34 /* in bytes */ |
| #define ADIS1657X_READ_BURST_DATA_NO_POP 0x00 |
| int adis1657x_read_burst_data | ( | struct adis_dev * | adis, |
| struct adis_burst_data * | data, | ||
| bool | burst32, | ||
| uint8_t | burst_sel, | ||
| bool | fifo_pop, | ||
| bool | crc_check ) |
Read burst data.
| adis | - The adis device. |
| data | - The burst read data structure to be populated. |
| burst32 | - True if 32-bit data is requested for accel and gyro (or delta angle and delta velocity) measurements, false if 16-bit data is requested. |
| burst_sel | - 0 if accel and gyro data is requested, 1 if delta angle and delta velocity is requested. |
| fifo_pop | - In case FIFO is present, will pop the fifo if true. Unused if FIFO is not present. |
| crc_check | - If true CRC will be checked, if false check will be skipped. |
| const struct adis_chip_info adis1657x_chip_info |