123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- /*==================================================================================================
- * Project : RTD AUTOSAR 4.4
- * Platform : CORTEXM
- * Peripheral : FTFC_FLS_IP IPV_QSPI
- * Dependencies : none
- *
- * Autosar Version : 4.4.0
- * Autosar Revision : ASR_REL_4_4_REV_0000
- * Autosar Conf.Variant :
- * SW Version : 1.0.0
- * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
- *
- * (c) Copyright 2020-2021 NXP Semiconductors
- * All Rights Reserved.
- *
- * NXP Confidential. This software is owned or controlled by NXP and may only be
- * used strictly in accordance with the applicable license terms. By expressly
- * accepting such terms or by downloading, installing, activating and/or otherwise
- * using the software, you are agreeing that you have read, and that you agree to
- * comply with and are bound by, such license terms. If you do not agree to be
- * bound by the applicable license terms, then you may not retain, install,
- * activate or otherwise use the software.
- ==================================================================================================*/
- #if !defined(QSPI_IP_FEATURES_H)
- #define QSPI_IP_FEATURES_H
- /**
- * @file Qspi_Ip_Features.h
- *
- * @addtogroup FLS
- * @{
- */
- /* implements Qspi_Ip_Features.h_Artifact */
- #ifdef __cplusplus
- extern "C"{
- #endif
- /*==================================================================================================
- * INCLUDE FILES
- * 1) system and project includes
- * 2) needed interfaces from external units
- * 3) internal and external interfaces from this unit
- ==================================================================================================*/
- /*==================================================================================================
- * SOURCE FILE VERSION INFORMATION
- ==================================================================================================*/
- #define QSPI_IP_FEATURES_VENDOR_ID_CFG 43
- #define QSPI_IP_FEATURES_AR_RELEASE_MAJOR_VERSION_CFG 4
- #define QSPI_IP_FEATURES_AR_RELEASE_MINOR_VERSION_CFG 4
- #define QSPI_IP_FEATURES_AR_RELEASE_REVISION_VERSION_CFG 0
- #define QSPI_IP_FEATURES_SW_MAJOR_VERSION_CFG 1
- #define QSPI_IP_FEATURES_SW_MINOR_VERSION_CFG 0
- #define QSPI_IP_FEATURES_SW_PATCH_VERSION_CFG 0
- /*==================================================================================================
- * DEFINES AND MACROS
- ==================================================================================================*/
- /* QuadSPI module features */
- /*! @brief First address of the serial flash device on the AHB bus. */
- #define FEATURE_QSPI_AMBA_BASE 0x68000000U
- /*! @brief Size of AHB buffer. */
- #define FEATURE_QSPI_AHB_BUF_SIZE 1024U
- /*! @brief Size of Tx FIFO. */
- #define FEATURE_QSPI_TX_BUF_SIZE 128U
- /*! @brief Size of Rx FIFO. */
- #define FEATURE_QSPI_RX_BUF_SIZE 128U
- /*! @brief Number of LUT registers that make up a LUT sequence */
- #define FEATURE_QSPI_LUT_SEQUENCE_SIZE 4U
- /*! @brief Minimum delay in CPU cycles between Tx FIFO reset and Tx FIFO push */
- #define FEATURE_QSPI_TX_RESET_DELAY (0U)
- /* Minimum entries of 4 bytes fill needed to allow Tx operation to start */
- #define FEATURE_QSPI_TX_MIN_BUF_FILL 4U
- /*! @brief Supports Double Data Rate operation */
- #define FEATURE_QSPI_DDR 1
- /*! @brief QSPI side B is available */
- #define FEATURE_QSPI_HAS_SIDE_B 1
- /*! @brief Configurable Idle Signal Drive */
- #define FEATURE_QSPI_CONFIGURABLE_ISD 1
- /*! @brief Supports addr. config options (column address, word addressable) */
- #define FEATURE_QSPI_ADDR_CFG 1
- /*! @brief Supports byte swap */
- #define FEATURE_QSPI_BYTES_SWAP_ADDR 0
- /*! @brief Supports center-aligned read strobe */
- #define FEATURE_QSPI_CENTER_ALIGNED_READ_STROBE 0
- /*! @brief Supports differential clock */
- #define FEATURE_QSPI_DIFFERENTIAL_CLOCK 0
- /*! @brief Supports internal DQS sampling mode */
- #define FEATURE_QSPI_INTERNAL_DQS 1
- /*! @brief Supports loopback sampling mode */
- #define FEATURE_QSPI_LOOPBACK 1
- /*! @brief Supports DQS loopback sampling mode */
- #define FEATURE_QSPI_LOOPBACK_DQS 1
- /*! @brief Supports external DQS sampling mode */
- #define FEATURE_QSPI_EXTERNAL_DQS 1
- /*! @brief Supports DQS_FA_SEL/DQS_FB_SEL field in MCR register for DQS selection */
- #define FEATURE_QSPI_SELECT_DQS 0
- /*! @brief Supports Dll feature */
- #define FEATURE_QSPI_HAS_DLL 0
- /*! @brief Supports full DLL features (as opposed to bypass mode only) */
- #define FEATURE_QSPI_EXTERNAL_DLL_FULL 0
- /*! @brief Supports DLL reference counter and DLL resolution*/
- #define FEATURE_QSPI_DLL_LOOPCONTROL 0
- /*! @brief AHB base pointers initializer for all QSPI units */
- #define QuadSPI_AHB_PTRS { FEATURE_QSPI_AMBA_BASE }
- #ifdef __cplusplus
- }
- #endif
- /** @} */
- #endif /* QSPI_IP_FEATURES_H */
|