7.1.2 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.
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 |
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 |