2. Dma_config

2.1. Function description:

This demo shows the cpu config basic timer trigger a interrupt. Configure the timer overflow time as 0.2S, and the initial timer to enable update interrupt and update DMA interrupt.DMA will fill the TIM_ARR register with data four times. Due to the configuration of update interrupt, four interrupts will be generated.

2.2. Test result:

If config success printf pass,if not printf fail.

2.3. IO connection:

NONE