|
| ADC |
| ADC driver modules.
|
|
| CAN |
| CAN driver modules.
|
|
| COMP |
| COMP driver modules.
|
|
| CRC |
| CRC driver modules.
|
|
| DAC |
| DAC driver modules.
|
|
| DBGMCU |
| DBGMCU driver modules.
|
|
| DMA |
| DMA driver modules.
|
|
| EXTI |
| EXTI driver modules.
|
|
| FLASH |
| FLASH driver modules.
|
|
| GPIO |
| GPIO driver modules.
|
|
| HRTIM |
| HRTIM driver module.
|
|
| I2C |
| I2C driver modules.
|
|
| IWDG |
| IWDG driver modules.
|
|
| MISC |
| MISC driver modules.
|
|
| OPAMP |
| OPAMP driver modules.
|
|
| PWR |
| PWR driver modules.
|
|
| RCC |
| RCC driver modules.
|
|
| RTC |
| RTC driver modules.
|
|
| SPI |
| SPI driver modules.
|
|
| SYSCFG |
| SYSCFG driver modules.
|
|
| TIM |
| TIM driver modules.
|
|
| USART |
| USART driver modules.
|
|
| WWDG |
| WWDG driver modules.
|
|
< Includes ----------------------------------------------------------——
< Define to prevent recursive inclusion --------------------------———
< Includes ----------------------------------------------------------——
Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct.
- Note
- To configure interrupts priority correctly, the NVIC_PriorityGroupConfig() function should be called before.
- Parameters
-
NVIC_InitStruct | pointer to a NVIC_InitTypeDef structure that contains the configuration information for the specified NVIC peripheral. |
- Return values
-
- Parameters
-
NVIC_InitStruct | pointer to a NVIC_InitTypeDef structure that contains the configuration information for the specified NVIC peripheral. |
- Return values
-
Definition at line 136 of file airbourne/airbourne/lib/STM32F4xx_StdPeriph_Driver/src/misc.c.
void NVIC_PriorityGroupConfig |
( |
uint32_t |
NVIC_PriorityGroup | ) |
|
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
|
- Note
- When the NVIC_PriorityGroup_0 is selected, IRQ pre-emption is no more possible. The pending IRQ priority will be managed only by the subpriority.
- Return values
-
- 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
-
- 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.
|
- Note
- When NVIC_PriorityGroup_0 is selected, it will no be any nested interrupt. This interrupts priority is managed only with subpriority.
- Return values
-
Definition at line 118 of file airbourne/airbourne/lib/STM32F4xx_StdPeriph_Driver/src/misc.c.
void NVIC_SetVectorTable |
( |
uint32_t |
NVIC_VectTab, |
|
|
uint32_t |
Offset |
|
) |
| |
Sets the vector table location and Offset.
- Parameters
-
NVIC_VectTab | specifies if the vector table is in RAM or FLASH memory. This parameter can be one of the following values:
- NVIC_VectTab_RAM: Vector Table in internal SRAM.
- NVIC_VectTab_FLASH: Vector Table in internal FLASH.
|
Offset | Vector Table base offset field. This value must be a multiple of 0x200. |
- Return values
-
- Parameters
-
NVIC_VectTab | specifies if the vector table is in RAM or FLASH memory. This parameter can be one of the following values:
- NVIC_VectTab_RAM
- NVIC_VectTab_FLASH
|
Offset | Vector Table base offset field. This value must be a multiple of 0x200. |
- Return values
-
Definition at line 180 of file airbourne/airbourne/lib/STM32F4xx_StdPeriph_Driver/src/misc.c.
void NVIC_SystemLPConfig |
( |
uint8_t |
LowPowerMode, |
|
|
FunctionalState |
NewState |
|
) |
| |
Selects the condition for the system to enter low power mode.
- Parameters
-
LowPowerMode | Specifies the new mode for the system to enter low power mode. This parameter can be one of the following values:
- NVIC_LP_SEVONPEND: Low Power SEV on Pend.
- NVIC_LP_SLEEPDEEP: Low Power DEEPSLEEP request.
- NVIC_LP_SLEEPONEXIT: Low Power Sleep on Exit.
|
NewState | new state of LP condition. This parameter can be: ENABLE or DISABLE. |
- Return values
-
- Parameters
-
LowPowerMode | Specifies the new mode for the system to enter low power mode. This parameter can be one of the following values:
- NVIC_LP_SEVONPEND
- NVIC_LP_SLEEPDEEP
- NVIC_LP_SLEEPONEXIT
|
NewState | new state of LP condition. This parameter can be: ENABLE or DISABLE. |
- Return values
-
Definition at line 199 of file airbourne/airbourne/lib/STM32F4xx_StdPeriph_Driver/src/misc.c.
void SysTick_CLKSourceConfig |
( |
uint32_t |
SysTick_CLKSource | ) |
|
Configures the SysTick clock source.
- Parameters
-
SysTick_CLKSource | specifies the SysTick clock source. This parameter can be one of the following values:
- SysTick_CLKSource_HCLK_Div8: AHB clock divided by 8 selected as SysTick clock source.
- SysTick_CLKSource_HCLK: AHB clock selected as SysTick clock source.
|
- Return values
-
Definition at line 223 of file airbourne/airbourne/lib/STM32F4xx_StdPeriph_Driver/src/misc.c.
uint32_t RCC_ClocksTypeDef::ADC12CLK_Frequency |
uint32_t RCC_ClocksTypeDef::ADC34CLK_Frequency |
uint32_t RCC_ClocksTypeDef::HCLK_Frequency |
uint32_t RCC_ClocksTypeDef::HRTIM1CLK_Frequency |
uint32_t RCC_ClocksTypeDef::I2C1CLK_Frequency |
uint32_t RCC_ClocksTypeDef::I2C2CLK_Frequency |
uint32_t RCC_ClocksTypeDef::I2C3CLK_Frequency |
uint32_t RCC_ClocksTypeDef::PCLK1_Frequency |
uint32_t RCC_ClocksTypeDef::PCLK2_Frequency |
uint32_t RCC_ClocksTypeDef::SYSCLK_Frequency |
uint32_t RCC_ClocksTypeDef::TIM15CLK_Frequency |
uint32_t RCC_ClocksTypeDef::TIM16CLK_Frequency |
uint32_t RCC_ClocksTypeDef::TIM17CLK_Frequency |
uint32_t RCC_ClocksTypeDef::TIM1CLK_Frequency |
uint32_t RCC_ClocksTypeDef::TIM8CLK_Frequency |
uint32_t RCC_ClocksTypeDef::UART4CLK_Frequency |
uint32_t RCC_ClocksTypeDef::UART5CLK_Frequency |
uint32_t RCC_ClocksTypeDef::USART1CLK_Frequency |
uint32_t RCC_ClocksTypeDef::USART2CLK_Frequency |
uint32_t RCC_ClocksTypeDef::USART3CLK_Frequency |