GD32W51x User Manual
26
Figure 17-34. General Level 0 timer block diagram
.............................................................................506
Figure 17-35. Normal mode, internal clock divided by 1
...................................................................507
Figure 17-36. Counter timing diagram with prescaler division change from 1 to 2
Figure 17-37. Timing chart of up counting mode, PSC=0/1
.............................................................509
Figure 17-38. Timing chart of up counting mode, change TIMERx_CAR ongoing
Figure 17-39. Timing chart of down counting mode,PSC=0/1
........................................................510
Figure 17-40. Timing chart of down counting mode, change TIMERx_CAR ongoing
Figure 17-41. Timing chart of center-aligned counting mode
.........................................................512
Figure 17-42. Input capture logic
Figure 17-43. Output compare logic (x=0,1,2,3)
....................................................................................514
Figure 17-44. Output-compare in three modes
.....................................................................................515
Figure 17-45. Timing chart of EAPWM
Figure 17-46. Timing chart of CAPWM
Figure 17-47. Example of counter operation in encoder interface mode
..................................518
Figure 17-48. Example of encoder interface mode with CI0FE0 polarity inverted
Figure 17-52. Single pulse mode TIMERx_CHxCV = 0x04 TIMERx_CAR=0x60
Figure 17-53. General level4 timer block diagram
...............................................................................550
Figure 17-54. Normal mode, internal clock divided by 1
...................................................................551
Figure 17-55. Counter timing diagram with prescaler division change from 1 to 2
Figure 17-56. Up-counter timechart, PSC=0/1
.......................................................................................552
Figure 17-57. Up-counter timechart, change TIMERx_CAR on the go
........................................553
Figure 17-58. Repetition timechart for up-counter
..............................................................................554
Figure 17-59. Input capture logic
Figure 17-60. Output compare logic (with complementary output, x=0)
...................................556
Figure 17-61. Output-compare under three modes
.............................................................................557
Figure 17-62. PWM mode timechart
Figure 17-63. Complementary output with dead-time insertion.
...................................................560
Figure 17-64. Output behavior in response to a break(The break high active)
Figure 17-65. Single pulse mode TIMERx_CHxCV = 0x04 TIMERx_CAR=0x60
Figure 17-66. Basic timer block diagram
.................................................................................................580
Figure 17-67. Normal mode, internal clock divided by 1
...................................................................581
Figure 17-68. Counter timing diagram with prescaler division change from 1 to 2
Figure 17-69. Timing chart of up counting mode, PSC=0/1
.............................................................582
Figure 17-70. Timing chart of up counting mode, change TIMERx_CAR ongoing
Figure 18-1. USART module block diagram
............................................................................................591
Figure 18-2. USART character frame (8 bits data and 1 stop bit)
..................................................592
Figure 18-3. USART transmit procedure
Figure 18-4. Oversampling method of a receive frame bit (OSB=0)
............................................595
Figure 18-5. Configuration step when using DMA for USART transmission
...........................596
Figure 18-6. Configuration step when using DMA for USART reception
...................................597
Figure 18-7. Hardware flow control between two USARTs
..............................................................597