#include <debug.h>
#include <lib/list.h>
#include <stdlib.h>
#include <types.h>
#include <sdrv_ckgen.h>
#include <sdrv_common.h>
Go to the source code of this file.
- Copyright
- Copyright (c) 2022 Semidrive Semiconductor. All rights reserved.
◆ sdrv_xspi_master_error
xspi master status error code.
| Enumerator |
|---|
| SSDRV_STATUS_GROUP_XSPI_MASTER_LOCKED_ERR | xspi master lock error
|
| SSDRV_STATUS_GROUP_XSPI_MASTER_CHECK_BIT_ERR | xspi master check bit error
|
| SSDRV_STATUS_GROUP_XSPI_MASTER_MODE_CTRL_BUSY_ERR | xspi master ctrl mode busy
|
| SSDRV_STATUS_GROUP_XSPI_MASTER_CTRL_BUSY_ERR | xspi master ctrl busy
|
| SSDRV_STATUS_GROUP_XSPI_MASTER_SET_FLAG_ATTR_ERR | xspi master set flag error
|
| SSDRV_STATUS_GROUP_XSPI_MASTER_GET_FLAG_ATTR_ERR | xspi master get flag error
|
| SSDRV_STATUS_GROUP_XSPI_SLAVER_SET_FLAG_ATTR_ERR | xspi slaver set flag error
|
| SSDRV_STATUS_GROUP_XSPI_SLAVER_GET_FLAG_ATTR_ERR | xspi slaver get flag error
|
| SSDRV_STATUS_GROUP_XSPI_SLAVER_GET_STATUS_ERR | xspi slaver get status error
|
◆ sdrv_xspi_mst_ioctl_flag
xspi master set attr.
| Enumerator |
|---|
| XSPI_MST_FLAG_ADDR_OFFSET | xspi global address offset configuration
|
| XSPI_MST_FLAG_SLV_ERR_RESP | xspi slv error respond enable
|
| XSPI_MST_FLAG_CRC_EN | xspi master mode crc enable
|
| XSPI_MST_FLAG_DUMMY | xspi master dummy cycle
|
| XSPI_MST_FLAG_RATE | xspi master data rate
|
| XSPI_MST_FLAG_LINE | xspi master line number
|
| XSPI_MST_FLAG_WAIT_TIME | xspi master wait time
|
| XSPI_MST_FLAG_TIMEOUT | xspi master mode timeout config register
|
| XSPI_MST_FLAG_INT_ST | xspi master mode interrupt status
|
| XSPI_MST_FLAG_INT_EN | xspi master mode interrupt enable
|
| XSPI_MST_MS_INT_ST | xspi master MS mode interrupt status
|
| XSPI_MST_FLAG_MAX | |
◆ sdrv_xspi_mst_line
| Enumerator |
|---|
| XSPI_MST_1_LINE | xspi master line 00: 1-line
|
| XSPI_MST_2_LINE | xspi master line 01: 2-line
|
| XSPI_MST_4_LINE | xspi master line 10: 4-line
|
| XSPI_MST_8_LINE | xspi master line 11: 8-line
|
◆ sdrv_xspi_mst_deinit()
xspi master deinit.
- Parameters
-
- Returns
- int
- Return values
-
◆ sdrv_xspi_mst_get_attr()
xspi master get attr.
This function used for xspi master get attribute, and detailed flag reference structure definitions.
- Parameters
-
| [in] | xspi | master dev |
| [in] | xspi | master ioctl flag |
| [out] | xspi | master buf |
- Returns
- int
- Return values
-
◆ sdrv_xspi_mst_init()
xspi master master init.
- Parameters
-
| [in] | xspi | master dev |
| [in] | xspi | master config |
- Returns
- int
- Return values
-
◆ sdrv_xspi_mst_set_attr()
xspi master set attr.
This function used for xspi master set attribute, and detailed flag reference structure definitions.
- Parameters
-
| [in] | xspi | master dev |
| [in] | xspi | master ioctl flag |
| [in] | xspi | master buf |
- Returns
- int
- Return values
-