07 2024 档案
摘要:#include "stm32f10x.h" // Device header void TimerInit(void) { RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); TIM_InternalClockConfig(TIM2); /**
阅读全文
摘要:1、NVIC优先级分组 2、初始化NVIC // NVIC优先级分组 NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1); // NVIC初始化 NVIC_InitTypeDef NVIC_InitStructrue; NVIC_InitStructrue.
阅读全文

浙公网安备 33010602011771号