RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros

Macros

#define EXTI_MODE_IT   ((uint32_t)0x00010000)
 
#define EXTI_MODE_EVT   ((uint32_t)0x00020000)
 
#define EXTI_RISING_EDGE   ((uint32_t)0x00100000)
 
#define EXTI_FALLING_EDGE   ((uint32_t)0x00200000)
 
#define IS_EXTI_EDGE_LINE(EDGE)   (((EDGE) == EXTI_RISING_EDGE) || ((EDGE) == EXTI_FALLING_EDGE))
 
#define IS_EXTI_MODE_LINE(MODE)   (((MODE) == EXTI_MODE_IT) || ((MODE) == EXTI_MODE_EVT))
 
#define EXTI_LINE0   ((uint32_t)0x00)
 
#define EXTI_LINE1   ((uint32_t)0x01)
 
#define EXTI_LINE2   ((uint32_t)0x02)
 
#define EXTI_LINE3   ((uint32_t)0x03)
 
#define EXTI_LINE4   ((uint32_t)0x04)
 
#define EXTI_LINE5   ((uint32_t)0x05)
 
#define EXTI_LINE6   ((uint32_t)0x06)
 
#define EXTI_LINE7   ((uint32_t)0x07)
 
#define EXTI_LINE8   ((uint32_t)0x08)
 
#define EXTI_LINE9   ((uint32_t)0x09)
 
#define EXTI_LINE10   ((uint32_t)0x0A)
 
#define EXTI_LINE11   ((uint32_t)0x0B)
 
#define EXTI_LINE12   ((uint32_t)0x0C)
 
#define EXTI_LINE13   ((uint32_t)0x0D)
 
#define EXTI_LINE14   ((uint32_t)0x0E)
 
#define EXTI_LINE15   ((uint32_t)0x0F)
 
#define EXTI_LINE16   ((uint32_t)0x10)
 
#define EXTI_LINE17   ((uint32_t)0x11)
 
#define EXTI_LINE18   ((uint32_t)0x12)
 
#define EXTI_LINE19   ((uint32_t)0x13)
 
#define EXTI_LINE20   ((uint32_t)0x14)
 
#define EXTI_LINE21   ((uint32_t)0x15)
 
#define EXTI_LINE22   ((uint32_t)0x16)
 
#define EXTI_LINE23   ((uint32_t)0x17)
 
#define EXTI_LINE24   ((uint32_t)0x18)
 
#define EXTI_LINE25   ((uint32_t)0x19)
 
#define EXTI_LINE26   ((uint32_t)0x1A)
 
#define EXTI_LINE27   ((uint32_t)0x1B)
 
#define EXTI_LINE28   ((uint32_t)0x1C)
 
#define EXTI_LINE29   ((uint32_t)0x1D)
 
#define EXTI_LINE30   ((uint32_t)0x1E)
 
#define EXTI_LINE31   ((uint32_t)0x1F)
 
#define EXTI_LINE32   ((uint32_t)0x20)
 
#define EXTI_LINE33   ((uint32_t)0x21)
 
#define EXTI_LINE34   ((uint32_t)0x22)
 
#define EXTI_LINE35   ((uint32_t)0x23)
 
#define EXTI_LINE36   ((uint32_t)0x24)
 
#define EXTI_LINE37   ((uint32_t)0x25)
 
#define EXTI_LINE38   ((uint32_t)0x26)
 
#define EXTI_LINE39   ((uint32_t)0x27)
 
#define EXTI_LINE40   ((uint32_t)0x28)
 
#define EXTI_LINE41   ((uint32_t)0x29)
 
#define EXTI_LINE42   ((uint32_t)0x2A)
 
#define EXTI_LINE43   ((uint32_t)0x2B)
 
#define EXTI_LINE44   ((uint32_t)0x2C) /* Not available in all family lines */
 
#define EXTI_LINE47   ((uint32_t)0x2F)
 
#define EXTI_LINE48   ((uint32_t)0x30)
 
#define EXTI_LINE49   ((uint32_t)0x31)
 
#define EXTI_LINE50   ((uint32_t)0x32)
 
#define EXTI_LINE51   ((uint32_t)0x33)
 
#define EXTI_LINE52   ((uint32_t)0x34)
 
#define EXTI_LINE53   ((uint32_t)0x35)
 
#define EXTI_LINE54   ((uint32_t)0x36)
 
#define EXTI_LINE55   ((uint32_t)0x37)
 
#define EXTI_LINE56   ((uint32_t)0x38)
 
#define EXTI_LINE57   ((uint32_t)0x39)
 
#define EXTI_LINE58   ((uint32_t)0x3A)
 
#define EXTI_LINE59   ((uint32_t)0x3B)
 
#define EXTI_LINE60   ((uint32_t)0x3C)
 
#define EXTI_LINE61   ((uint32_t)0x3D)
 
#define EXTI_LINE62   ((uint32_t)0x3E)
 
