EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #285 background imageLoading...
Page #285 background image
UM1581
Miscellaneous add-on to CMSIS functions(misc)
DocID023800 Rev 1
285/584
When the NVIC_PriorityGroup_0 is selected, it will no any nested interrupt, the
IRQ priority will be managed only by subpriority. The sub-priority is only used to
sort pending exception priorities, and does not affect active exceptions.
Lower priority values gives higher priority.
Priority Order:
1. Lowest Preemption priority.
2. Lowest Subpriority.
3. Lowest hardware priority (IRQn position).
15.2.2 MISC functions
15.2.2.1 NVIC_PriorityGroupConfig
Function Name
void NVIC_PriorityGroupConfig ( uint32_t
NVIC_PriorityGroup)
Function Description
Configures the priority grouping: pre-emption priority and
subpriority.
Parameters
ï‚· NVIC_PriorityGroup : specifies the priority grouping bits
length. This parameter can be one of the following values:
 NVIC_PriorityGroup_0 : 0 bits for pre-emption priority.
4 bits for subpriority.
 NVIC_PriorityGroup_1 : 1 bits for pre-emption priority.
3 bits for subpriority.
 NVIC_PriorityGroup_2 : 2 bits for pre-emption priority.
2 bits for subpriority.
 NVIC_PriorityGroup_3 : 3 bits for pre-emption priority.
1 bits for subpriority.
 NVIC_PriorityGroup_4 : 4 bits for pre-emption priority.
0 bits for subpriority.
Return values
ï‚· None.
Notes
ï‚· When NVIC_PriorityGroup_0 is selected, it will no be any
nested interrupt. This interrupts priority is managed only with
subpriority.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals