STM32 RTOS
0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Toggle main menu visibility
Loading...
Searching...
No Matches
exti_reg.h
Go to the documentation of this file.
1
9
#ifndef EXTI_REG_H
10
#define EXTI_REG_H
11
12
#include <stdint.h>
13
18
19
#define EXTI_BASE (0x40013C00UL)
20
22
typedef
struct
ExtiRegisters_t
23
{
24
volatile
uint32_t
IMR
;
25
volatile
uint32_t
EMR
;
26
volatile
uint32_t
RTSR
;
27
volatile
uint32_t
FTSR
;
28
volatile
uint32_t
SWIER
;
29
volatile
uint32_t
PR
;
30
}
ExtiRegisters_t
;
31
32
#define EXTI ((ExtiRegisters_t *)EXTI_BASE)
33
36
#define EXTI_LINE_PVD (16U)
37
#define EXTI_LINE_RTC_ALARM (17U)
38
#define EXTI_LINE_OTG_FS_WKUP (18U)
39
#define EXTI_LINE_OTG_HS_WKUP (20U)
40
#define EXTI_LINE_TAMP_STAMP (21U)
41
#define EXTI_LINE_RTC_WKUP (22U)
43
45
46
#endif
/* EXTI_REG_H */
ExtiRegisters_t
EXTI register block.
Definition
exti_reg.h:23
ExtiRegisters_t::SWIER
volatile uint32_t SWIER
0x10: software interrupt trigger
Definition
exti_reg.h:28
ExtiRegisters_t::EMR
volatile uint32_t EMR
0x04: event mask (1 = enabled)
Definition
exti_reg.h:25
ExtiRegisters_t::PR
volatile uint32_t PR
0x14: pending, <span class="regaccess">rc_w1</span>
Definition
exti_reg.h:29
ExtiRegisters_t::FTSR
volatile uint32_t FTSR
0x0C: falling-edge trigger
Definition
exti_reg.h:27
ExtiRegisters_t::IMR
volatile uint32_t IMR
0x00: interrupt mask (1 = enabled)
Definition
exti_reg.h:24
ExtiRegisters_t::RTSR
volatile uint32_t RTSR
0x08: rising-edge trigger
Definition
exti_reg.h:26
soc
stm32f446
inc
exti_reg.h
Generated by
1.18.0