![]() |
#include <etpu_as.h>
Definition at line 71 of file etpu_as.h.
Data Fields | |
const uint8_t | queue_offset |
int24_t | gain |
int24_t | dc_offset |
fract24_t | forget_factor |
|
This 24-bit DC-offset is applied after the gain. Definition at line 80 of file etpu_as.h. Referenced by fs_etpu_as_config(), fs_etpu_as_init(), and fs_etpu_as_measure_dc_offsets(). |
|
This 24-bit fractional value defines a first-order low-pass IIR filter called Exponentioally Weighted Moving Average (EWMA).
Definition at line 82 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
This is an integer gain to apply to the ADC result. The ADC result is a (max) 16-bit number and the gain is used to align it to a 24-bit number. Additionally, a gain correction can be applied using this gain. Definition at line 76 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
This is a byte offset of the ADC result in the eQADC result queue. Together with as_config.result_queue, it defines where the input of AS signal processing is read. Definition at line 73 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
Generated by ![]() |
© Freescale Semiconductor Inc. 2004 - 2012. All Rights Reserved. |