| 전자부품 데이터시트 검색엔진 |
|
AN4228 데이터시트(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4228 데이터시트(HTML) 45 Page - STMicroelectronics |
|
45 / 90 page ![]() DocID024110 Rev 5 45/90 AN4228 Firmware migration using the library 89 EXTI_InitStructure.EXTI_Line = EXTI_Line0; EXTI_InitStructure.EXTI_Mode = EXTI_Mode_Interrupt; EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Falling; EXTI_InitStructure.EXTI_LineCmd = ENABLE; EXTI_Init(&EXTI_InitStructure); 4.7 NVIC interrupt configuration This section explains how to configure the NVIC interrupts (IRQ). STM32F1 series In STM32F1 series, the NVIC supports: up to 68 interrupts (68 ex. Core IT A programmable priority level of 0-15 for each interrupt (4 bits of interrupt priority are used). A higher level corresponds to a lower priority; level 0 is the highest interrupt priority. Grouping of priority values into group priority and sub priority fields. Dynamic changing of priority levels. The Cortex-M3 exceptions are managed by CMSIS functions: Enabling and configuration of the preemption priority and sub priority of the selected IRQ channels according to the Priority grouping configuration. STM32F3 series In STM32F3 series, the NVIC supports: Up to 66 interrupts 16 programmable priority levels. The priority level of an interrupt should not be changed after it is enabled. The Cortex-M4 exceptions are managed by CMSIS functions: Enabling and configuration of the priority of the selected IRQ channels. The priority ranges between 0 and 15. Lower priority values give a higher priority. The table below gives the MISC driver API correspondence between STM32F10x and STM32F3xx Libraries. Table 22. STM32F10x and STM32F3xx MISC driver API correspondence STM32F10x MISC Driver API STM32F3xx MISC Driver API void NVIC_Init(NVIC_InitTypeDef* NVIC_InitStruct); void NVIC_Init(NVIC_InitTypeDef* NVIC_InitStruct); void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState); void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState); void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource); void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource); |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |