Home
last modified time | relevance | path

Searched refs:protectStatus (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flash/
Dfsl_ftfx_flexnvm.c326 status_t FLEXNVM_DflashSetProtection(flexnvm_config_t *config, uint8_t protectStatus) in FLEXNVM_DflashSetProtection() argument
341 FTFx->FDPROT = protectStatus; in FLEXNVM_DflashSetProtection()
343 if (FTFx->FDPROT != protectStatus) in FLEXNVM_DflashSetProtection()
354 status_t FLEXNVM_DflashGetProtection(flexnvm_config_t *config, uint8_t *protectStatus) in FLEXNVM_DflashGetProtection() argument
356 if ((config == NULL) || (protectStatus == NULL)) in FLEXNVM_DflashGetProtection()
367 *protectStatus = FTFx->FDPROT; in FLEXNVM_DflashGetProtection()
375 status_t FLEXNVM_EepromSetProtection(flexnvm_config_t *config, uint8_t protectStatus) in FLEXNVM_EepromSetProtection() argument
389 FTFx->FEPROT = protectStatus; in FLEXNVM_EepromSetProtection()
391 if (FTFx->FEPROT != protectStatus) in FLEXNVM_EepromSetProtection()
402 status_t FLEXNVM_EepromGetProtection(flexnvm_config_t *config, uint8_t *protectStatus) in FLEXNVM_EepromGetProtection() argument
[all …]
Dfsl_ftfx_flexnvm.h480 status_t FLEXNVM_DflashSetProtection(flexnvm_config_t *config, uint8_t protectStatus);
498 status_t FLEXNVM_DflashGetProtection(flexnvm_config_t *config, uint8_t *protectStatus);
516 status_t FLEXNVM_EepromSetProtection(flexnvm_config_t *config, uint8_t protectStatus);
533 status_t FLEXNVM_EepromGetProtection(flexnvm_config_t *config, uint8_t *protectStatus);
Dfsl_ftfx_flash.c914 status_t FLASH_PflashSetProtection(flash_config_t *config, pflash_prot_status_t *protectStatus) in FLASH_PflashSetProtection() argument
916 if ((config == NULL) || (protectStatus == NULL)) in FLASH_PflashSetProtection()
937 *kFPROTL = protectStatus->protl; in FLASH_PflashSetProtection()
938 if (protectStatus->protl != *kFPROTL) in FLASH_PflashSetProtection()
947 *kFPROTH = protectStatus->proth; in FLASH_PflashSetProtection()
948 if (protectStatus->proth != *kFPROTH) in FLASH_PflashSetProtection()
962 *kFPROTSL = protectStatus->protsl; in FLASH_PflashSetProtection()
963 if (protectStatus->protsl != *kFPROTSL) in FLASH_PflashSetProtection()
967 *kFPROTSH = protectStatus->protsh; in FLASH_PflashSetProtection()
968 if (protectStatus->protsh != *kFPROTSH) in FLASH_PflashSetProtection()
[all …]
Dfsl_ftfx_flash.h637 status_t FLASH_PflashSetProtection(flash_config_t *config, pflash_prot_status_t *protectStatus);
654 status_t FLASH_PflashGetProtection(flash_config_t *config, pflash_prot_status_t *protectStatus);
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flash_ftmr/
Dfsl_flash.h852 …tus_t FLASH_PflashSetProtection(flash_config_t *config, pflash_protection_status_t *protectStatus);
863 …tus_t FLASH_PflashGetProtection(flash_config_t *config, pflash_protection_status_t *protectStatus);
877 status_t FLASH_EepromSetProtection(flash_config_t *config, uint8_t protectStatus);
891 status_t FLASH_EepromGetProtection(flash_config_t *config, uint8_t *protectStatus);
Dfsl_flash.c1744 …atus_t FLASH_PflashSetProtection(flash_config_t *config, pflash_protection_status_t *protectStatus) in FLASH_PflashSetProtection() argument
1752 FTMRx->FPROT = protectStatus->fprotvalue; in FLASH_PflashSetProtection()
1753 if (protectStatus->fprotvalue != FTMRx->FPROT) in FLASH_PflashSetProtection()
1770 …atus_t FLASH_PflashGetProtection(flash_config_t *config, pflash_protection_status_t *protectStatus) in FLASH_PflashGetProtection() argument
1772 if ((config == NULL) || (protectStatus == NULL)) in FLASH_PflashGetProtection()
1777 protectStatus->fprotvalue = FTMRx->FPROT; in FLASH_PflashGetProtection()
1783 status_t FLASH_EepromSetProtection(flash_config_t *config, uint8_t protectStatus) in FLASH_EepromSetProtection() argument
1795 FTMRx->EEPROT = protectStatus; in FLASH_EepromSetProtection()
1797 if (FTMRx->EEPROT != protectStatus) in FLASH_EepromSetProtection()
1807 status_t FLASH_EepromGetProtection(flash_config_t *config, uint8_t *protectStatus) in FLASH_EepromGetProtection() argument
[all …]