W7500x Reference Manual Version1.1.0
194 / 399
Figure 32 The PWM output up to match register
Figure 33 The PWM output up to limit register
If match register is set as 0, the PWM output will be 1 while the Timer/Counter is 0.
If the match register is bigger than the limit register, the PWM output is always 1.
Interrupt
The PWM has 8-bit interrupt enable register(IER) and each bit of IER corresponds to each
interrupt of channel. Each PWM channel has Channel-n Interrupt Enable register(CHn_IER).
The CHn_IER includes three types of interrupt: match, overflow, and capture. The match
interrupt occurs when the Timer/Counter is reached to value of match register. The overflow
interrupt occurs when the Timer/Counter is reached to value of limit register. The capture
interrupt occurs when external input is entered for capture.
PWMCLK
Start/Stop
Register
Timer/Counter
0
1
2
3
4
Match Interrupt
Match
register
3
PWM output
PWMCLK
Start/Stop
Register
Timer/Counter
4
5
6
7
0
Overflow
Interrupt
Limit
register
7
PWM output
3
Содержание W7500
Страница 28: ...W7500x Reference Manual Version1 1 0 28 399 Memory map Figure 2 W7500x memory map ...
Страница 324: ...W7500x Reference Manual Version1 1 0 324 399 Figure 46 UART character frame ...
Страница 391: ...W7500x Reference Manual Version1 1 0 391 399 1 SSP1 must not drive the SSPTXD output in slave mode ...