STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
exti_reg.h File Reference

EXTI registers: external interrupt and event lines (RM0390 section 10.3). More...

#include <stdint.h>
Include dependency graph for exti_reg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExtiRegisters_t
 EXTI register block. More...

Macros

#define EXTI_BASE   (0x40013C00UL)
 EXTI base address (APB2).
#define EXTI   ((ExtiRegisters_t *)EXTI_BASE)
 The EXTI instance.
Internal line numbers (RM0390 section 10.2.5)
#define EXTI_LINE_PVD   (16U)
 PVD output.
#define EXTI_LINE_RTC_ALARM   (17U)
 RTC alarm.
#define EXTI_LINE_OTG_FS_WKUP   (18U)
 USB OTG FS wakeup.
#define EXTI_LINE_OTG_HS_WKUP   (20U)
 USB OTG HS (in FS mode) wakeup.
#define EXTI_LINE_TAMP_STAMP   (21U)
 Tamper and timestamp.
#define EXTI_LINE_RTC_WKUP   (22U)
 RTC wakeup.

Typedefs

typedef struct ExtiRegisters_t ExtiRegisters_t
 EXTI register block.

Detailed Description

EXTI registers: external interrupt and event lines (RM0390 section 10.3).

Each register is a bitmask with bit N for line N. Lines 0-15 are GPIO pin N of the port SYSCFG_EXTICR selects (see syscfg_reg.h); lines 16-22 are the fixed internal sources below. Line 19 has no source on the F446.

Definition in file exti_reg.h.