The CTU receives various incoming signals from different sources (PWM, timers, position decoder and/or external pins). These signals are then processed to generate as many as eight trigger events. An input can be a rising edge, a falling edge or both, edges of each incoming signal. The output can be a pulse or a command (or a stream of consecutive commands for over-sampling support) or both, to one or more peripherals (for example, ADC or timers).
The CTU interfaces to the following peripherals:
The 16 input signals are digital signals and the CTU must be able to detect a rising and/or a falling edge for each of them.
The CTU comprises the following:
The block diagram of the CTU is shown in Figure 25-1.
Figure 25-1. Cross triggering unit diagram
The CTU consists of two subunits:
Trigger generator
Scheduler
The trigger generator subunit handles incoming signals, selecting for each signal, the active edges to generate the Master Reload signal, and generates as many as eight trigger events (signals). The scheduler subunit generates the trigger event output according to the occurred trigger event (signal).