RTEMS 6.1-rc1
stm32f10xxx_exti.h
Go to the documentation of this file.
1
7/*
8 * Copyright (c) 2013 Christian Mauderer. All rights reserved.
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H
16#define LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H
17
18#include <bsp/utility.h>
19
27typedef struct {
28 uint32_t imr;
29#define STM32F4_EXTI_IMR(line) BSP_BIT32(line)
30 uint32_t emr;
31#define STM32F4_EXTI_EMR(line) BSP_BIT32(line)
32 uint32_t rtsr;
33#define STM32F4_EXTI_RTSR(line) BSP_BIT32(line)
34 uint32_t ftsr;
35#define STM32F4_EXTI_FTSR(line) BSP_BIT32(line)
36 uint32_t swier;
37#define STM32F4_EXTI_SWIER(line) BSP_BIT32(line)
38 uint32_t pr;
39#define STM32F4_EXTI_PR(line) BSP_BIT32(line)
41
44#endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H */
This header file provides utility macros for BSPs.
Definition: stm32f10xxx_exti.h:27
unsigned pr
Definition: tlb.h:15