31.1.3.7 pdec_async_set_up_threshold
Set Position Decoder upper threshold.
int32_t pdec_async_set_up_threshold(
struct pdec_async_descriptor *const descr,
const uint32_t up_threshold,
uint8_t axis
)
This function sets Position Decoder upper threshold.
Parameters
- descr
-
Type: struct pdec_async_descriptor Struct *const
The pointer to the Position Decoder descriptor
- up_threshold
-
Type: const uint32_t
An upper threshold to set
Returns
Type: int32_t
Status of the Position Decoder upper threshold setting.