編譯例子就失敗,說這個(gè)文件有錯(cuò)
Keil\WCH32F2xx_DFP\1.0.3\Device\StdPeriph_Driver\src\ch32f20x_misc.c
說這一行代碼不對(duì)
NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority;
查了下 應(yīng)該是少了個(gè)R
NVIC->IPR[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority;
發(fā)布代碼都這么不嚴(yán)肅的嗎