Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
▼
dt-bindings
►
acpi
►
adc
►
battery
►
clock
►
comparator
►
dac
►
dai
►
display
►
dma
►
espi
►
ethernet
►
flash_controller
►
gnss
►
gpio
►
i2c
►
input
►
inputmux
►
interrupt-controller
►
ipc_service
►
led
►
lora
►
lvgl
►
memory-attr
▼
memory-controller
►
nxp,flexram.h
►
renesas,ra-sdram.h
►
stm32-fmc-nor-psram.h
►
stm32-fmc-sdram.h
►
mfd
►
mipi_dbi
►
mipi_dsi
►
misc
►
pcie
►
pinctrl
►
power
►
pwm
►
qspi
►
rdc
►
regulator
►
reserved-memory
►
reset
►
sensor
►
spi
►
timer
►
usb
►
usb-c
►
video
dt-util.h
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mctp
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
stm32-fmc-nor-psram.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Georgij Cernysiov
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MEMORY_CONTROLLER_STM32_FMC_SRAM_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_MEMORY_CONTROLLER_STM32_FMC_SRAM_H_
9
10
/* Data Address Bus Multiplexing */
11
#define STM32_FMC_DATA_ADDRESS_MUX_DISABLE 0x00000000UL
12
#define STM32_FMC_DATA_ADDRESS_MUX_ENABLE 0x00000002UL
13
14
/* Memory Type */
15
#define STM32_FMC_MEMORY_TYPE_SRAM 0x00000000UL
16
#define STM32_FMC_MEMORY_TYPE_PSRAM 0x00000004UL
17
#define STM32_FMC_MEMORY_TYPE_NOR 0x00000008UL
18
19
/* NORSRAM Data Width */
20
#define STM32_FMC_NORSRAM_MEM_BUS_WIDTH_8 0x00000000UL
21
#define STM32_FMC_NORSRAM_MEM_BUS_WIDTH_16 0x00000010UL
22
#define STM32_FMC_NORSRAM_MEM_BUS_WIDTH_32 0x00000020UL
23
24
/* Burst Access Mode */
25
#define STM32_FMC_BURST_ACCESS_MODE_DISABLE 0x00000000UL
26
#define STM32_FMC_BURST_ACCESS_MODE_ENABLE 0x00000100UL
27
28
/* Wait Signal Polarity */
29
#define STM32_FMC_WAIT_SIGNAL_POLARITY_LOW 0x00000000UL
30
#define STM32_FMC_WAIT_SIGNAL_POLARITY_HIGH 0x00000200UL
31
32
/* Wait Timing */
33
#define STM32_FMC_WAIT_TIMING_BEFORE_WS 0x00000000UL
34
#define STM32_FMC_WAIT_TIMING_DURING_WS 0x00000800UL
35
36
/* Write Operation */
37
#define STM32_FMC_WRITE_OPERATION_DISABLE 0x00000000UL
38
#define STM32_FMC_WRITE_OPERATION_ENABLE 0x00001000UL
39
40
/* Wait Signal */
41
#define STM32_FMC_WAIT_SIGNAL_DISABLE 0x00000000UL
42
#define STM32_FMC_WAIT_SIGNAL_ENABLE 0x00002000UL
43
44
/* Extended Mode */
45
#define STM32_FMC_EXTENDED_MODE_DISABLE 0x00000000UL
46
#define STM32_FMC_EXTENDED_MODE_ENABLE 0x00004000UL
47
48
/* Asynchronous Wait */
49
#define STM32_FMC_ASYNCHRONOUS_WAIT_DISABLE 0x00000000UL
50
#define STM32_FMC_ASYNCHRONOUS_WAIT_ENABLE 0x00008000UL
51
52
/* Write Burst */
53
#define STM32_FMC_WRITE_BURST_DISABLE 0x00000000UL
54
#define STM32_FMC_WRITE_BURST_ENABLE 0x00080000UL
55
56
/* Continuous Clock */
57
#define STM32_FMC_CONTINUOUS_CLOCK_SYNC_ONLY 0x00000000UL
58
#define STM32_FMC_CONTINUOUS_CLOCK_SYNC_ASYNC 0x00100000UL
59
60
/* Write FIFO */
61
/* Not every SoC can disable FIFO, refer to reference manual */
62
#define STM32_FMC_WRITE_FIFO_DISABLE 0x00200000UL
63
#define STM32_FMC_WRITE_FIFO_ENABLE 0x00000000UL
64
65
/* Page Size */
66
#define STM32_FMC_PAGE_SIZE_NONE 0x00000000UL
67
#define STM32_FMC_PAGE_SIZE_128 0x00010000UL
68
#define STM32_FMC_PAGE_SIZE_256 0x00020000UL
69
#define STM32_FMC_PAGE_SIZE_512 0x00030000UL
70
#define STM32_FMC_PAGE_SIZE_1024 0x00040000UL
71
72
/* Access Mode */
73
#define STM32_FMC_ACCESS_MODE_A 0x00000000UL
74
#define STM32_FMC_ACCESS_MODE_B 0x10000000UL
75
#define STM32_FMC_ACCESS_MODE_C 0x20000000UL
76
#define STM32_FMC_ACCESS_MODE_D 0x30000000UL
77
78
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_MEMORY_CONTROLLER_STM32_FMC_SRAM_H_ */
zephyr
dt-bindings
memory-controller
stm32-fmc-nor-psram.h
Generated on Fri Mar 14 2025 12:05:19 for Zephyr API Documentation by
1.12.0