source: rtems/bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h

Last change on this file was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 1023 bytes
Line 
1/**
2 * @file
3 * @ingroup stm32f4_exti
4 * @brief STM32F10XXX EXTI support
5 */
6
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
20/**
21 * @defgroup stm32f4_exti EXTI Support
22 * @ingroup RTEMSBSPsARMSTM32F4
23 * @brief STM32F10XXX EXTI Support
24 * @{
25 */
26
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)
40} stm32f4_exti;
41
42/** @} */
43
44#endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_EXTI_H */
Note: See TracBrowser for help on using the repository browser.