23.3.2.4.4 Input Modes

The user can select between 10 input modes. The selection is done by writing the Input Mode bit field (INPUTMODE) in the Input Control x register (TCDn.INPUTCTRLx).

Table 23-4.  Input Mode Description
INPUTMODEDescription
0x0Input has no action
0x1Stop output, jump to opposite compare cycle and wait
0x2Stop output, execute opposite compare cycle and wait
0x3Stop output, execute opposite compare cycle while fault active
0x4Stop all outputs, maintain frequency
0x5Stop all outputs, execute dead time while fault active
0x6Stop all outputs, jump to next compare cycle and wait
0x7Stop all outputs, wait for software action
0x8Stop output on edge, jump to next compare cycle
0x9Stop output on edge, maintain frequency
0xAStop output at level, maintain frequency
otherReserved

Not all input modes work in all Waveform Generation modes. Below is a table that shows what Waveform Generation modes the different input modes are valid in.

Table 23-5. Ramp Mode the Different Input Modes are Valid In
INPUTMODEOne Ramp ModeTwo Ramp ModeFour Ramp ModeDual Slope Mode
0x1ValidValidValidDo not use
0x2Do not useValidValidDo not use
0x3Do not useValidValidDo not use
0x4ValidValidValidValid
0x5Do not useValidValidDo not use
0x6Do not useValidValidDo not use
0x7ValidValidValidValid
0x8ValidValidValidDo not use
0x9ValidValidValidDo not use
0xAValidValidValidDo not use

In the following sections the different Input modes are presented in detail.