This file provides firmware functions to manage the following functionalities of the EXTI peripheral: More...
|#define||EXTI_LINENONE ((uint32_t)0x00000) /* No interrupt selected */|
|void||EXTI_ClearFlag (uint32_t EXTI_Line)|
|Clears the EXTI's line pending flags. More...|
|void||EXTI_ClearITPendingBit (uint32_t EXTI_Line)|
|Clears the EXTI's line pending bits. More...|
|Deinitializes the EXTI peripheral registers to their default reset values. More...|
|void||EXTI_GenerateSWInterrupt (uint32_t EXTI_Line)|
|Generates a Software interrupt on selected EXTI line. More...|
|FlagStatus||EXTI_GetFlagStatus (uint32_t EXTI_Line)|
|Checks whether the specified EXTI line flag is set or not. More...|
|ITStatus||EXTI_GetITStatus (uint32_t EXTI_Line)|
|Checks whether the specified EXTI line is asserted or not. More...|
|void||EXTI_Init (EXTI_InitTypeDef *EXTI_InitStruct)|
|Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct. More...|
|void||EXTI_StructInit (EXTI_InitTypeDef *EXTI_InitStruct)|
|Fills each EXTI_InitStruct member with its reset value. More...|
This file provides firmware functions to manage the following functionalities of the EXTI peripheral:
=================================================================== ##### EXTI features ##### =================================================================== [..] External interrupt/event lines are mapped as following: (#) All available GPIO pins are connected to the 16 external interrupt/event lines from EXTI0 to EXTI15. (#) EXTI line 16 is connected to the PVD Output (#) EXTI line 17 is connected to the RTC Alarm event (#) EXTI line 18 is connected to the USB OTG FS Wakeup from suspend event (#) EXTI line 19 is connected to the Ethernet Wakeup event (#) EXTI line 20 is connected to the USB OTG HS (configured in FS) Wakeup event (#) EXTI line 21 is connected to the RTC Tamper and Time Stamp events (#) EXTI line 22 is connected to the RTC Wakeup event ##### How to use this driver ##### =================================================================== [..] In order to use an I/O pin as an external interrupt source, follow steps below: (#) Configure the I/O in input mode using GPIO_Init() (#) Select the input source pin for the EXTI line using SYSCFG_EXTILineConfig() (#) Select the mode(interrupt, event) and configure the trigger selection (Rising, falling or both) using EXTI_Init() (#) Configure NVIC IRQ channel mapped to the EXTI line using NVIC_Init() [..] (@) SYSCFG APB clock must be enabled to get write access to SYSCFG_EXTICRx registers using RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
@attention <h2><center>© COPYRIGHT 2013 STMicroelectronics</center></h2> 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 stm32f4xx_exti.c.