摘要:
#include "stm32f10x.h" // Device header void TimerInit(void) { RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); TIM_InternalClockConfig(TIM2); /** 阅读全文
posted @ 2024-07-02 18:04
Abraverman
阅读(220)
评论(0)
推荐(0)
摘要:
1、NVIC优先级分组 2、初始化NVIC // NVIC优先级分组 NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1); // NVIC初始化 NVIC_InitTypeDef NVIC_InitStructrue; NVIC_InitStructrue. 阅读全文
posted @ 2024-07-02 17:45
Abraverman
阅读(240)
评论(0)
推荐(0)

浙公网安备 33010602011771号