Macros | Functions
stm32f30x_misc.c File Reference

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

#include "stm32f30x_misc.h"
Include dependency graph for stm32f30x_misc.c:

Go to the source code of this file.

Macros

#define AIRCR_VECTKEY_MASK   ((uint32_t)0x05FA0000)
 

Functions

void NVIC_Init (NVIC_InitTypeDef *NVIC_InitStruct)
 Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct. More...
 
void NVIC_PriorityGroupConfig (uint32_t NVIC_PriorityGroup)
 Configures the priority grouping: pre-emption priority and subpriority. 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...
 

Detailed Description

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

Author
MCD Application Team
Version
V1.1.1
Date
04-April-2014
===============================================================================      
             ##### How to configure Interrupts using driver #####
===============================================================================      
   [..] This section provide functions allowing to configure the NVIC interrupts 
        (IRQ). The Cortex-M4 exceptions are managed by CMSIS functions.
        (#) Configure the NVIC Priority Grouping using NVIC_PriorityGroupConfig()
            function according to the following table.
            The table below gives the allowed values of the pre-emption priority 
            and subpriority according to the Priority Grouping configuration 
            performed by NVIC_PriorityGroupConfig function.
        
        (#) Enable and Configure the priority of the selected IRQ Channels.
   [..]
   (@) 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:
       (#@) Lowest Preemption priority.
       (#@) Lowest Subpriority.
       (#@) Lowest hardware priority (IRQn position).
Attention

© COPYRIGHT 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm32f30x_misc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21