
GD32F20x User Manual
11
17.4.10. RTC alarm low register (RTC_ALRML)...................................................................................324
18. TIMER..................................................................................................................... 326
18.1. Advanced timer (TIMERx, x=0, 7)................................................................................... 327
18.1.1. Overview..........................................................................................................................................327
18.1.2. Characteristics.................................................................................................................................327
18.1.3. Block diagram..................................................................................................................................328
18.1.4. Function overview...........................................................................................................................330
18.1.5. Register definition...........................................................................................................................359
18.2. General level0 timer (TIMERx, x=1, 2, 3, 4) .................................................................... 386
18.2.1. Overview..........................................................................................................................................386
18.2.2. Characteristics.................................................................................................................................386
18.2.3. Block diagram..................................................................................................................................386
18.2.4. Function overview...........................................................................................................................388
18.2.5. Register definition...........................................................................................................................404
18.3. General level1 timer (TIMERx, x=8, 11).......................................................................... 426
18.3.1. Overview..........................................................................................................................................426
18.3.2. Characteristics.................................................................................................................................426
18.3.3. Block diagram..................................................................................................................................427
18.3.4. Function overview...........................................................................................................................427
18.3.5. Register definition...........................................................................................................................442
18.4. General level2 timer (TIMERx, x=9, 10, 12, 13)............................................................... 455
18.4.1. Overview..........................................................................................................................................455
18.4.2. Characteristics.................................................................................................................................455
18.4.3. Block diagram..................................................................................................................................455
18.4.4. Function overview...........................................................................................................................456
18.4.5. Register definition...........................................................................................................................467
18.5. Basic timer (TIMERx, x=5, 6).......................................................................................... 478
18.5.1. Overview..........................................................................................................................................478
18.5.2. Characteristics.................................................................................................................................478
18.5.3. Block diagram..................................................................................................................................478
18.5.4. Function overview...........................................................................................................................479
18.5.5. Register definition...........................................................................................................................483
19. Universal synchronous/asynchronous receiver /transmitter (USART) ........ 488
19.1. Overview...................................................................................................................... 488
19.2. Characteristics.......................................................................................................... 488
19.3. Function overview ........................................................................................................ 489
19.3.1. USART frame format......................................................................................................................490
19.3.2. Baud rate generation......................................................................................................................491
19.3.3. USART transmitter..........................................................................................................................491
19.3.4. USART receiver..............................................................................................................................492
19.3.5. Use DMA for data buffer access...................................................................................................494