Function tc_disable_interrupt()

Disable TC interrupts on the specified channel.

void tc_disable_interrupt(
		Tc * p_tc,
		uint32_t ul_channel,
		uint32_t ul_sources)

Table 1. Parameters
Data direction Parameter name Description

[in, out]

p_tc

Module hardware register base address pointer

[in]

ul_channel

Channel to configure

[in]

ul_sources

A bitmask of Interrupt sources

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

Parameter Value

Description

TC_IDR_COVFS

Disables the Counter Overflow Interrupt

TC_IDR_LOVRS

Disables the Load Overrun Interrupt

TC_IDR_CPAS

Disables the RA Compare Interrupt

TC_IDR_CPBS

Disables the RB Compare Interrupt

TC_IDR_CPCS

Disables the RC Compare Interrupt

TC_IDR_LDRAS

Disables the RA Load Interrupt

TC_IDR_LDRBS

Disables the RB Load Interrupt

TC_IDR_ETRGS

Disables the External Trigger Interrupt