GeekIMU/2.Firmware/STM32/Firmware/system/sys/sys.c

12 lines
301 B
C
Raw Normal View History

2024-11-09 21:39:20 +08:00
#include "sys.h"
#include "stm32f10x_rcc.h"
#include "misc.h"
void NVIC_Configuration(void)
{
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB, ENABLE);
//<2F><><EFBFBD><EFBFBD>NVIC<49>жϷ<D0B6><CFB7><EFBFBD>2:2λ<32><CEBB>ռ<EFBFBD><D5BC><EFBFBD>ȼ<EFBFBD><C8BC><EFBFBD><32><CEBB>Ӧ<EFBFBD><D3A6><EFBFBD>ȼ<EFBFBD>
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
}