PWM Generator
11-9
Pulse Width Modulator/Tone Generator
11.3.2 Example of PWM Tone Generation Idling
When PWM is idling, system requirements for the PWM output varies (idle at
low or high voltage). The output of P3.3 (Tone/PWM) is internal pull-high upon
power-on reset—idle high. If idle low is needed, many methods can be used
to initialize P3.3 to low.
Note:
If idle low on Tone/PWM is achieved by writing 0 to P3.3 (which will suppress
PWM output), subsequently, writing a 1 to P3.3 will enable PWM output at
any position of the PWM cycle.
The following program, shown in Table 11−4, is very similar to the one provided
in the previous section. PWM Duty is initially set to zero, which idles the PWM.
It is then reset to 4, at which point the function of the program continues as the
program above. Table 11−5 explains selected statements.
Содержание MSC1210
Страница 1: ... December 2002 User s Guide SBAU077 ...
Страница 149: ...Digital Filter 12 13 Analog to Digital Converter Figure 12 5 Filter Frequency Responses ...
Страница 162: ...12 26 ...
Страница 234: ...Timers 17 6 Figure 17 4 Timer Counter 1 Mode 1 Figure 17 5 Interrupt System ...
Страница 273: ...Serial Port I O 17 45 Keil Simulator Figure 17 19 Clock Control Peripheral Figure 17 20 USART0 Preipheral ...
Страница 282: ...C 4 ...