HAL_SetAnalogTriggerFiltered

Function HAL_SetAnalogTriggerFiltered 

Source
pub unsafe extern "C" fn HAL_SetAnalogTriggerFiltered(
    analogTriggerHandle: HAL_AnalogTriggerHandle,
    useFilteredValue: HAL_Bool,
    status: *mut i32,
)
Expand description

Configures the analog trigger to use a filtered value.

The analog trigger will operate with a 3 point average rejection filter. This is designed to help with 360 degree pot applications for the period where the pot crosses through zero.

@param analogTriggerHandle the trigger handle @param useFilteredValue true to use filtered values, false for average or raw