libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
EXTI Defines

Defined Constants and Types for the STM32L1xx External Interrupts More...

Collaboration diagram for EXTI Defines:

Modules

 EXTI Registers
 

Macros

#define EXTI0   (1 << 0)
 
#define EXTI1   (1 << 1)
 
#define EXTI2   (1 << 2)
 
#define EXTI3   (1 << 3)
 
#define EXTI4   (1 << 4)
 
#define EXTI5   (1 << 5)
 
#define EXTI6   (1 << 6)
 
#define EXTI7   (1 << 7)
 
#define EXTI8   (1 << 8)
 
#define EXTI9   (1 << 9)
 
#define EXTI10   (1 << 10)
 
#define EXTI11   (1 << 11)
 
#define EXTI12   (1 << 12)
 
#define EXTI13   (1 << 13)
 
#define EXTI14   (1 << 14)
 
#define EXTI15   (1 << 15)
 
#define EXTI16   (1 << 16)
 
#define EXTI17   (1 << 17)
 
#define EXTI18   (1 << 18)
 
#define EXTI19   (1 << 19)
 
#define EXTI20   (1 << 20)
 
#define EXTI21   (1 << 21)
 
#define EXTI22   (1 << 22)
 
#define EXTI23   (1 << 23)
 
#define EXTI24   (1 << 24)
 
#define EXTI25   (1 << 25)
 
#define EXTI26   (1 << 26)
 
#define EXTI27   (1 << 27)
 
#define EXTI28   (1 << 28)
 
#define EXTI29   (1 << 29)
 
#define EXTI30   (1 << 30)
 
#define EXTI31   (1 << 31)
 
#define EXTI32   (1 << 0)
 
#define EXTI33   (1 << 1)
 
#define EXTI34   (1 << 2)
 
#define EXTI35   (1 << 3)
 
#define EXTI36   (1 << 4)
 
#define EXTI37   (1 << 5)
 

Enumerations

enum  exti_trigger_type { EXTI_TRIGGER_RISING , EXTI_TRIGGER_FALLING , EXTI_TRIGGER_BOTH }
 

Functions

void exti_set_trigger (uint32_t extis, enum exti_trigger_type trig)
 
void exti_enable_request (uint32_t extis)
 
void exti_disable_request (uint32_t extis)
 
void exti_reset_request (uint32_t extis)
 
void exti_select_source (uint32_t exti, uint32_t gpioport)
 
uint32_t exti_get_flag_status (uint32_t exti)
 

Detailed Description

Defined Constants and Types for the STM32L1xx External Interrupts

Author
© 2013 Piotr Esden-Tempski piotr.nosp@m.@esd.nosp@m.en.ne.nosp@m.t
Version
1.0.0
Date
14 January 2014

LGPL License Terms libopencm3 License

Author
© 2010 Mark Butler mbutl.nosp@m.er@p.nosp@m.hysic.nosp@m.s.ot.nosp@m.ago.a.nosp@m.c.nz

Macro Definition Documentation

◆ EXTI0

#define EXTI0   (1 << 0)

Definition at line 33 of file exti_common_all.h.

◆ EXTI1

#define EXTI1   (1 << 1)

Definition at line 34 of file exti_common_all.h.

◆ EXTI10

#define EXTI10   (1 << 10)

Definition at line 43 of file exti_common_all.h.

◆ EXTI11

#define EXTI11   (1 << 11)

Definition at line 44 of file exti_common_all.h.

◆ EXTI12

#define EXTI12   (1 << 12)

Definition at line 45 of file exti_common_all.h.

◆ EXTI13

#define EXTI13   (1 << 13)

Definition at line 46 of file exti_common_all.h.

◆ EXTI14

#define EXTI14   (1 << 14)

Definition at line 47 of file exti_common_all.h.

◆ EXTI15

#define EXTI15   (1 << 15)

Definition at line 48 of file exti_common_all.h.

◆ EXTI16

#define EXTI16   (1 << 16)

Definition at line 49 of file exti_common_all.h.

◆ EXTI17

#define EXTI17   (1 << 17)

Definition at line 50 of file exti_common_all.h.

◆ EXTI18

#define EXTI18   (1 << 18)

Definition at line 51 of file exti_common_all.h.

◆ EXTI19

