pdec_async_set_low_threshold

Set Position Decoder lower threshold.

int32_t pdec_async_set_low_threshold(
    struct pdec_async_descriptor *const descr,
    const uint32_t low_threshold,
    uint8_t axis
)

This function sets Position Decoder lower threshold.

Parameters

descr

Type: struct pdec_async_descriptor Struct *const

The pointer to the Position Decoder descriptor

low_threshold

Type: const uint32_t

A lower threshold to set

axis

Type: uint8_t

The axis number to set

Returns

Type: int32_t

Status of the Position Decoder lower threshold setting.