@.CharSet=CP1251 (Cyrillic)
@GNU AS
@.desc type=module
@ +------------------------------------------------------------------+
@ |                              Константы CRC                       |
@ |                              для STM32F4xx                       |
@ +------------------------------------------------------------------+
@.enddesc


.INCLUDE       "/src/inc/base.inc"

@.ITEM     AHB1PERIPH_BASE
.EQU  CRC           , AHB1PERIPH_BASE + 0x3000
@.END

@.ITEM     CRC
.EQU  CRC_DR        , 0x00       @ Data register (CRC_DR)
.EQU  CRC_IDR       , 0x04       @ Independent data register (CRC_IDR)
.EQU  CRC_CR        , 0x08       @ Control register (CRC_CR)
@.END

@.ITEM     CRC_IDR
.EQU  CRC_IDR_IDR_M , 0x000000FF    @ General-purpose 8-bit data register bits
@.END

@.ITEM     CRC_CR
.EQU  CRC_CR_RESET  , 0x01       @ Bit 0 RESET bit
                                 @ Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF.
                                 @ This bit can only be set, it is automatically cleared by hardware.
@.END

