STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
stm32f4xx_exti.h File Reference

This file contains all the functions prototypes for the EXTI firmware library. More...

#include "stm32f4xx.h"

Go to the source code of this file.

Data Structures

struct  EXTI_InitTypeDef
 EXTI Init Structure definition. More...
 

Macros

#define IS_EXTI_MODE(MODE)   (((MODE) == EXTI_Mode_Interrupt) || ((MODE) == EXTI_Mode_Event))
 
#define IS_EXTI_TRIGGER(TRIGGER)
 
#define EXTI_Line0   ((uint32_t)0x00001)
 
#define EXTI_Line1   ((uint32_t)0x00002)
 
#define EXTI_Line2   ((uint32_t)0x00004)
 
#define EXTI_Line3   ((uint32_t)0x00008)
 
#define EXTI_Line4   ((uint32_t)0x00010)
 
#define EXTI_Line5   ((uint32_t)0x00020)
 
#define EXTI_Line6   ((uint32_t)0x00040)
 
#define EXTI_Line7   ((uint32_t)0x00080)
 
#define EXTI_Line8   ((uint32_t)0x00100)
 
#define EXTI_Line9   ((uint32_t)0x00200)
 
#define EXTI_Line10   ((uint32_t)0x00400)
 
#define EXTI_Line11   ((uint32_t)0x00800)
 
#define EXTI_Line12   ((uint32_t)0x01000)
 
#define EXTI_Line13   ((uint32_t)0x02000)
 
#define EXTI_Line14   ((uint32_t)0x04000)
 
#define EXTI_Line15   ((uint32_t)0x08000)
 
#define EXTI_Line16   ((uint32_t)0x10000)
 
#define EXTI_Line17   ((uint32_t)0x20000)
 
#define EXTI_Line18   ((uint32_t)0x40000)
 
#define EXTI_Line19   ((uint32_t)0x80000)
 
#define EXTI_Line20   ((uint32_t)0x00100000)
 
#define EXTI_Line21   ((uint32_t)0x00200000)
 
#define EXTI_Line22   ((uint32_t)0x00400000)
 
#define IS_EXTI_LINE(LINE)   ((((LINE) & (uint32_t)0xFF800000) == 0x00) && ((LINE) != (uint16_t)0x00))
 
#define IS_GET_EXTI_LINE(LINE)
 

Enumerations

enum  EXTIMode_TypeDef { EXTI_Mode_Interrupt = 0x00, EXTI_Mode_Event = 0x04 }
 EXTI mode enumeration.
 
enum  EXTITrigger_TypeDef { EXTI_Trigger_Rising = 0x08, EXTI_Trigger_Falling = 0x0C, EXTI_Trigger_Rising_Falling = 0x10 }
 EXTI Trigger enumeration.
 

Functions

void EXTI_DeInit (void)
 Deinitializes the EXTI peripheral registers to their default reset values. 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...
 
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...
 
void EXTI_ClearFlag (uint32_t EXTI_Line)
 Clears the EXTI's line pending flags. More...
 
ITStatus EXTI_GetITStatus (uint32_t EXTI_Line)
 Checks whether the specified EXTI line is asserted or not. More...
 
void EXTI_ClearITPendingBit (uint32_t EXTI_Line)
 Clears the EXTI's line pending bits. More...
 

Detailed Description

This file contains all the functions prototypes for the EXTI firmware library.

Author
MCD Application Team
Version
V1.0.2
Date
05-March-2012
Attention

© COPYRIGHT 2012 STMicroelectronics

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.