You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
624 B
29 lines
624 B
/* |
|
* Copyright 2023 NXP |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
#include <zephyr/device.h> |
|
#include <sys/types.h> |
|
|
|
#include <Qspi_Ip.h> |
|
|
|
/** |
|
* @brief Build a QSPI Look-up Table (LUT) sequence entry. |
|
* |
|
* @param inst instruction |
|
* @param pads pad information |
|
* @param op operand |
|
*/ |
|
#define QSPI_LUT_OP(inst, pads, op) \ |
|
((Qspi_Ip_InstrOpType)((Qspi_Ip_InstrOpType)(inst) \ |
|
| (Qspi_Ip_InstrOpType)(pads) \ |
|
| (Qspi_Ip_InstrOpType)(op))) |
|
|
|
/** |
|
* @brief Get the QSPI peripheral hardware instance number. |
|
* |
|
* @param dev device pointer |
|
*/ |
|
uint8_t memc_nxp_s32_qspi_get_instance(const struct device *dev);
|
|
|