/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x/ |
D | mflash_drv.c | 82 FLASH->INTSTAT_CLR = in mflash_drv_is_readable() 84 FLASH->STARTA = addr >> 4; in mflash_drv_is_readable() 85 … FLASH->DATAW[0] = FLASH_READMODE_ECC(g_flash_instance.modeConfig.readSingleWord.readWithEccOff) | in mflash_drv_is_readable() 88 FLASH->CMD = 3; in mflash_drv_is_readable() 89 while (!(FLASH->INTSTAT & FLASH_INTSTAT_DONE_MASK)) in mflash_drv_is_readable() 91 result = FLASH->INTSTAT; in mflash_drv_is_readable()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55xxx/ |
D | mflash_drv.c | 82 FLASH->INT_CLR_STATUS = FLASH_INT_CLR_STATUS_FAIL_MASK | FLASH_INT_CLR_STATUS_ERR_MASK | in mflash_drv_is_readable() 84 FLASH->STARTA = addr >> 4; in mflash_drv_is_readable() 85 … FLASH->DATAW[0] = FLASH_READMODE_ECC(g_flash_instance.modeConfig.readSingleWord.readWithEccOff) | in mflash_drv_is_readable() 88 FLASH->CMD = 3; in mflash_drv_is_readable() 89 while (!(FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in mflash_drv_is_readable() 91 result = FLASH->INT_STATUS; in mflash_drv_is_readable()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5534/drivers/ |
D | fsl_power.c | 3070 flash_int_enable_reg = FLASH->INTEN; /* Save INT_ENABLE register. */ in POWER_SetSystemClock12MHZ() 3071 FLASH->INTEN_CLR = 0x1F; /* Disable all interrupt */ in POWER_SetSystemClock12MHZ() 3072 FLASH->INTSTAT_CLR = 0x1F; /* Clear all status flags */ in POWER_SetSystemClock12MHZ() 3077 flash_int_enable_reg = FLASH->INT_ENABLE; /* Save INT_ENABLE register. */ in POWER_SetSystemClock12MHZ() 3078 FLASH->INT_CLR_ENABLE = 0x1F; /* Disable all interrupt */ in POWER_SetSystemClock12MHZ() 3079 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in POWER_SetSystemClock12MHZ() 3082 FLASH->DATAW[0] = num_wait_states; in POWER_SetSystemClock12MHZ() 3083 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in POWER_SetSystemClock12MHZ() 3087 while (!(FLASH->INTSTAT & FLASH_INTSTAT_DONE_MASK)) in POWER_SetSystemClock12MHZ() 3089 FLASH->INTSTAT_CLR = 0x1F; /* Clear all status flags, then ... */ in POWER_SetSystemClock12MHZ() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5536/drivers/ |
D | fsl_power.c | 3070 flash_int_enable_reg = FLASH->INTEN; /* Save INT_ENABLE register. */ in POWER_SetSystemClock12MHZ() 3071 FLASH->INTEN_CLR = 0x1F; /* Disable all interrupt */ in POWER_SetSystemClock12MHZ() 3072 FLASH->INTSTAT_CLR = 0x1F; /* Clear all status flags */ in POWER_SetSystemClock12MHZ() 3077 flash_int_enable_reg = FLASH->INT_ENABLE; /* Save INT_ENABLE register. */ in POWER_SetSystemClock12MHZ() 3078 FLASH->INT_CLR_ENABLE = 0x1F; /* Disable all interrupt */ in POWER_SetSystemClock12MHZ() 3079 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in POWER_SetSystemClock12MHZ() 3082 FLASH->DATAW[0] = num_wait_states; in POWER_SetSystemClock12MHZ() 3083 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in POWER_SetSystemClock12MHZ() 3087 while (!(FLASH->INTSTAT & FLASH_INTSTAT_DONE_MASK)) in POWER_SetSystemClock12MHZ() 3089 FLASH->INTSTAT_CLR = 0x1F; /* Clear all status flags, then ... */ in POWER_SetSystemClock12MHZ() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S36/drivers/ |
D | fsl_power.c | 3070 flash_int_enable_reg = FLASH->INTEN; /* Save INT_ENABLE register. */ in POWER_SetSystemClock12MHZ() 3071 FLASH->INTEN_CLR = 0x1F; /* Disable all interrupt */ in POWER_SetSystemClock12MHZ() 3072 FLASH->INTSTAT_CLR = 0x1F; /* Clear all status flags */ in POWER_SetSystemClock12MHZ() 3077 flash_int_enable_reg = FLASH->INT_ENABLE; /* Save INT_ENABLE register. */ in POWER_SetSystemClock12MHZ() 3078 FLASH->INT_CLR_ENABLE = 0x1F; /* Disable all interrupt */ in POWER_SetSystemClock12MHZ() 3079 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in POWER_SetSystemClock12MHZ() 3082 FLASH->DATAW[0] = num_wait_states; in POWER_SetSystemClock12MHZ() 3083 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in POWER_SetSystemClock12MHZ() 3087 while (!(FLASH->INTSTAT & FLASH_INTSTAT_DONE_MASK)) in POWER_SetSystemClock12MHZ() 3089 FLASH->INTSTAT_CLR = 0x1F; /* Clear all status flags, then ... */ in POWER_SetSystemClock12MHZ() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/ |
D | readme.txt | 4 mflash_file is a simple statically allocated flat filesytem for FLASH memories.
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S06/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5506/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5506CPXXXX/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S04/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5504/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5504CPXXXX/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5502/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5502CPXXXX/drivers/ |
D | fsl_clock.c | 354 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 356 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 362 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5512/drivers/ |
D | fsl_clock.c | 357 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 362 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 365 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5526/drivers/ |
D | fsl_clock.c | 374 FLASH->INT_CLR_STATUS = 0x1FUL; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 376 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 379 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 382 while (0UL == (FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5528/drivers/ |
D | fsl_clock.c | 374 FLASH->INT_CLR_STATUS = 0x1FUL; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 376 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 379 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 382 while (0UL == (FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S66/drivers/ |
D | fsl_clock.c | 374 FLASH->INT_CLR_STATUS = 0x1FUL; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 376 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 379 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 382 while (0UL == (FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S16/drivers/ |
D | fsl_clock.c | 357 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 362 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 365 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S28/drivers/ |
D | fsl_clock.c | 374 FLASH->INT_CLR_STATUS = 0x1FUL; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 376 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 379 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 382 while (0UL == (FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S14/drivers/ |
D | fsl_clock.c | 357 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 362 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 365 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S26/drivers/ |
D | fsl_clock.c | 374 FLASH->INT_CLR_STATUS = 0x1FUL; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 376 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 379 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 382 while (0UL == (FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S69/drivers/ |
D | fsl_clock.c | 374 FLASH->INT_CLR_STATUS = 0x1FUL; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 376 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 379 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 382 while (0UL == (FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK)) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5514/drivers/ |
D | fsl_clock.c | 357 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 362 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 365 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5516/drivers/ |
D | fsl_clock.c | 357 FLASH->INT_CLR_STATUS = 0x1F; /* Clear all status flags */ in CLOCK_SetFLASHAccessCyclesForFreq() 359 FLASH->DATAW[0] = (FLASH->DATAW[0] & 0xFFFFFFF0UL) | in CLOCK_SetFLASHAccessCyclesForFreq() 362 FLASH->CMD = 0x2; /* CMD_SET_READ_MODE */ in CLOCK_SetFLASHAccessCyclesForFreq() 365 while ((FLASH->INT_STATUS & FLASH_INT_STATUS_DONE_MASK) == 0UL) in CLOCK_SetFLASHAccessCyclesForFreq()
|