|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Extended operations for NPCX flash controllers. More...
Files | |
| file | npcx_flash_api_ex.h |
| Header file for NPCX flash extended operations. | |
Data Structures | |
| struct | npcx_ex_ops_uma_in |
| Input parameters for FLASH_NPCX_EX_OP_EXEC_UMA operation. More... | |
| struct | npcx_ex_ops_uma_out |
| Output parameters for FLASH_NPCX_EX_OP_EXEC_UMA operation. More... | |
| struct | npcx_ex_ops_qspi_oper_in |
| Input parameters for FLASH_NPCX_EX_OP_SET_QSPI_OPER operation. More... | |
| struct | npcx_ex_ops_qspi_oper_out |
| Output parameters for FLASH_NPCX_EX_OP_GET_QSPI_OPER operation. More... | |
| struct | npcx_ex_ops_gdma_in |
Enumerations | |
| enum | flash_npcx_ex_ops { FLASH_NPCX_EX_OP_EXEC_UMA = FLASH_EX_OP_VENDOR_BASE , FLASH_NPCX_EX_OP_SET_QSPI_OPER , FLASH_NPCX_EX_OP_GET_QSPI_OPER , FLASH_NPCX_EX_OP_EXEC_GDMA } |
| Enumeration for NPCX flash extended operations. More... | |
NPCX QSPI operation control bits | |
| #define | NPCX_EX_OP_LOCK_UMA BIT(0) |
| Lock/Unlock UMA mode. | |
| #define | NPCX_EX_OP_INT_FLASH_WP BIT(1) |
| Issue write protection of internal flash. | |
Extended operations for NPCX flash controllers.
| #define NPCX_EX_OP_INT_FLASH_WP BIT(1) |
#include <zephyr/drivers/flash/npcx_flash_api_ex.h>
Issue write protection of internal flash.
| #define NPCX_EX_OP_LOCK_UMA BIT(0) |
#include <zephyr/drivers/flash/npcx_flash_api_ex.h>
Lock/Unlock UMA mode.
| enum flash_npcx_ex_ops |
#include <zephyr/drivers/flash/npcx_flash_api_ex.h>
Enumeration for NPCX flash extended operations.
| Enumerator | |||||
|---|---|---|---|---|---|
| FLASH_NPCX_EX_OP_EXEC_UMA | User Mode Access (UMA) mode execution. Execute a SPI transaction via User Mode Access (UMA) mode. Users can perform a customized SPI transaction to read or write the device's configuration such as status registers of nor flash, power on/off, and so on.
| ||||
| FLASH_NPCX_EX_OP_SET_QSPI_OPER | Configure specific operation for Quad-SPI nor flash. It configures specific operation for Quad-SPI nor flash such as lock or unlock UMA mode, set write protection pin of internal flash, and so on.
| ||||
| FLASH_NPCX_EX_OP_GET_QSPI_OPER | Get specific operation for Quad-SPI nor flash. It returns current specific operation for Quad-SPI nor flash.
| ||||
| FLASH_NPCX_EX_OP_EXEC_GDMA | |||||