![]() |
STM32F0 Standard Peripheral bibliotheek
1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
|
Functions | |
| void | NVIC_Init (NVIC_InitTypeDef *NVIC_InitStruct) |
| Initializes the NVIC peripheral according to the specified parameters in the NVIC_InitStruct. 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... | |
| void NVIC_Init | ( | NVIC_InitTypeDef * | NVIC_InitStruct | ) |
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). | NVIC_InitStruct,: | pointer to a NVIC_InitTypeDef structure that contains the configuration information for the specified NVIC peripheral. |
| None |
| void NVIC_SystemLPConfig | ( | uint8_t | LowPowerMode, |
| FunctionalState | NewState | ||
| ) |
Selects the condition for the system to enter low power mode.
| LowPowerMode,: | Specifies the new mode for the system to enter low power mode. This parameter can be one of the following values:
|
| NewState,: | new state of LP condition. This parameter can be: ENABLE or DISABLE. |
| None |
| void SysTick_CLKSourceConfig | ( | uint32_t | SysTick_CLKSource | ) |
Configures the SysTick clock source.
| SysTick_CLKSource,: | specifies the SysTick clock source. This parameter can be one of the following values:
|
| None |