21 lines
965 B
INI
21 lines
965 B
INI
|
set AT91_SMC_READMODE [expr (1 << 0)] ;# Read Mode
|
||
|
set AT91_SMC_WRITEMODE [expr (1 << 1)] ;# Write Mode
|
||
|
set AT91_SMC_EXNWMODE [expr (3 << 4)] ;# NWAIT Mode
|
||
|
set AT91_SMC_EXNWMODE_DISABLE [expr (0 << 4)]
|
||
|
set AT91_SMC_EXNWMODE_FROZEN [expr (2 << 4)]
|
||
|
set AT91_SMC_EXNWMODE_READY [expr (3 << 4)]
|
||
|
set AT91_SMC_BAT [expr (1 << 8)] ;# Byte Access Type
|
||
|
set AT91_SMC_BAT_SELECT [expr (0 << 8)]
|
||
|
set AT91_SMC_BAT_WRITE [expr (1 << 8)]
|
||
|
set AT91_SMC_DBW [expr (3 << 12)] ;# Data Bus Width */
|
||
|
set AT91_SMC_DBW_8 [expr (0 << 12)]
|
||
|
set AT91_SMC_DBW_16 [expr (1 << 12)]
|
||
|
set AT91_SMC_DBW_32 [expr (2 << 12)]
|
||
|
set AT91_SMC_TDFMODE [expr (1 << 20)] ;# TDF Optimization - Enabled
|
||
|
set AT91_SMC_PMEN [expr (1 << 24)] ;# Page Mode Enabled
|
||
|
set AT91_SMC_PS [expr (3 << 28)] ;# Page Size
|
||
|
set AT91_SMC_PS_4 [expr (0 << 28)]
|
||
|
set AT91_SMC_PS_8 [expr (1 << 28)]
|
||
|
set AT91_SMC_PS_16 [expr (2 << 28)]
|
||
|
set AT91_SMC_PS_32 [expr (3 << 28)]
|