@.CharSet=CP1251 (Cyrillic)
@GNU AS

@.DESC     type=module
@ +------------------------------------------------------------------+
@ |                     Базовые константы EXTI                       |
@ |                           stm32f1xx                              |
@ +------------------------------------------------------------------+
@.ENDDESC


.include "/src/inc/base.inc"

@.ITEM     APB2PERIPH_BASE
.EQU  EXTI_BASE     , APB2PERIPH_BASE + 0x0400
.EQU  EXTI          , PERIPH_BASE + EXTI_BASE

@.ITEM     EXTI EXTI_BASE
.EQU  EXTI_IMR      , 0x00     @ Interrupt mask register (EXTI_IMR)
.EQU  EXTI_EMR      , 0x04     @ Event mask register (EXTI_EMR)
.EQU  EXTI_RTSR     , 0x08     @ Rising trigger selection register (EXTI_RTSR)
.EQU  EXTI_FTSR     , 0x0C     @ Falling trigger selection register (EXTI_FTSR)
.EQU  EXTI_SWIER    , 0x10     @ Software interrupt event register (EXTI_SWIER)
.EQU  EXTI_PR       , 0x14     @ Pending register (EXTI_PR)

