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

ADIS specific chip information structure. More...

#include <adis_internals.h>

Collaboration diagram for adis_chip_info:
Collaboration graph
[legend]

Public Attributes

const struct adis_init_paramip
 
const struct adis_data_field_map_deffield_map
 
const struct adis_clk_freq_limitsync_clk_freq_limits
 
const struct adis_clk_freq_limit sampling_clk_limits
 
const struct adis_timeouttimeouts
 
const uint32_t flags
 
uint32_t read_delay
 
uint32_t write_delay
 
uint32_t cs_change_delay
 
bool has_paging
 
bool has_lock
 
uint16_t filt_size_var_b_max
 
uint16_t dec_rate_max
 
uint8_t sync_mode_max
 
uint32_t fls_mem_wr_cntr_max
 
uint8_t bias_corr_tbc_max
 
uint8_t fir_coef_idx_max
 
uint32_t int_clk
 
int(* get_scale )(struct adis_dev *adis, uint32_t *scale_m1, uint32_t *scale_m2, enum adis_chan_type chan_type)
 
int(* read_reg )(struct adis_dev *adis, uint32_t reg, uint32_t *val, uint32_t size)
 
int(* write_reg )(struct adis_dev *adis, uint32_t reg, uint32_t val, uint32_t size)
 
int(* read_burst_data )(struct adis_dev *adis, struct adis_burst_data *data, bool burst32, uint8_t burst_sel, bool fifo_pop, bool crc_check)
 
int(* get_offset )(struct adis_dev *adis, int *offset, enum adis_chan_type chan_type)
 
int(* read_sync_mode )(struct adis_dev *adis, uint32_t *sync_mode)
 
int(* write_sync_mode )(struct adis_dev *adis, uint32_t sync_mode, uint32_t ext_clk)
 
int(* write_lpf )(struct adis_dev *adis, enum adis_chan_type chan, enum adis_axis_type axis, uint32_t freq)
 
int(* read_lpf )(struct adis_dev *adis, enum adis_chan_type chan, enum adis_axis_type axis, uint32_t *freq)
 

Detailed Description

ADIS specific chip information structure.

Member Data Documentation

◆ bias_corr_tbc_max

uint8_t adis_chip_info::bias_corr_tbc_max

Chip specific bias correction time base control maximum allowed encoded value.

◆ cs_change_delay

uint32_t adis_chip_info::cs_change_delay

Chip specific chip select change delay for SPI transactions.

◆ dec_rate_max

uint16_t adis_chip_info::dec_rate_max

Chip specific decimation rate field maximum allowed value.

◆ field_map

const struct adis_data_field_map_def* adis_chip_info::field_map

Chip specific field map configuration.

◆ filt_size_var_b_max

uint16_t adis_chip_info::filt_size_var_b_max

Chip specific filter size variable B field maximum allowed value.

◆ fir_coef_idx_max

uint8_t adis_chip_info::fir_coef_idx_max

Maximum FIR filter coefficient id.

◆ flags

const uint32_t adis_chip_info::flags

Chip specific flags.

◆ fls_mem_wr_cntr_max

uint32_t adis_chip_info::fls_mem_wr_cntr_max

Chip specific flash memory write counter maximum allowed value.

◆ get_offset

int(* adis_chip_info::get_offset) (struct adis_dev *adis, int *offset, enum adis_chan_type chan_type)

Chip specific implementation for reading channel offset.

◆ get_scale

int(* adis_chip_info::get_scale) (struct adis_dev *adis, uint32_t *scale_m1, uint32_t *scale_m2, enum adis_chan_type chan_type)

Chip specific implementation to obtain the channel scale members.

◆ has_lock

bool adis_chip_info::has_lock

Chip specific flag to specify whether a write lock setting is available.

◆ has_paging

bool adis_chip_info::has_paging

Chip specific flag to specify whether the SPI transaction addressing supports paging.

◆ int_clk

uint32_t adis_chip_info::int_clk

Chip specific internal clock frequency in Hertz.

◆ ip

const struct adis_init_param* adis_chip_info::ip

Chip specific initialization parameters.

◆ read_burst_data

int(* adis_chip_info::read_burst_data) (struct adis_dev *adis, struct adis_burst_data *data, bool burst32, uint8_t burst_sel, bool fifo_pop, bool crc_check)

Chip specifc implementation for reading burst data.

◆ read_delay

uint32_t adis_chip_info::read_delay

Chip specific read delay for SPI transactions.

◆ read_lpf

int(* adis_chip_info::read_lpf) (struct adis_dev *adis, enum adis_chan_type chan, enum adis_axis_type axis, uint32_t *freq)

Chip specific implementation for reading the low pass filter frequency.

◆ read_reg

int(* adis_chip_info::read_reg) (struct adis_dev *adis, uint32_t reg, uint32_t *val, uint32_t size)

Chip specific implementation for reading a register.

◆ read_sync_mode

int(* adis_chip_info::read_sync_mode) (struct adis_dev *adis, uint32_t *sync_mode)

Chip specific implementation for reading sync_mode.

◆ sampling_clk_limits

const struct adis_clk_freq_limit adis_chip_info::sampling_clk_limits

Chip specific sampling clock frequency limits.

◆ sync_clk_freq_limits

const struct adis_clk_freq_limit* adis_chip_info::sync_clk_freq_limits

Chip specific synchronization clock frequency limits.

◆ sync_mode_max

uint8_t adis_chip_info::sync_mode_max

Chip specific sync mode select field maximum allowed value.

◆ timeouts

const struct adis_timeout* adis_chip_info::timeouts

Chip specific timeouts.

◆ write_delay

uint32_t adis_chip_info::write_delay

Chip specific write delay for SPI transactions.

◆ write_lpf

int(* adis_chip_info::write_lpf) (struct adis_dev *adis, enum adis_chan_type chan, enum adis_axis_type axis, uint32_t freq)

Chip specific implementation for writing the low pass filter frequency.

◆ write_reg

int(* adis_chip_info::write_reg) (struct adis_dev *adis, uint32_t reg, uint32_t val, uint32_t size)

Chip specific implementation for writing a register.

◆ write_sync_mode

int(* adis_chip_info::write_sync_mode) (struct adis_dev *adis, uint32_t sync_mode, uint32_t ext_clk)

Chip specific implementation for writing sync_mode.


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