ch32-rs / ch32v00x-hal

HAL for the CH32V003 family of microcontrollers
29 stars 11 forks source link

Add IWDG, ADC, TIM1, TIM2 driver #11

Closed Merisy-Thing closed 2 months ago

Merisy-Thing commented 3 months ago

The driver was tested on the ZK-J5X hack project, including:

Addition, the interrupt entry of the .trap section must be aligned with 1KB, otherwise the interrupt cannot run properly.


QingKeV2 Microprocessor Manual 2.2 Entering exception (page5) ... It should be noted that the vector table base address needs to be 1KB aligned in the QingKe V2 microprocessor.

andelf commented 2 months ago

Let's ship this.