1 /* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/device.h> 8 #include <sys/types.h> 9 10 #include <Qspi_Ip.h> 11 12 /** 13 * @brief Build a QSPI Look-up Table (LUT) sequence entry. 14 * 15 * @param inst instruction 16 * @param pads pad information 17 * @param op operand 18 */ 19 #define QSPI_LUT_OP(inst, pads, op) \ 20 ((Qspi_Ip_InstrOpType)((Qspi_Ip_InstrOpType)(inst) \ 21 | (Qspi_Ip_InstrOpType)(pads) \ 22 | (Qspi_Ip_InstrOpType)(op))) 23 24 /** 25 * @brief Get the QSPI peripheral hardware instance number. 26 * 27 * @param dev device pointer 28 */ 29 uint8_t memc_nxp_s32_qspi_get_instance(const struct device *dev); 30