Zephyr Project API  3.1.0
A Scalable Open Source RTOS
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 or 8 lines */
18/* 1 Cmd Line, 1 Address Line and 1 Data Line */
19#define OSPI_SPI_MODE 1
20/* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
21#define OSPI_OPI_MODE 8
22
23/* OSPI mode operating on Single or Double Transfer Rate */
24/* Single Transfer Rate */
25#define OSPI_STR_TRANSFER 1
26/* Double Transfer Rate */
27#define OSPI_DTR_TRANSFER 2
28
29#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_OSPI_H_ */