no-OS
|
ADIS device descriptor structure. More...
#include <adis.h>
Public Attributes | |
struct no_os_spi_desc * | spi_desc |
struct no_os_gpio_desc * | gpio_reset |
const struct adis_chip_info * | info |
struct adis_diag_flags | diag_flags |
struct adis_temp_flags | temp_flags |
enum adis_device_id | dev_id |
uint32_t | current_page |
uint8_t | tx [12] |
uint8_t | rx [8] |
uint32_t | int_clk |
uint32_t | ext_clk |
bool | fifo_enabled |
bool | burst32 |
uint8_t | burst_sel |
bool | is_locked |
ADIS device descriptor structure.
bool adis_dev::burst32 |
Set to true if device burst32 is enabled.
uint8_t adis_dev::burst_sel |
Burst data selection: 0 for accel/gyro data; 1 for delta angle/ delta velocity data.
uint32_t adis_dev::current_page |
Current page to be accessed in register map.
enum adis_device_id adis_dev::dev_id |
Current device id, specified by the user
struct adis_diag_flags adis_dev::diag_flags |
Current diagnosis flags values.
uint32_t adis_dev::ext_clk |
External clock frequency in Hertz.
bool adis_dev::fifo_enabled |
Set to true if device fifo is enabled.
struct no_os_gpio_desc* adis_dev::gpio_reset |
GPIO descriptor used to handle the reset pin.
const struct adis_chip_info* adis_dev::info |
Specific chip information.
uint32_t adis_dev::int_clk |
Internal clock frequency in Hertz.
bool adis_dev::is_locked |
Device is locked, only data readings are allowed, no configuration allowed.
uint8_t adis_dev::rx[8] |
Receive buffer used in SPI transactions.
struct no_os_spi_desc* adis_dev::spi_desc |
SPI descriptor used for SPI communication.
struct adis_temp_flags adis_dev::temp_flags |
Current temperature flags values.
uint8_t adis_dev::tx[12] |
Transmit buffer used in SPI transactions.