Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mchp_nvmctrl_g3.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Microchip Technology Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
22#ifndef INCLUDE_ZEPHYR_DRIVERS_FLASH_MCHP_NVMCTRL_G3_H_
23#define INCLUDE_ZEPHYR_DRIVERS_FLASH_MCHP_NVMCTRL_G3_H_
24
34#include <zephyr/types.h>
35#include <stdbool.h>
36
56
74
86
104
118
123#endif /*INCLUDE_ZEPHYR_DRIVERS_FLASH_MCHP_NVMCTRL_G3_H_*/
pfm_wp_region
Program Flash Memory (PFM) write protection regions.
Definition mchp_nvmctrl_g3.h:64
boot_flash_bank
Boot Flash Memory (BFM) bank selection.
Definition mchp_nvmctrl_g3.h:82
@ FLASH_EX_OP_PFM_REGION_WRITE_PROTECT_ENABLE
Enable write protection for a PFM region.
Definition mchp_nvmctrl_g3.h:44
@ FLASH_EX_OP_BFM_WRITE_PROTECT_DISABLE
Disable write protection for BFM.
Definition mchp_nvmctrl_g3.h:52
@ FLASH_EX_OP_BFM_WRITE_PROTECT_LOCK
Lock write protection settings for BFM.
Definition mchp_nvmctrl_g3.h:54
@ FLASH_EX_OP_PFM_REGION_WRITE_PROTECT_DISABLE
Disable write protection for a PFM region.
Definition mchp_nvmctrl_g3.h:46
@ FLASH_EX_OP_BFM_WRITE_PROTECT_ENABLE
Enable write protection for BFM.
Definition mchp_nvmctrl_g3.h:50
@ FLASH_EX_OP_PFM_REGION_WRITE_PROTECT_LOCK
Lock write protection settings for a PFM region.
Definition mchp_nvmctrl_g3.h:48
@ PFM_WP_REGION_6
PFM write protection region 6.
Definition mchp_nvmctrl_g3.h:71
@ PFM_WP_REGION_4
PFM write protection region 4.
Definition mchp_nvmctrl_g3.h:69
@ PFM_WP_REGION_7
PFM write protection region 7.
Definition mchp_nvmctrl_g3.h:72
@ PFM_WP_REGION_5
PFM write protection region 5.
Definition mchp_nvmctrl_g3.h:70
@ PFM_WP_REGION_3
PFM write protection region 3.
Definition mchp_nvmctrl_g3.h:68
@ PFM_WP_REGION_1
PFM write protection region 1.
Definition mchp_nvmctrl_g3.h:66
@ PFM_WP_REGION_0
PFM write protection region 0.
Definition mchp_nvmctrl_g3.h:65
@ PFM_WP_REGION_2
PFM write protection region 2.
Definition mchp_nvmctrl_g3.h:67
@ BOOT_FLASH_BANK_1
Boot Flash Memory Bank/Panel 1.
Definition mchp_nvmctrl_g3.h:83
@ BOOT_FLASH_BANK_2
Boot Flash Memory Bank/Panel 2.
Definition mchp_nvmctrl_g3.h:84
flash_mchp_ex_ops_t
Enumeration of extended operation codes for the MCHP NVMCTRL G1 flash controller.
Definition mchp_nvmctrl_g1.h:29
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Boot Flash Memory (BFM) extended operation parameters.
Definition mchp_nvmctrl_g3.h:112
uint32_t wp_page
Write protection page configuration.
Definition mchp_nvmctrl_g3.h:116
enum boot_flash_bank boot_bank
Boot flash bank/panel selection.
Definition mchp_nvmctrl_g3.h:114
Program Flash Memory (PFM) extended operation parameters.
Definition mchp_nvmctrl_g3.h:94
uint32_t base_addr
Base address of the write protection region.
Definition mchp_nvmctrl_g3.h:98
enum pfm_wp_region region
Write protection region selector.
Definition mchp_nvmctrl_g3.h:96
bool mirror_enable
Enable mirroring for this region.
Definition mchp_nvmctrl_g3.h:102
uint32_t region_size
Size of the write protection region in bytes.
Definition mchp_nvmctrl_g3.h:100