Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ospi.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_OSPI_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_OSPI_H_
8
17/* OSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */
18/* 1 Cmd Line, 1 Address Line and 1 Data Line */
19#define OSPI_SPI_MODE 1
20/* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
21#define OSPI_DUAL_MODE 2
22/* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
23#define OSPI_QUAD_MODE 4
24/* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
25#define OSPI_OPI_MODE 8
26
27/* OSPI mode operating on Single or Double Transfer Rate */
28/* Single Transfer Rate */
29#define OSPI_STR_TRANSFER 1
30/* Double Transfer Rate */
31#define OSPI_DTR_TRANSFER 2
32
33#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_OSPI_H_ */