22.6.9 Waveform Generation Control

Name: WAVE
Offset: 0x0C
Reset: 0x00
Property: PAC Write-Protection, Enable-Protected

Bit 76543210 
       WAVEGEN[1:0] 
Access R/WR/W 
Reset 00 

Bits 1:0 – WAVEGEN[1:0] Waveform Generation Mode

This bit field controls the waveform generation operation. It affects the top value, as shown in the Waveform Output Operations section. It also controls whether frequency or PWM waveform generation will be used. The waveform generation operations are explained in the Waveform Output Operations section.

ValueNameDescription
0x0 NFRQ Normal Frequency Generation mode
0x1 MFRQ Match Frequency Generation mode
0x2 NPWM Normal Pulse-Width Modulation mode
0x3 MPWM Match Pulse-Width Modulation mode