RTEMS  5.1
stm32f10xxx_exti.h
Go to the documentation of this file.
1 
7 /*
8  * Copyright (c) 2013 Christian Mauderer. All rights reserved.
9  *
10  * embedded brains GmbH
11  * Obere Lagerstr. 30
12  * 82178 Puchheim
13  * Germany
14  * <rtems@embedded-brains.de>
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H
22 #define LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H
23 
24 #include <bsp/utility.h>
25 
33 typedef struct {
34  uint32_t imr;
35 #define STM32F4_EXTI_IMR(line) BSP_BIT32(line)
36  uint32_t emr;
37 #define STM32F4_EXTI_EMR(line) BSP_BIT32(line)
38  uint32_t rtsr;
39 #define STM32F4_EXTI_RTSR(line) BSP_BIT32(line)
40  uint32_t ftsr;
41 #define STM32F4_EXTI_FTSR(line) BSP_BIT32(line)
42  uint32_t swier;
43 #define STM32F4_EXTI_SWIER(line) BSP_BIT32(line)
44  uint32_t pr;
45 #define STM32F4_EXTI_PR(line) BSP_BIT32(line)
46 } stm32f4_exti;
47 
50 #endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H */
unsigned pr
Definition: tlb.h:225
Utility macros.
Definition: stm32f10xxx_exti.h:33