Lines Matching refs:FTMRx

133 #define FTMRx                      FTMRE  macro
159 #define FTMRx FTMRH macro
418 …if ((0U == (FTMRx->FCLKDIV & FTMRx_FCLKDIV_FDIVLCK_MASK)) && (0U != (FTMRx->FSTAT & FTMRx_FSTAT_CC… in FLASH_Init()
421FTMRx->FCLKDIV = (uint8_t)(FTMRx->FCLKDIV & (~FTMRx_FCLKDIV_FDIV_MASK)) | FTMRx_FCLKDIV_FDIV(clkDi… in FLASH_Init()
422 if ((FTMRx->FCLKDIV & FTMRx_FCLKDIV_FDIV_MASK) != FTMRx_FCLKDIV_FDIV(clkDiver)) in FLASH_Init()
430 if ((FTMRx->FCLKDIV & FTMRx_FCLKDIV_FDIV_MASK) != FTMRx_FCLKDIV_FDIV(clkDiver)) in FLASH_Init()
553 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_EraseAll()
653 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_Erase()
762 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_EraseEEprom()
807 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_EraseAllUnsecure()
887 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_Program()
983 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_ProgramOnce()
1038 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_EepromWrite()
1133 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_ReadOnce()
1144 fccobloValue = FTMRx->FCCOBLO; in FLASH_ReadOnce()
1145 fccobhiValue = FTMRx->FCCOBHI; in FLASH_ReadOnce()
1147 FTMRx->FCCOBIX = FTMRx_FCCOBIX_CCOBIX(2UL); in FLASH_ReadOnce()
1149 FTMRx->FCCOBIX = FTMRx_FCCOBIX_CCOBIX(3UL); in FLASH_ReadOnce()
1152 FTMRx->FCCOBIX = FTMRx_FCCOBIX_CCOBIX(4UL); in FLASH_ReadOnce()
1154 FTMRx->FCCOBIX = FTMRx_FCCOBIX_CCOBIX(5UL); in FLASH_ReadOnce()
1187 registerValue = FTMRx->FSEC; in FLASH_GetSecurityState()
1251 registerValue = FTMRx->FSEC; in FLASH_SecurityBypass()
1258 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_SecurityBypass()
1364 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_VerifyEraseAll()
1474 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in FLASH_VerifyErase()
1752 FTMRx->FPROT = protectStatus->fprotvalue; in FLASH_PflashSetProtection()
1753 if (protectStatus->fprotvalue != FTMRx->FPROT) in FLASH_PflashSetProtection()
1777 protectStatus->fprotvalue = FTMRx->FPROT; in FLASH_PflashGetProtection()
1795 FTMRx->EEPROT = protectStatus; in FLASH_EepromSetProtection()
1797 if (FTMRx->EEPROT != protectStatus) in FLASH_EepromSetProtection()
1819 *protectStatus = FTMRx->EEPROT; in FLASH_EepromGetProtection()
2005 FTMRx->FCCOBIX = FTMRx_FCCOBIX_CCOBIX(index); in flash_set_command()
2006 FTMRx->FCCOBLO = FTMRx_FCCOBLO_CCOB(fValue); in flash_set_command()
2007 FTMRx->FCCOBHI = FTMRx_FCCOBHI_CCOB(sValue); in flash_set_command()
2024 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in flash_command_sequence()
2043 callFlashRunCommand((FTMRx_REG8_ACCESS_TYPE)(&FTMRx->FSTAT)); in flash_command_sequence()
2051 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in flash_command_sequence()
2053 FTMRx->FSTAT = FTMRx_FSTAT_CCIF_MASK; in flash_command_sequence()
2056 while (!(FTMRx->FSTAT & FTMRx_FSTAT_CCIF_MASK)) in flash_command_sequence()
2063 registerValue = FTMRx->FSTAT; in flash_command_sequence()
2081 registerValue = FTMRx->FERSTAT; in flash_command_sequence()
2446 pflashProtectionValue = FTMRx->FPROT & 0xA4UL; in flash_get_protection_info()
2447 pflashFPLS = (FTMRx->FPROT & 0x03UL); in flash_get_protection_info()
2449 pflashFPHS = (FTMRx->FPROT & 0x18UL) >> 3UL; in flash_get_protection_info()
2571 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in flash_setusermarginlevel()
2580 FTMRx->FCCOBLO |= FTMRx_FCCOBLO_CCOB(128UL); in flash_setusermarginlevel()
2609 FTMRx->FSTAT = FTMRx_FSTAT_ACCERR_MASK | FTMRx_FSTAT_FPVIOL_MASK; in flash_setfactorymarginlevel()
2617 FTMRx->FCCOBLO |= FTMRx_FCCOBLO_CCOB(128UL); in flash_setfactorymarginlevel()