no-OS
|
ADIS specific chip information structure. More...
#include <adis_internals.h>
Public Attributes | |
const struct adis_init_param * | ip |
const struct adis_data_field_map_def * | field_map |
const struct adis_clk_freq_limit * | sync_clk_freq_limits |
const struct adis_clk_freq_limit | sampling_clk_limits |
const struct adis_timeout * | timeouts |
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) |
ADIS specific chip information structure.
uint8_t adis_chip_info::bias_corr_tbc_max |
Chip specific bias correction time base control maximum allowed encoded value.
uint32_t adis_chip_info::cs_change_delay |
Chip specific chip select change delay for SPI transactions.
uint16_t adis_chip_info::dec_rate_max |
Chip specific decimation rate field maximum allowed value.
const struct adis_data_field_map_def* adis_chip_info::field_map |
Chip specific field map configuration.
uint16_t adis_chip_info::filt_size_var_b_max |
Chip specific filter size variable B field maximum allowed value.
uint8_t adis_chip_info::fir_coef_idx_max |
Maximum FIR filter coefficient id.
const uint32_t adis_chip_info::flags |
Chip specific flags.
uint32_t adis_chip_info::fls_mem_wr_cntr_max |
Chip specific flash memory write counter maximum allowed value.
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.
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.
bool adis_chip_info::has_lock |
Chip specific flag to specify whether a write lock setting is available.
bool adis_chip_info::has_paging |
Chip specific flag to specify whether the SPI transaction addressing supports paging.
uint32_t adis_chip_info::int_clk |
Chip specific internal clock frequency in Hertz.
const struct adis_init_param* adis_chip_info::ip |
Chip specific initialization parameters.
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.
uint32_t adis_chip_info::read_delay |
Chip specific read delay for SPI transactions.
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.
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.
int(* adis_chip_info::read_sync_mode) (struct adis_dev *adis, uint32_t *sync_mode) |
Chip specific implementation for reading sync_mode.
const struct adis_clk_freq_limit adis_chip_info::sampling_clk_limits |
Chip specific sampling clock frequency limits.
const struct adis_clk_freq_limit* adis_chip_info::sync_clk_freq_limits |
Chip specific synchronization clock frequency limits.
uint8_t adis_chip_info::sync_mode_max |
Chip specific sync mode select field maximum allowed value.
const struct adis_timeout* adis_chip_info::timeouts |
Chip specific timeouts.
uint32_t adis_chip_info::write_delay |
Chip specific write delay for SPI transactions.
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.
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.
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.