Function tc_disable_qdec_interrupt()

Disable TC QDEC interrupts.

void tc_disable_qdec_interrupt(
		Tc * p_tc,
		uint32_t ul_sources)

Note: This function is not available on SAM4L or SAMG devices.
Table 1. Parameters
Data direction Parameter name Description

[out]

p_tc

Module hardware register base address pointer

[in]

ul_sources

A bitmask of QDEC interrupts to be disabled

Where the input parameter ul_sources can be one or more of the following:

Parameter Value

Description

TC_QIDR_IDX

Disable the rising edge detected on IDX input interrupt

TC_QIDR_DIRCHG

Disable the change in rotation direction detected interrupt

TC_QIDR_QERR

Disable the quadrature error detected on PHA/PHB interrupt