LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/flash_controller - xspi.h Hit Total Coverage
Test: new.info Lines: 0 7 0.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           0 : /*
       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             : 
       9             : /**
      10             :  * @name XSPI definition for the xSPI peripherals
      11             :  * Note that
      12             :  *  SPI mode impossible in STR transfer rate only
      13             :  */
      14             : 
      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           0 : #define XSPI_SPI_MODE                     1
      18             : /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
      19           0 : #define XSPI_DUAL_MODE                    2
      20             : /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
      21           0 : #define XSPI_QUAD_MODE                    4
      22             : /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
      23           0 : #define XSPI_OCTO_MODE                    8
      24             : 
      25             : /* XSPI mode operating on Single or Double Transfer Rate */
      26             : /* Single Transfer Rate */
      27           0 : #define XSPI_STR_TRANSFER                 1
      28             : /* Double Transfer Rate */
      29           0 : #define XSPI_DTR_TRANSFER                 2
      30             : 
      31             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_XSPI_H_ */

Generated by: LCOV version 1.14