Hardware access layer for managing the External Memory Interface (EXMIF) peripheral.
More...
|
|
#define | NRF_EXMIF_MAX_MEMORY_DEVICE_SIZE EXMIF_MAX_MEMORY_DEVICE_SIZE |
| | Maximum EXMIF memory size.
|
| |
|
#define | NRF_EXMIF_MAX_NUMBER_OF_DEVICES EXMIF_MAX_NUMBER_OF_DEVICES |
| | Maximum number of EXMIF memory devices.
|
| |
|
| NRF_STATIC_INLINE void | nrf_exmif_task_trigger (NRF_EXMIF_Type *p_reg, nrf_exmif_task_t task) |
| | Function for activating the specified EXMIF task.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_exmif_task_address_get (NRF_EXMIF_Type const *p_reg, nrf_exmif_task_t task) |
| | Function for getting the address of the specified EXMIF task register.
|
| |
| NRF_STATIC_INLINE void | nrf_exmif_reset_set (NRF_EXMIF_Type *p_reg, bool enable) |
| | Function for enabling or disabling EXMIF reset state.
|
| |
| NRF_STATIC_INLINE void | nrf_exmif_locked_access_set (NRF_EXMIF_Type *p_reg, bool enable) |
| | Function for enabling or disabling locked APB access to serial memory controller.
|
| |
| NRF_STATIC_INLINE void | nrf_exmif_device_config (NRF_EXMIF_Type *p_reg, uint8_t device_idx, nrf_exmif_config_t const *p_device) |
| | Function for configuring mapping of the memory device to EXMIF peripheral.
|
| |
| NRF_STATIC_INLINE void | nrf_exmif_device_enable (NRF_EXMIF_Type *p_reg, uint8_t device_idx) |
| | Function for enabling the EXMIF memory device.
|
| |
| NRF_STATIC_INLINE void | nrf_exmif_device_disable (NRF_EXMIF_Type *p_reg, uint8_t device_idx) |
| | Function for disabling the EXMIF memory device.
|
| |
Hardware access layer for managing the External Memory Interface (EXMIF) peripheral.
◆ nrf_exmif_task_t
EXMIF tasks.
| Enumerator |
|---|
| NRF_EXMIF_TASK_START | Start EXMIF peripheral power and clocks.
|
| NRF_EXMIF_TASK_STOP | Stop EXMIF peripheral power and clocks.
|
◆ nrf_exmif_device_config()
| NRF_STATIC_INLINE void nrf_exmif_device_config |
( |
NRF_EXMIF_Type * | p_reg, |
|
|
uint8_t | device_idx, |
|
|
nrf_exmif_config_t const * | p_device ) |
Function for configuring mapping of the memory device to EXMIF peripheral.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | device_idx | Device number to configure. |
| [in] | p_device | Pointer to the configuration structure of the memory device. |
◆ nrf_exmif_device_disable()
| NRF_STATIC_INLINE void nrf_exmif_device_disable |
( |
NRF_EXMIF_Type * | p_reg, |
|
|
uint8_t | device_idx ) |
Function for disabling the EXMIF memory device.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | device_idx | Device number to disable. |
◆ nrf_exmif_device_enable()
| NRF_STATIC_INLINE void nrf_exmif_device_enable |
( |
NRF_EXMIF_Type * | p_reg, |
|
|
uint8_t | device_idx ) |
Function for enabling the EXMIF memory device.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | device_idx | Device number to enable. |
◆ nrf_exmif_locked_access_set()
| NRF_STATIC_INLINE void nrf_exmif_locked_access_set |
( |
NRF_EXMIF_Type * | p_reg, |
|
|
bool | enable ) |
Function for enabling or disabling locked APB access to serial memory controller.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | enable | True if locked APB access is to be enabled, false otherwise. |
◆ nrf_exmif_reset_set()
| NRF_STATIC_INLINE void nrf_exmif_reset_set |
( |
NRF_EXMIF_Type * | p_reg, |
|
|
bool | enable ) |
Function for enabling or disabling EXMIF reset state.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | enable | True if reset state is to be enabled, false otherwise. |
◆ nrf_exmif_task_address_get()
| NRF_STATIC_INLINE uint32_t nrf_exmif_task_address_get |
( |
NRF_EXMIF_Type const * | p_reg, |
|
|
nrf_exmif_task_t | task ) |
Function for getting the address of the specified EXMIF task register.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | The specified task. |
- Returns
- Address of the specified task register.
◆ nrf_exmif_task_trigger()
| NRF_STATIC_INLINE void nrf_exmif_task_trigger |
( |
NRF_EXMIF_Type * | p_reg, |
|
|
nrf_exmif_task_t | task ) |
Function for activating the specified EXMIF task.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | Task to be activated. |