Accumulated configuration information. More...
#include <hpm_rdc_drv.h>
Data Fields | |
| struct { | |
| uint16_t continue_edge_num: 3 | |
| uint16_t edge_distance: 6 | |
| }; | |
| uint8_t | right_shift_without_sign |
| bool | error_data_remove |
| uint32_t | exc_carrier_period |
| uint32_t | sync_delay_i |
| uint32_t | sync_delay_q |
| uint32_t | amp_max |
| uint32_t | amp_min |
Accumulated configuration information.
| struct { ... } |
| uint32_t rdc_acc_cfg::amp_max |
The maximum of acc amplitude
| uint32_t rdc_acc_cfg::amp_min |
The minimum of acc amplitude
| uint16_t rdc_acc_cfg::continue_edge_num |
Filtering val: 1 - 8
| uint16_t rdc_acc_cfg::edge_distance |
Minimum distance between two edges 0-63
| bool rdc_acc_cfg::error_data_remove |
Toxic accumulation data be removed
| uint32_t rdc_acc_cfg::exc_carrier_period |
The num in clock cycle for period of excitation 0-NULL others-cycles
| uint8_t rdc_acc_cfg::right_shift_without_sign |
Right shift without sign bit
| uint32_t rdc_acc_cfg::sync_delay_i |
Delay in clock cycle for synchronous signal, the value should less than half of exc_period.exc_period.
| uint32_t rdc_acc_cfg::sync_delay_q |
Delay in clock cycle for synchronous signal, the value should less than half of exc_period.exc_period.