Zephyr API 3.6.99
Loading...
Searching...
No Matches
xspi.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_XSPI_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_XSPI_H_
8
15/* XSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */
16/* 1 Cmd Line, 1 Address Line and 1 Data Line */
17#define XSPI_SPI_MODE 1
18/* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
19#define XSPI_DUAL_MODE 2
20/* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
21#define XSPI_QUAD_MODE 4
22/* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
23#define XSPI_OCTO_MODE 8
24
25/* XSPI mode operating on Single or Double Transfer Rate */
26/* Single Transfer Rate */
27#define XSPI_STR_TRANSFER 1
28/* Double Transfer Rate */
29#define XSPI_DTR_TRANSFER 2
30
31#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_XSPI_H_ */