Added missing FSMC register addresses

master
Ondřej Hruška 9 years ago
parent debca1da2f
commit 68e90cd369
  1. 25
      lib/INI_FSMC.s
  2. 8
      lib/TODO.txt

@ -16,17 +16,20 @@
;* ;*
;**************************************************************************** ;****************************************************************************
; FSMC FSMC_BCR1 EQU (_FSCM + 0x0000) ; SRAM/NOR-Flash chip-select control registers
_FSMC_B1 EQU (_FSMC + 0x0000) ; FSMC Bank1 registers base address FSMC_BCR2 EQU (_FSCM + 0x0008) ;
_FSMC_B1E EQU (_FSMC + 0x0104) ; FSMC Bank1E registers base address FSMC_BCR3 EQU (_FSCM + 0x0010) ;
FSMC_BCR4 EQU (_FSCM + 0x0018) ;
; Bank 1
FSMC_B1_BTCR EQU (_FSMC_B1 + 0x00) ; NOR/PSRAM chip-select control register(BCR) and chip-select timing register(BTR), FSMC_BTR1 EQU (_FSCM + 0x0004) ; SRAM/NOR-Flash chip-select timing registers
FSMC_BTR2 EQU (_FSCM + 0x000C) ;
; Bank 2 FSMC_BTR3 EQU (_FSCM + 0x0014) ;
FSMC_B1E_BWTR EQU (_FSMC_B1E + 0x104) ; NOR/PSRAM write timing registers, FSMC_BTR4 EQU (_FSCM + 0x001C) ;
; TODO missing some registers FSMC_BWTR1 EQU (_FSCM + 0x0104) ; SRAM/NOR-Flash write timing registers
FSMC_BWTR2 EQU (_FSCM + 0x010C) ;
FSMC_BWTR3 EQU (_FSCM + 0x0114) ;
FSMC_BWTR4 EQU (_FSCM + 0x011C) ;
;**************************************************************************** ;****************************************************************************

@ -1,8 +0,0 @@
Missing registers in FSMC
Missing registers in USB
maybe others I didn't notice.
-mightypork
Loading…
Cancel
Save