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

Bitfield struct which maps on the diagnosis register. More...

#include <adis.h>

Public Attributes

uint8_t snsr_init_failure:1
 
uint8_t data_path_overrun:1
 
uint8_t fls_mem_update_failure:1
 
uint8_t spi_comm_err:1
 
uint8_t standby_mode:1
 
uint8_t snsr_failure:1
 
uint8_t mem_failure:1
 
uint8_t clk_err:1
 
uint8_t gyro1_failure:1
 
uint8_t gyro2_failure:1
 
uint8_t accl_failure:1
 
uint8_t x_axis_gyro_failure:2
 
uint8_t y_axis_gyro_failure:2
 
uint8_t z_axis_gyro_failure:2
 
uint8_t x_axis_accl_failure:2
 
uint8_t y_axis_accl_failure:2
 
uint8_t z_axis_accl_failure:2
 
uint8_t aduc_mcu_fault:1
 
uint8_t config_calib_crc_error:1
 
uint8_t overrange:1
 
uint8_t temp_err:1
 
uint8_t power_supply_failure:1
 
uint8_t boot_memory_failure:1
 
uint8_t reg_nvm_err:1
 
uint8_t wdg_timer_flag:1
 
uint8_t int_proc_supply_err:1
 
uint8_t ext_5v_supply_err:1
 
uint8_t int_snsr_supply_err:1
 
uint8_t int_reg_err:1
 
uint8_t checksum_err:1
 
uint8_t fls_mem_wr_cnt_exceed:1
 

Detailed Description

Bitfield struct which maps on the diagnosis register.

Member Data Documentation

◆ accl_failure

uint8_t adis_diag_flags::accl_failure

Accelerometer failure.

◆ aduc_mcu_fault

uint8_t adis_diag_flags::aduc_mcu_fault

ADuC microcontroller fault.

◆ boot_memory_failure

uint8_t adis_diag_flags::boot_memory_failure

Power supply failure.

◆ checksum_err

uint8_t adis_diag_flags::checksum_err

Checksum error.

◆ clk_err

uint8_t adis_diag_flags::clk_err

Clock error.

◆ config_calib_crc_error

uint8_t adis_diag_flags::config_calib_crc_error

Configuration and/or calibration CRC error.

◆ data_path_overrun

uint8_t adis_diag_flags::data_path_overrun

Data path overrun bit.

◆ ext_5v_supply_err

uint8_t adis_diag_flags::ext_5v_supply_err

External 5V supply error.

◆ fls_mem_update_failure

uint8_t adis_diag_flags::fls_mem_update_failure

Flash memory update failure.

◆ fls_mem_wr_cnt_exceed

uint8_t adis_diag_flags::fls_mem_wr_cnt_exceed

Flash memory write count exceeded.

◆ gyro1_failure

uint8_t adis_diag_flags::gyro1_failure

Gyroscope 1 failure.

◆ gyro2_failure

uint8_t adis_diag_flags::gyro2_failure

Gyroscope 2 failure.

◆ int_proc_supply_err

uint8_t adis_diag_flags::int_proc_supply_err

Internal processor supply error.

◆ int_reg_err

uint8_t adis_diag_flags::int_reg_err

Internal regulator error.

◆ int_snsr_supply_err

uint8_t adis_diag_flags::int_snsr_supply_err

Internal sensor supply error.

◆ mem_failure

uint8_t adis_diag_flags::mem_failure

Memory failure.

◆ overrange

uint8_t adis_diag_flags::overrange

Overrange event occurred.

◆ power_supply_failure

uint8_t adis_diag_flags::power_supply_failure

Power supply failure.

◆ reg_nvm_err

uint8_t adis_diag_flags::reg_nvm_err

Register NVM error.

◆ snsr_failure

uint8_t adis_diag_flags::snsr_failure

Sensor failure.

◆ snsr_init_failure

uint8_t adis_diag_flags::snsr_init_failure

Sensor initialization failure.

◆ spi_comm_err

uint8_t adis_diag_flags::spi_comm_err

SPI communication error.

◆ standby_mode

uint8_t adis_diag_flags::standby_mode

Standby mode.

◆ temp_err

uint8_t adis_diag_flags::temp_err

Temperature error.

◆ wdg_timer_flag

uint8_t adis_diag_flags::wdg_timer_flag

Watchdog timer flag.

◆ x_axis_accl_failure

uint8_t adis_diag_flags::x_axis_accl_failure

X-Axis accelerometer failure.

◆ x_axis_gyro_failure

uint8_t adis_diag_flags::x_axis_gyro_failure

X-Axis gyroscope failure.

◆ y_axis_accl_failure

uint8_t adis_diag_flags::y_axis_accl_failure

Y-Axis accelerometer failure.

◆ y_axis_gyro_failure

uint8_t adis_diag_flags::y_axis_gyro_failure

Y-Axis gyroscope failure.

◆ z_axis_accl_failure

uint8_t adis_diag_flags::z_axis_accl_failure

Z-Axis accelerometer failure.

◆ z_axis_gyro_failure

uint8_t adis_diag_flags::z_axis_gyro_failure

Z-Axis gyroscope failure.


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