@.CHARSET =CP1251 ( Cyrillic )
@GNU AS

@ +----------------------------------------------------------+
@ |               Определения USART1-3, UART4-5              |
@ |         STM32F100xCDE  STM32F103RCDEFG\VCDEFG\Zx         |
@ +----------------------------------------------------------+


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

@.ITEM     APB2PERIPH_BASE
.EQU  USART1_BASE        , APB2PERIPH_BASE + 0x3800
.EQU  USART1             , PERIPH_BASE + USART1_BASE
@.end

@.ITEM     APB1PERIPH_BASE
.EQU  USART2_BASE        , APB1PERIPH_BASE + 0x4400
.EQU  USART2             , PERIPH_BASE + USART2_BASE
.EQU  USART3_BASE        , APB1PERIPH_BASE + 0x4800
.EQU  USART3             , PERIPH_BASE + USART3_BASE
.EQU  UART4_BASE         , APB1PERIPH_BASE + 0x4C00
.EQU  UART4              , PERIPH_BASE + UART4_BASE
.EQU  UART5_BASE         , APB1PERIPH_BASE + 0x5000
.EQU  UART5              , PERIPH_BASE + UART5_BASE
@.end