#define EXTI19   (1 << 19)

Definition at line 52 of file exti_common_all.h.

◆ EXTI2

#define EXTI2   (1 << 2)

Definition at line 35 of file exti_common_all.h.

◆ EXTI20

#define EXTI20   (1 << 20)

Definition at line 53 of file exti_common_all.h.

◆ EXTI21

#define EXTI21   (1 << 21)

Definition at line 54 of file exti_common_all.h.

◆ EXTI22

#define EXTI22   (1 << 22)

Definition at line 55 of file exti_common_all.h.

◆ EXTI23

#define EXTI23   (1 << 23)

Definition at line 56 of file exti_common_all.h.

◆ EXTI24

#define EXTI24   (1 << 24)

Definition at line 57 of file exti_common_all.h.

◆ EXTI25

#define EXTI25   (1 << 25)

Definition at line 58 of file exti_common_all.h.

◆ EXTI26

#define EXTI26   (1 << 26)

Definition at line 59 of file exti_common_all.h.

◆ EXTI27

#define EXTI27   (1 << 27)

Definition at line 60 of file exti_common_all.h.

◆ EXTI28

#define EXTI28   (1 << 28)

Definition at line 61 of file exti_common_all.h.

◆ EXTI29

#define EXTI29   (1 << 29)

Definition at line 62 of file exti_common_all.h.

◆ EXTI3

#define EXTI3   (1 << 3)

Definition at line 36 of file exti_common_all.h.

◆ EXTI30

#define EXTI30   (1 << 30)

Definition at line 63 of file exti_common_all.h.

◆ EXTI31

#define EXTI31   (1 << 31)

Definition at line 64 of file exti_common_all.h.

◆ EXTI32

#define EXTI32   (1 << 0)

Definition at line 66 of file exti_common_all.h.

◆ EXTI33

#define EXTI33   (1 << 1)

Definition at line 67 of file exti_common_all.h.

◆ EXTI34

#define EXTI34   (1 << 2)

Definition at line 68 of file exti_common_all.h.

◆ EXTI35

#define EXTI35   (1 << 3)

Definition at line 69 of file exti_common_all.h.

◆ EXTI36

#define EXTI36   (1 << 4)

Definition at line 70 of file exti_common_all.h.

◆ EXTI37

#define EXTI37   (1 << 5)

Definition at line 71 of file exti_common_all.h.

◆ EXTI4

#define EXTI4   (1 << 4)

Definition at line 37 of file exti_common_all.h.

◆ EXTI5

#define EXTI5   (1 << 5)

Definition at line 38 of file exti_common_all.h.

◆ EXTI6

#define EXTI6   (1 << 6)

Definition at line 39 of file exti_common_all.h.

◆ EXTI7

#define EXTI7   (1 << 7)

Definition at line 40 of file exti_common_all.h.

◆ EXTI8

#define EXTI8   (1 << 8)

Definition at line 41 of file exti_common_all.h.

◆ EXTI9

#define EXTI9   (1 << 9)

Definition at line 42 of file exti_common_all.h.

Enumeration Type Documentation

◆ exti_trigger_type

Enumerator
EXTI_TRIGGER_RISING 
EXTI_TRIGGER_FALLING 
EXTI_TRIGGER_BOTH 

Definition at line 74 of file exti_common_all.h.

Function Documentation

◆ exti_disable_request()

void exti_disable_request ( uint32_t  extis)

Definition at line 71 of file exti_common_all.c.

References EXTI_EMR, and EXTI_IMR.

◆ exti_enable_request()

void exti_enable_request ( uint32_t  extis)

Definition at line 62 of file exti_common_all.c.

References EXTI_EMR, and EXTI_IMR.

◆ exti_get_flag_status()

uint32_t exti_get_flag_status ( uint32_t  exti)

Definition at line 97 of file exti_common_all.c.

References EXTI_PR.

◆ exti_reset_request()

void exti_reset_request ( uint32_t  extis)

Definition at line 84 of file exti_common_all.c.

References EXTI_PR.

◆ exti_select_source()

void exti_select_source ( uint32_t  exti,
uint32_t  gpioport 
)

◆ exti_set_trigger()

void exti_set_trigger ( uint32_t  extis,
enum exti_trigger_type  trig 
)