Hardware Abstraction Layer (HAL)

group_hal_impl_quaddec

Selecting Pins for Quadrature Decoding

To identify the pins that are available to use with the Quadrature Decoder, open the PSoC device datasheet and navigate to the 'Multiple Alternate Functions' table. Any pin that has the peri.tr_io_input function can be used.

Note
The cyhal_quaddec_connect_digital() and cyhal_quaddec_disconnect_digital() functions are not supported with this device and will return a CYHAL_QUADDEC_RSLT_ERR_NOT_SUPPORTED error if it is called. This device does not have the internal circuitry routing that this function is used to configure.