GD32W51x User Manual
25
Figure 14-7. Auto-insertion, CTN = 1
Figure 14-8. Triggered insertion
Figure 14-9. Data alignment of 12-bit resolution
..................................................................................367
Figure 14-10. 20-bit to 16-bit re sult truncation
......................................................................................371
Figure 14-11. A numerical example with 5-bit shifting and rounding
..........................................371
Figure 15-1. Free watchdog timer block diagram
.................................................................................388
Figure 15-2. Window watchdog timer block diagram
.........................................................................394
Figure 15-3. Window watchdog timing diagram
...................................................................................395
Figure 16-1. Block diagram of RTC
Figure 16-2. Backup registers secure protections configuration
.................................................416
Figure 17-1. Advanced timer block diagram
...........................................................................................448
Figure 17-2. Normal mode, internal clock divided by 1
.....................................................................449
Figure 17-3. Counter timing diagram with prescaler division change from 1 to 2
Figure 17-4. Timing chart of up counting mode, PSC=0/1
...............................................................451
Figure 17-5. Timing chart of up counting mode, change TIMERx_CAR ongoing
Figure 17-6. Timing chart of down counting mode, PSC=0/1
.........................................................452
Figure 17-7. Timing chart of dow n counting mode, change TIMERx_CAR ongoing
Figure 17-8. Timing chart of center-aligned counting mode
...........................................................454
Figure 17-9. Repetition counter timing chart of center-aligned counting mode
Figure 17-10. Repetition counter timing chart of up counting mode
..........................................455
Figure 17-11. Repetition counter timing chart of down counting mode
.....................................456
Figure 17-12. Input capture logic
Figure 17-13. Output compare logic (with complementary output, x=0,1,2)
............................458
Figure 17-14. Output compare logic (CH3_O)
........................................................................................458
Figure 17-15. Output-compare in three modes
.....................................................................................460
Figure 17-16. Timing chart of EAPWM
Figure 17-17. Timing chart of CAPWM
Figure 17-18. Complementary output with dead-time insertion.
...................................................464
Figure 17-19. Output behavior of the channel in response to a break (the break high active)
Figure 17-20. Example of counter operation in encoder interface mode
..................................466
Figure 17-21. Example of encoder interface mode with CI0FE0 polarity inverted
Figure 17-22. Hall sensor is used to BLDC motor
................................................................................467
Figure 17-23. Hall sensor timing between two timers
........................................................................468
Figure 17-27. Single pulse mode TIMERx_CHxCV = 0x04 TIMERx_CAR=0x60
Figure 17-28. Timer0 master/slave mode example
..............................................................................471
Figure 17-29. Trigger mode of TIMER0 controlled by enable signal of TIMER2
Figure 17-30. Trigger mode of TIMER0 controlled by update signal of TIMER2
Figure 17-31. Pause mode of TIMER0 controlled by enable signal of TIMER2
Figure 17-32. Pause mode of TIMER0 controlled by O0CPREF signal of TIMER2
Figure 17-33. Trigger TIMER0 and TIMER2 by the CI0 signal of TIMER2