#define EXTI_LINE63   ((uint32_t)0x3F)
 
#define EXTI_LINE64   ((uint32_t)0x40)
 
#define EXTI_LINE65   ((uint32_t)0x41)
 
#define EXTI_LINE66   ((uint32_t)0x42)
 
#define EXTI_LINE67   ((uint32_t)0x43)
 
#define EXTI_LINE68   ((uint32_t)0x44)
 
#define EXTI_LINE69   ((uint32_t)0x45)
 
#define EXTI_LINE70   ((uint32_t)0x46)
 
#define EXTI_LINE71   ((uint32_t)0x47)
 
#define EXTI_LINE72   ((uint32_t)0x48)
 
#define EXTI_LINE73   ((uint32_t)0x49)
 
#define EXTI_LINE74   ((uint32_t)0x4A)
 
#define EXTI_LINE75   ((uint32_t)0x4B) /* Not available in all family lines */
 
#define EXTI_LINE76   ((uint32_t)0x4C) /* Not available in all family lines */
 
#define EXTI_LINE85   ((uint32_t)0x55)
 
#define EXTI_LINE86   ((uint32_t)0x56) /* Not available in all family lines */
 
#define EXTI_LINE87   ((uint32_t)0x57)
 
#define EXTI_LINE88   ((uint32_t)0x58) /* Not available in all family lines */
 
#define EXTI_LINE89   ((uint32_t)0x59) /* Not available in all family lines */
 
#define EXTI_LINE90   ((uint32_t)0x5A) /* Not available in all family lines */
 
#define EXTI_LINE91   ((uint32_t)0x5B) /* Not available in all family lines */
 
#define IS_HAL_EXTI_CONFIG_LINE(LINE)
 
#define IS_EXTI_ALL_LINE(LINE)
 
#define IS_EXTI_D1_LINE(LINE)
 
#define IS_EXTI_D3_LINE(LINE)
 
#define BDMA_CH6_CLEAR   ((uint32_t)0x00000000)
 
#define BDMA_CH7_CLEAR   ((uint32_t)0x00000001)
 
#define LPTIM2_OUT_CLEAR   ((uint32_t)0x00000002)
 
#define LPTIM3_OUT_CLEAR   ((uint32_t)0x00000003)
 
#define IS_EXTI_D3_CLEAR(SOURCE)
 

Detailed Description

Macro Definition Documentation

◆ BDMA_CH6_CLEAR

#define BDMA_CH6_CLEAR   ((uint32_t)0x00000000)

BDMA ch6 event selected as D3 domain pendclear source

◆ BDMA_CH7_CLEAR

#define BDMA_CH7_CLEAR   ((uint32_t)0x00000001)

BDMA ch7 event selected as D3 domain pendclear source

◆ EXTI_LINE0

#define EXTI_LINE0   ((uint32_t)0x00)

External interrupt LINE 0

◆ EXTI_LINE1

#define EXTI_LINE1   ((uint32_t)0x01)

External interrupt LINE 1

◆ EXTI_LINE10

#define EXTI_LINE10   ((uint32_t)0x0A)

External interrupt LINE 10

◆ EXTI_LINE11

#define EXTI_LINE11   ((uint32_t)0x0B)

External interrupt LINE 11

◆ EXTI_LINE12

#define EXTI_LINE12   ((uint32_t)0x0C)

External interrupt LINE 12

◆ EXTI_LINE13

#define EXTI_LINE13   ((uint32_t)0x0D)

External interrupt LINE 13

◆ EXTI_LINE14

#define EXTI_LINE14   ((uint32_t)0x0E)

External interrupt LINE 14

◆ EXTI_LINE15

#define EXTI_LINE15   ((uint32_t)0x0F)

External interrupt LINE 15

◆ EXTI_LINE2

#define EXTI_LINE2   ((uint32_t)0x02)

External interrupt LINE 2

◆ EXTI_LINE3

#define EXTI_LINE3   ((uint32_t)0x03)

External interrupt LINE 3

◆ EXTI_LINE4

#define EXTI_LINE4   ((uint32_t)0x04)

External interrupt LINE 4

◆ EXTI_LINE5

#define EXTI_LINE5   ((uint32_t)0x05)

External interrupt LINE 5

◆ EXTI_LINE6

#define EXTI_LINE6   ((uint32_t)0x06)

External interrupt LINE 6

◆ EXTI_LINE7

#define EXTI_LINE7   ((uint32_t)0x07)

External interrupt LINE 7

◆ EXTI_LINE8

#define EXTI_LINE8   ((uint32_t)0x08)

External interrupt LINE 8

◆ EXTI_LINE9

#define EXTI_LINE9   ((uint32_t)0x09)

External interrupt LINE 9

◆ IS_EXTI_D3_CLEAR

