This file contains all the functions prototypes for the EXTI firmware library. More...
#include "stm32f30x.h"
Go to the source code of this file.
Classes | |
struct | EXTI_InitTypeDef |
EXTI Init Structure definition. More... | |
Macros | |
#define | EXTI_Line0 ((uint32_t)0x00) |
#define | EXTI_Line1 ((uint32_t)0x01) |
#define | EXTI_Line10 ((uint32_t)0x0A) |
#define | EXTI_Line11 ((uint32_t)0x0B) |
#define | EXTI_Line12 ((uint32_t)0x0C) |
#define | EXTI_Line13 ((uint32_t)0x0D) |
#define | EXTI_Line14 ((uint32_t)0x0E) |
#define | EXTI_Line15 ((uint32_t)0x0F) |
#define | EXTI_Line16 ((uint32_t)0x10) |
#define | EXTI_Line17 ((uint32_t)0x11) |
#define | EXTI_Line18 ((uint32_t)0x12) |
#define | EXTI_Line19 ((uint32_t)0x13) |
#define | EXTI_Line2 ((uint32_t)0x02) |
#define | EXTI_Line20 ((uint32_t)0x14) |
#define | EXTI_Line21 ((uint32_t)0x15) |
#define | EXTI_Line22 ((uint32_t)0x16) |
#define | EXTI_Line23 ((uint32_t)0x17) |
#define | EXTI_Line24 ((uint32_t)0x18) |
#define | EXTI_Line25 ((uint32_t)0x19) |
#define | EXTI_Line26 ((uint32_t)0x1A) |
#define | EXTI_Line27 ((uint32_t)0x1B) |
#define | EXTI_Line28 ((uint32_t)0x1C) |
#define | EXTI_Line29 ((uint32_t)0x1D) |
#define | EXTI_Line3 ((uint32_t)0x03) |
#define | EXTI_Line30 ((uint32_t)0x1E) |
#define | EXTI_Line31 ((uint32_t)0x1F) |
#define | EXTI_Line32 ((uint32_t)0x20) |
#define | EXTI_Line33 ((uint32_t)0x21) |
#define | EXTI_Line34 ((uint32_t)0x22) |
#define | EXTI_Line35 ((uint32_t)0x23) |
#define | EXTI_Line4 ((uint32_t)0x04) |
#define | EXTI_Line5 ((uint32_t)0x05) |
#define | EXTI_Line6 ((uint32_t)0x06) |
#define | EXTI_Line7 ((uint32_t)0x07) |
#define | EXTI_Line8 ((uint32_t)0x08) |
#define | EXTI_Line9 ((uint32_t)0x09) |
#define | IS_EXTI_LINE_ALL(LINE) ((LINE) <= 0x23) |
#define | IS_EXTI_LINE_EXT(LINE) |
#define | IS_EXTI_MODE(MODE) (((MODE) == EXTI_Mode_Interrupt) || ((MODE) == EXTI_Mode_Event)) |
#define | IS_EXTI_TRIGGER(TRIGGER) |
#define | IS_GET_EXTI_LINE(LINE) |
Enumerations | |
enum | EXTIMode_TypeDef { EXTI_Mode_Interrupt = 0x00, EXTI_Mode_Event = 0x04, EXTI_Mode_Interrupt = 0x00, EXTI_Mode_Event = 0x04, EXTI_Mode_Interrupt = 0x00, EXTI_Mode_Event = 0x04 } |
EXTI mode enumeration. More... | |
enum | EXTITrigger_TypeDef { EXTI_Trigger_Rising = 0x08, EXTI_Trigger_Falling = 0x0C, EXTI_Trigger_Rising_Falling = 0x10, EXTI_Trigger_Rising = 0x08, EXTI_Trigger_Falling = 0x0C, EXTI_Trigger_Rising_Falling = 0x10, EXTI_Trigger_Rising = 0x08, EXTI_Trigger_Falling = 0x0C, EXTI_Trigger_Rising_Falling = 0x10 } |
EXTI Trigger enumeration. More... | |
Functions | |
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... | |
void | EXTI_DeInit (void) |
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. EXTI_Line specifies the EXTI line (EXTI0....EXTI35). EXTI_Mode specifies which EXTI line is used as interrupt or an event. EXTI_Trigger selects the trigger. When the trigger occurs, interrupt pending bit will be set. EXTI_LineCmd controls (Enable/Disable) the EXTI line. More... | |
void | EXTI_StructInit (EXTI_InitTypeDef *EXTI_InitStruct) |
Fills each EXTI_InitStruct member with its reset value. More... | |
This file contains all the functions prototypes for the EXTI firmware library.
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 stm32f30x_exti.h.