Lines Matching refs:protectStatus
1744 …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
1809 if ((config == NULL) || (protectStatus == NULL)) in FLASH_EepromGetProtection()
1819 *protectStatus = FTMRx->EEPROT; in FLASH_EepromGetProtection()