#define IS_EXTI_D3_CLEAR (   SOURCE)
Value:
(((SOURCE) == BDMA_CH6_CLEAR) || ((SOURCE) == BDMA_CH7_CLEAR) || \
((SOURCE) == LPTIM2_OUT_CLEAR) || ((SOURCE) == LPTIM3_OUT_CLEAR))
#define LPTIM3_OUT_CLEAR
Definition: stm32h7xx_hal.h:693
#define LPTIM2_OUT_CLEAR
Definition: stm32h7xx_hal.h:688
#define BDMA_CH7_CLEAR
Definition: stm32h7xx_hal.h:684
#define BDMA_CH6_CLEAR
Definition: stm32h7xx_hal.h:683

◆ IS_EXTI_D3_LINE

#define IS_EXTI_D3_LINE (   LINE)
Value:
(((LINE) == EXTI_LINE0) || ((LINE) == EXTI_LINE1) || \
((LINE) == EXTI_LINE2) || ((LINE) == EXTI_LINE3) || \
((LINE) == EXTI_LINE4) || ((LINE) == EXTI_LINE5) || \
((LINE) == EXTI_LINE6) || ((LINE) == EXTI_LINE7) || \
((LINE) == EXTI_LINE8) || ((LINE) == EXTI_LINE9) || \
((LINE) == EXTI_LINE10) || ((LINE) == EXTI_LINE11) || \
((LINE) == EXTI_LINE12) || ((LINE) == EXTI_LINE13) || \
((LINE) == EXTI_LINE14) || ((LINE) == EXTI_LINE15) || \
((LINE) == EXTI_LINE19) || ((LINE) == EXTI_LINE20) || \
((LINE) == EXTI_LINE21) || ((LINE) == EXTI_LINE25) || \
((LINE) == EXTI_LINE34) || ((LINE) == EXTI_LINE35) || \
((LINE) == EXTI_LINE41) || ((LINE) == EXTI_LINE48) || \
((LINE) == EXTI_LINE49) || ((LINE) == EXTI_LINE50) || \
((LINE) == EXTI_LINE51) || ((LINE) == EXTI_LINE88))
#define EXTI_LINE7
Definition: stm32h7xx_hal.h:276
#define EXTI_LINE5
Definition: stm32h7xx_hal.h:274
#define EXTI_LINE4
Definition: stm32h7xx_hal.h:273
#define EXTI_LINE12
Definition: stm32h7xx_hal.h:281
#define EXTI_LINE15
Definition: stm32h7xx_hal.h:284
#define EXTI_LINE0
Definition: stm32h7xx_hal.h:269
#define EXTI_LINE10
Definition: stm32h7xx_hal.h:279
#define EXTI_LINE14
Definition: stm32h7xx_hal.h:283
#define EXTI_LINE8
Definition: stm32h7xx_hal.h:277
#define EXTI_LINE11
Definition: stm32h7xx_hal.h:280
#define EXTI_LINE3
Definition: stm32h7xx_hal.h:272
#define EXTI_LINE2
Definition: stm32h7xx_hal.h:271
#define EXTI_LINE13
Definition: stm32h7xx_hal.h:282
#define EXTI_LINE1
Definition: stm32h7xx_hal.h:270
#define EXTI_LINE9
Definition: stm32h7xx_hal.h:278
#define EXTI_LINE6
Definition: stm32h7xx_hal.h:275

◆ IS_HAL_EXTI_CONFIG_LINE

#define IS_HAL_EXTI_CONFIG_LINE (   LINE)
Value:
(((LINE) == EXTI_LINE0) || ((LINE) == EXTI_LINE1)|| \
((LINE) == EXTI_LINE2) || ((LINE) == EXTI_LINE3) || \
((LINE) == EXTI_LINE4) || ((LINE) == EXTI_LINE5) || \
((LINE) == EXTI_LINE6) || ((LINE) == EXTI_LINE7) || \
((LINE) == EXTI_LINE8) || ((LINE) == EXTI_LINE9) || \
((LINE) == EXTI_LINE10) || ((LINE) == EXTI_LINE11) || \
((LINE) == EXTI_LINE12) || ((LINE) == EXTI_LINE13) || \
((LINE) == EXTI_LINE14) || ((LINE) == EXTI_LINE15) || \
((LINE) == EXTI_LINE16) || ((LINE) == EXTI_LINE17) || \
((LINE) == EXTI_LINE18) || ((LINE) == EXTI_LINE19) || \
((LINE) == EXTI_LINE20) || ((LINE) == EXTI_LINE21) || \
((LINE) == EXTI_LINE49) || ((LINE) == EXTI_LINE51) || \
((LINE) == EXTI_LINE85) || ((LINE) == EXTI_LINE86))

◆ LPTIM2_OUT_CLEAR

#define LPTIM2_OUT_CLEAR   ((uint32_t)0x00000002)

LPTIM2 out selected as D3 domain pendclear source

◆ LPTIM3_OUT_CLEAR

#define LPTIM3_OUT_CLEAR   ((uint32_t)0x00000003)

LPTIM3 out selected as D3 domain pendclear source