SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Table 22-18 lists the steps in the GP timer PWM mode configuration.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Select autoreload mode. | TCLR[1] AR | 0x- |
| Set prescale timer value. | TCLR[4:2] PTV | 0x- |
| Enable prescaler. | TCLR[5] PRE | 0x1 |
| Select trigger output mode. | TCLR[11:10] TRG | 0x- |
| Select pulse or toggle modulation PWM mode. | TCLR[12] PT | 0x- |
| Select TIMERi (where i = 2 to 11 and 13 to 16) PWM output at device pin timeri. | TCLR[14] GPO_CFG | 0x0 |
| Configure PWM output pin default value. | TCLR[7] SCPWM | 0x- |
| Load timer load value. | TLDR | 0x- |
| Load timer compare value. | TMAR | 0x- |
| Enable compare. | TCLR[6] CE | 0x1 |
| Start the timer. | TCLR[0] ST | 0x1 |