no-OS
Public Attributes | List of all members
adis_dev Struct Reference

ADIS device descriptor structure. More...

#include <adis.h>

Collaboration diagram for adis_dev:
Collaboration graph
[legend]

Public Attributes

struct no_os_spi_descspi_desc
 
struct no_os_gpio_descgpio_reset
 
const struct adis_chip_infoinfo
 
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
 

Detailed Description

ADIS device descriptor structure.

Member Data Documentation

◆ burst32

bool adis_dev::burst32

Set to true if device burst32 is enabled.

◆ burst_sel

uint8_t adis_dev::burst_sel

Burst data selection: 0 for accel/gyro data; 1 for delta angle/ delta velocity data.

◆ current_page

uint32_t adis_dev::current_page

Current page to be accessed in register map.

◆ dev_id

enum adis_device_id adis_dev::dev_id

Current device id, specified by the user

◆ diag_flags

struct adis_diag_flags adis_dev::diag_flags

Current diagnosis flags values.

◆ ext_clk

uint32_t adis_dev::ext_clk

External clock frequency in Hertz.

◆ fifo_enabled

bool adis_dev::fifo_enabled

Set to true if device fifo is enabled.

◆ gpio_reset

struct no_os_gpio_desc* adis_dev::gpio_reset

GPIO descriptor used to handle the reset pin.

◆ info

const struct adis_chip_info* adis_dev::info

Specific chip information.

◆ int_clk

uint32_t adis_dev::int_clk

Internal clock frequency in Hertz.

◆ is_locked

bool adis_dev::is_locked

Device is locked, only data readings are allowed, no configuration allowed.

◆ rx

uint8_t adis_dev::rx[8]

Receive buffer used in SPI transactions.

◆ spi_desc

struct no_os_spi_desc* adis_dev::spi_desc

SPI descriptor used for SPI communication.

◆ temp_flags

struct adis_temp_flags adis_dev::temp_flags

Current temperature flags values.

◆ tx

uint8_t adis_dev::tx[12]

Transmit buffer used in SPI transactions.


The documentation for this struct was generated from the following file: