MISC driver modules.
More...
MISC driver modules.
Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct.
*******************************************************************************
##### Interrupts configuration functions #####
*******************************************************************************
[..] This section provide functions allowing to configure the NVIC interrupts
(IRQ). The Cortex-M0 exceptions are managed by CMSIS functions.
(#) Enable and Configure the priority of the selected IRQ Channels.
The priority can be 0..3.
-@- Lower priority values gives higher priority.
-@- Priority Order:
(#@) Lowest priority.
(#@) Lowest hardware priority (IRQn position).
- 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
-
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
-
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
-