#include <zephyr/devicetree.h>
#include <soc.h>
Go to the source code of this file.
◆ flexram_set_dtcm_magic_addr()
| int flexram_set_dtcm_magic_addr |
( |
uint32_t | dtcm_addr | ) |
|
Sets magic address for DTCM.
Magic address allows core interrupt from FlexRAM when address is accessed.
- Attention
- Available only when the following Kconfig option is enabled:
CONFIG_NXP_FLEXRAM_MAGIC_ADDR_API
.
- Parameters
-
| dtcm_addr | An address in DTCM to set magic function on. |
- Return values
-
| 0 | on success |
| -EINVAL | if dtcm_addr is not in DTCM |
| -ENODEV | if there is no DTCM allocation in flexram |
◆ flexram_set_itcm_magic_addr()
| int flexram_set_itcm_magic_addr |
( |
uint32_t | itcm_addr | ) |
|
Sets magic address for ITCM.
Magic address allows core interrupt from FlexRAM when address is accessed.
- Attention
- Available only when the following Kconfig option is enabled:
CONFIG_NXP_FLEXRAM_MAGIC_ADDR_API
.
- Parameters
-
| itcm_addr | An address in ITCM to set magic function on. |
- Return values
-
| 0 | on success |
| -EINVAL | if itcm_addr is not in ITCM |
| -ENODEV | if there is no ITCM allocation in flexram |
◆ flexram_set_ocram_magic_addr()
| int flexram_set_ocram_magic_addr |
( |
uint32_t | ocram_addr | ) |
|
Sets magic address for OCRAM.
Magic address allows core interrupt from FlexRAM when address is accessed.
- Attention
- Available only when the following Kconfig option is enabled:
CONFIG_NXP_FLEXRAM_MAGIC_ADDR_API
.
- Parameters
-
| ocram_addr | An address in OCRAM to set magic function on. |
- Return values
-
| 0 | on success |
| -EINVAL | if ocram_addr is not in OCRAM |
| -ENODEV | if there is no OCRAM allocation in flexram |