MG32F10x Standard Peripherals Firmware Library
结构体 | 宏定义 | 函数
misc.h 文件参考

This file contains all the functions prototypes for the miscellaneous firmware library functions (add-on to CMSIS functions). 更多...

#include "mg32f10x.h"

浏览源代码.

结构体

struct  NVIC_InitTypeDef
 NVIC Init Structure definition 更多...
 

宏定义

#define NVIC_VectTab_RAM   ((uint32_t)0x20000000)
 
#define NVIC_VectTab_FLASH   ((uint32_t)0x08000000)
 
#define IS_NVIC_VECTTAB(VECTTAB)
 
#define NVIC_LP_SEVONPEND   ((uint8_t)0x10)
 
#define NVIC_LP_SLEEPDEEP   ((uint8_t)0x04)
 
#define NVIC_LP_SLEEPONEXIT   ((uint8_t)0x02)
 
#define IS_NVIC_LP(LP)
 
#define NVIC_PriorityGroup_0   ((uint32_t)0x700)
 
#define NVIC_PriorityGroup_1   ((uint32_t)0x600)
 
#define NVIC_PriorityGroup_2   ((uint32_t)0x500)
 
#define NVIC_PriorityGroup_3   ((uint32_t)0x400)
 
#define NVIC_PriorityGroup_4   ((uint32_t)0x300)
 
#define IS_NVIC_PRIORITY_GROUP(GROUP)
 
#define IS_NVIC_PREEMPTION_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10)
 
#define IS_NVIC_SUB_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10)
 
#define IS_NVIC_OFFSET(OFFSET)   ((OFFSET) < 0x000FFFFF)
 
#define SysTick_CLKSource_HCLK_Div8   ((uint32_t)0xFFFFFFFB)
 
#define SysTick_CLKSource_HCLK   ((uint32_t)0x00000004)
 
#define IS_SYSTICK_CLK_SOURCE(SOURCE)
 

函数

void NVIC_PriorityGroupConfig (uint32_t NVIC_PriorityGroup)
 Configures the priority grouping: pre-emption priority and subpriority. 更多...
 
void NVIC_Init (NVIC_InitTypeDef *NVIC_InitStruct)
 Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct. 更多...
 
void NVIC_SetVectorTable (uint32_t NVIC_VectTab, uint32_t Offset)
 Sets the vector table location and Offset. 更多...
 
void NVIC_SystemLPConfig (uint8_t LowPowerMode, FunctionalState NewState)
 Selects the condition for the system to enter low power mode. 更多...
 
void SysTick_CLKSourceConfig (uint32_t SysTick_CLKSource)
 Configures the SysTick clock source. 更多...
 

详细描述

This file contains all the functions prototypes for the miscellaneous firmware library functions (add-on to CMSIS functions).

作者
megawin Application Team
版本
V0.1.10
日期
05-January-2023