HPM SDK
HPMicro Software Development Kit
rdc_acc_cfg Struct Reference

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
 

Detailed Description

Accumulated configuration information.

Field Documentation

◆ 

struct { ... }

◆ amp_max

uint32_t rdc_acc_cfg::amp_max

The maximum of acc amplitude

◆ amp_min

uint32_t rdc_acc_cfg::amp_min

The minimum of acc amplitude

◆ continue_edge_num

uint16_t rdc_acc_cfg::continue_edge_num

Filtering val: 1 - 8

◆ edge_distance

uint16_t rdc_acc_cfg::edge_distance

Minimum distance between two edges 0-63

◆ error_data_remove

bool rdc_acc_cfg::error_data_remove

Toxic accumulation data be removed

◆ exc_carrier_period

uint32_t rdc_acc_cfg::exc_carrier_period

The num in clock cycle for period of excitation 0-NULL others-cycles

◆ right_shift_without_sign

uint8_t rdc_acc_cfg::right_shift_without_sign

Right shift without sign bit

◆ sync_delay_i

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.

◆ sync_delay_q

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.


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