|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Extended operations for Microchip NVMCTRL G1 flash controller. More...
Files | |
| file | mchp_nvmctrl_g1.h |
| Header file for Microchip NVMCTRL G1 flash extended operations. | |
Data Structures | |
| struct | flash_mchp_ex_op_userrow_data |
| Parameters for user row data operations on the MCHP NVMCTRL G1 flash. More... | |
Typedefs | |
| typedef struct flash_mchp_ex_op_userrow_data | flash_mchp_ex_op_userrow_data_t |
| Parameters for user row data operations on the MCHP NVMCTRL G1 flash. | |
Enumerations | |
| enum | flash_mchp_ex_ops_t { FLASH_EX_OP_USER_ROW_ERASE , FLASH_EX_OP_USER_ROW_WRITE , FLASH_EX_OP_REGION_LOCK , FLASH_EX_OP_REGION_UNLOCK } |
| Enumeration of extended operation codes for the MCHP NVMCTRL G1 flash controller. More... | |
Extended operations for Microchip NVMCTRL G1 flash controller.
| typedef struct flash_mchp_ex_op_userrow_data flash_mchp_ex_op_userrow_data_t |
#include <zephyr/drivers/flash/mchp_nvmctrl_g1.h>
Parameters for user row data operations on the MCHP NVMCTRL G1 flash.
Used as the in argument to FLASH_EX_OP_USER_ROW_WRITE to specify the source data buffer and the target location within the user row region.
| enum flash_mchp_ex_ops_t |
#include <zephyr/drivers/flash/mchp_nvmctrl_g1.h>
Enumeration of extended operation codes for the MCHP NVMCTRL G1 flash controller.
| Enumerator | |||||
|---|---|---|---|---|---|
| FLASH_EX_OP_USER_ROW_ERASE | Erases the entire user row in flash memory. This operation erases the user row section of flash memory starting at the base address defined by SOC_NV_USERROW_BASE_ADDR.
| ||||
| FLASH_EX_OP_USER_ROW_WRITE | Writes data to the user row in flash memory. This operation writes data to the user row section of flash memory. The offset and data length must be aligned to the user row write block size (quad-word, typically 16 bytes).
| ||||
| FLASH_EX_OP_REGION_LOCK | Locks all regions of flash memory. This operation iterates over all lock regions of the main flash array and issues a Lock Region (LR) command for each one.
| ||||
| FLASH_EX_OP_REGION_UNLOCK | Unlocks all regions of flash memory. This operation iterates over all lock regions of the main flash array and issues an Unlock Region (UR) command for each one.
| ||||