MG32F157 Standard Peripherals Firmware Library
Macros | Functions
misc.c File Reference

This file provides all the miscellaneous firmware functions (add-on to CMSIS functions). More...

#include "misc.h"

Macros

#define AIRCR_VECTKEY_MASK   ((uint32_t)0x05FA0000)
 

Functions

void NVIC_PriorityGroupConfig (uint32_t NVIC_PriorityGroup)
 Configures the priority grouping: pre-emption priority and subpriority. More...
 
void NVIC_Init (NVIC_InitTypeDef *NVIC_InitStruct)
 Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct. More...
 
void NVIC_SetVectorTable (uint32_t NVIC_VectTab, uint32_t Offset)
 Sets the vector table location and Offset. More...
 
void NVIC_SystemLPConfig (uint8_t LowPowerMode, FunctionalState NewState)
 Selects the condition for the system to enter low power mode. More...
 
void SysTick_CLKSourceConfig (uint32_t SysTick_CLKSource)
 Configures the SysTick clock source. More...
 
__WEAK void SysTick_DelayNticks (uint32_t n_ticks)
 Delay n ticks. More...
 
__WEAK void SysTick_Delay_Us (uint32_t nUs)
 Delay n Us. More...
 
__WEAK void SysTick_Delay_Ms (uint32_t nMs)
 Delay n Ms. More...
 

Detailed Description

This file provides all the miscellaneous firmware functions (add-on to CMSIS functions).

Author
MegawinTech Application Team
Version
V0.0.4
Date
16-June-2023