spf/api/modules/sp_vi.h
Structures
param_id_sp_vi_op_mode_cfg_t
Members
uint32_t
}
uint32_t
uint32_t
}
vi_r0t0_cfg_t
Members
int32_t
int16_t
This field is valid only in Normal mode (operation_mode = 0).}
int16_t
This field is valid in both Normal mode and Calibration mode.}
param_id_sp_th_vi_r0t0_cfg_t
Members
uint32_t
vi_r0t0_cfg_t
param_id_sp_vi_static_cfg_t
Members
uint32_t
}
uint32_t
}
uint32_t
Pilot tone frequency values MUST be the same for the RX/TH/EX modules}
uint32_t
uint32_t
}
int32_t
}
uint32_t
}
uint32_t
Method2 also requires setting of spk_delta_t_delta_r_ratio_u16q9 param.}
uint32_t
It’s only for laser display. should be disabled at normal mode on devices.}
uint32_t
HAL will set a periodic query on the DC presense flag. If DC is present, HAL will shut down WSA to protect spkrs.}
uint32_t
sp_vi_th_spkr_param_t
Members
int32_t
uint32_t
int32_t
}
int16_t
int16_t
}
int16_t
If (Rvc > factor*(AC impedance)), the speaker is considered open.}
uint16_t
}
uint16_t
int16_t
uint16_t
}
uint16_t
}
uint16_t
}
int16_t
Below this value, the resistance update is unreliable.}
sp_vi_r0t0_cali_param_t
Members
int32_t
int32_t
}
int32_t
}
uint16_t
}
int16_t
}
int16_t
After this threshold, calibrated resistance is considered as failed.}
int16_t
}
param_id_sp_th_vi_dynamic_cfg_t
Members
uint32_t
param_id_sp_th_vi_calib_res_cfg_t
Members
uint32_t
uint32_t
int32_t
The state of each speaker is tied together.}
vi_th_ftm_cfg_t
Members
int32_t
int32_t
param_id_sp_th_vi_ftm_cfg_t
Members
uint32_t
vi_th_ftm_cfg_t
vi_th_ftm_params_t
Members
int32_t
int32_t
uint32_t
param_id_sp_th_vi_ftm_params_t
Members
uint32_t
}
vi_th_ftm_params_t
}
vi_th_v_vali_cfg_t
Members
int32_t
int32_t
param_id_sp_th_vi_v_vali_cfg_t
Members
uint32_t
vi_th_v_vali_cfg_t
vi_th_v_vali_params_t
Members
uint32_t
uint32_t
}
param_id_sp_th_vi_v_vali_params_t
Members
uint32_t
}
vi_th_v_vali_params_t
}
fbsp_tdf_2_cfg_t
Members
int16_t
}
int16_t
}
int32_t
int32_t
}
int16_t
}
int16_t
sp_vi_ex_spkr_param_t
Members
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
fbsp_tdf_2_cfg_t
fbsp_tdf_2_cfg_t
fbsp_tdf_2_cfg_t
param_id_sp_ex_vi_dynamic_cfg_t
Members
uint32_t
sp_vi_ex_spkr_param_t
param_id_sp_ex_vi_stats_t
Members
uint32_t
}
uint32_t
This field is reset to zero after crossing the maximum limit for uint32 variables.}
uint32_t
}
int32_t
}
param_id_sp_ex_vi_mode_cfg_t
Members
uint32_t
When enabled, the estimated spkr parameters are averaged and pushed out to HAL for parameter display and saving into audio.cal}
vi_ex_ftm_cfg_t
Members
int32_t
int32_t
param_id_sp_ex_vi_ftm_cfg_t
Members
uint32_t
vi_ex_ftm_cfg_t
vi_ex_ftm_params_t
Members
int32_t
int32_t
int32_t
int32_t
int32_t
int32_t
uint32_t
param_id_sp_ex_vi_ftm_params_t
Members
uint32_t
vi_ex_ftm_params_t
param_id_sp_vi_channel_map_cfg_t
Members
uint32_t
}
int32_t
SP_VI_VSENS_CHAN1(1)
SP_VI_ISENS_CHAN1(2)
SP_VI_VSENS_CHAN2(3)
SP_VI_ISENS_CHAN2(4)
SP_VI_VSENS_CHAN3(5)
SP_VI_ISENS_CHAN3(6)
SP_VI_VSENS_CHAN4(7)
SP_VI_ISENS_CHAN4(8) Some possible configurations are (1,2,3,4,5,6,7,8), (2,1,4,3,6,5,8,7), (1,2,0,0),(4,3,0,0), and (2,1,0,0). All channels must be unique. The order does not matter as long as the channels are valid. If only two channels are sent (V and I), they must be first two channels: Eg: (4,3), (1,2), etc.}
param_id_sp_ex_vi_CFSmoothing_param_t
Members
uint16_t
uint16_t
}
uint32_t
uint32_t
param_id_vi_output_bps_split_enable_t
Members
uint32_t
If the input has bits per sample as 32 and this is enabled, it splits the output into two channels with bits per sample as 16 for each corresponding input channel.}
param_id_sp_vi_spkr_diag_getpkt_param_t
Members
uint32_t
int32_t
sp_vi_cali_param_t
Members
int32_t
int32_t
param_id_sp_th_vi_calib_res_per_spkr_cfg_param_t
Members
uint32_t
sp_vi_cali_param_t
param_id_max_rated_temp_param_t
Members
uint32_t
int32_t

