Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mchp_nvmctrl_g3.h File Reference

Header file supporting ex_op for Microchip flash-controller G3 driver. More...

#include <zephyr/types.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  pfm_exop
 Program Flash Memory (PFM) extended operation parameters. More...
 
struct  bfm_exop
 Boot Flash Memory (BFM) extended operation parameters. More...
 

Enumerations

enum  flash_mchp_ex_ops_t {
  FLASH_EX_OP_PFM_REGION_WRITE_PROTECT_ENABLE , FLASH_EX_OP_PFM_REGION_WRITE_PROTECT_DISABLE , FLASH_EX_OP_PFM_REGION_WRITE_PROTECT_LOCK , FLASH_EX_OP_BFM_WRITE_PROTECT_ENABLE ,
  FLASH_EX_OP_BFM_WRITE_PROTECT_DISABLE , FLASH_EX_OP_BFM_WRITE_PROTECT_LOCK
}
 This enumeration defines the set of extended operations that can be performed on the flash memory, such as erasing or writing the user row, and locking or unlocking specific flash regions. More...
 
enum  pfm_wp_region {
  PFM_WP_REGION_0 , PFM_WP_REGION_1 , PFM_WP_REGION_2 , PFM_WP_REGION_3 ,
  PFM_WP_REGION_4 , PFM_WP_REGION_5 , PFM_WP_REGION_6 , PFM_WP_REGION_7
}
 Program Flash Memory (PFM) write protection regions. More...
 
enum  boot_flash_bank { BOOT_FLASH_BANK_1 , BOOT_FLASH_BANK_2 }
 Boot Flash Memory (BFM) bank selection. More...
 

Detailed Description

Header file supporting ex_op for Microchip flash-controller G3 driver.

This header provides definitions for additional flash memory operations specific to the Microchip NVMCTRL G3 flash controller. It extends the standard flash driver capabilities by enabling advanced operations such as and region locking/unlocking, clear page buffer, etc.,

Note
This file should only be included when targeting devices with the NVMCTRL G3 flash controller.