![]() |
nrfx 4.5.0
|
Hardware access layer for managing the Memory Privilege Controller (MPC) peripheral. More...
Data Structures | |
| struct | nrf_mpc_region_config_t |
| Region configuration. More... | |
| struct | nrf_mpc_override_config_t |
| Override region configuration. More... | |
Enumerations | |
| enum | nrf_mpc_event_t { NRF_MPC_EVENT_MEMACCERR = offsetof(NRF_MPC_Type, EVENTS_MEMACCERR) } |
| MPC events. More... | |
| enum | nrf_mpc_int_mask_t { NRF_MPC_INT_MEMACCERR_MASK = MPC_INTENSET_MEMACCERR_Msk } |
| MPC interrupts. More... | |
| enum | nrf_mpc_errorsource_t { NRF_MPC_ERRORSOURCE_SLAVE = MPC_MEMACCERR_INFO_ERRORSOURCE_Slave , NRF_MPC_ERRORSOURCE_MPC = MPC_MEMACCERR_INFO_ERRORSOURCE_MPC } |
| Error sources. More... | |
| enum | nrf_mpc_permission_mask_t { NRF_MPC_PERM_READ_MASK = MPC_OVERRIDE_PERM_READ_Msk , NRF_MPC_PERM_WRITE_MASK = MPC_OVERRIDE_PERM_WRITE_Msk , NRF_MPC_PERM_EXECUTE_MASK = MPC_OVERRIDE_PERM_EXECUTE_Msk , NRF_MPC_PERM_SECURE_MASK = MPC_OVERRIDE_PERM_SECATTR_Msk , NRF_MPC_PERM_PRIVILEGED_MASK = MPC_OVERRIDE_PERM_PRIVL_Msk } |
| Permissions mask. More... | |
| enum | nrf_mpc_masterport_mask_t { NRF_MPC_MASTERPORT_0_MASK = MPC_REGION_MASTERPORT_ENABLE0_Msk , NRF_MPC_MASTERPORT_1_MASK = MPC_REGION_MASTERPORT_ENABLE1_Msk , NRF_MPC_MASTERPORT_2_MASK = MPC_REGION_MASTERPORT_ENABLE2_Msk , NRF_MPC_MASTERPORT_3_MASK = MPC_REGION_MASTERPORT_ENABLE3_Msk , NRF_MPC_MASTERPORT_4_MASK = MPC_REGION_MASTERPORT_ENABLE4_Msk , NRF_MPC_MASTERPORT_5_MASK = MPC_REGION_MASTERPORT_ENABLE5_Msk , NRF_MPC_MASTERPORT_6_MASK = MPC_REGION_MASTERPORT_ENABLE6_Msk , NRF_MPC_MASTERPORT_7_MASK = MPC_REGION_MASTERPORT_ENABLE7_Msk } |
| Masterport mask. More... | |
Functions | |
| NRF_STATIC_INLINE bool | nrf_mpc_event_check (NRF_MPC_Type const *p_reg, nrf_mpc_event_t event) |
| Function for retrieving the state of the specified MPC event. | |
| NRF_STATIC_INLINE void | nrf_mpc_event_clear (NRF_MPC_Type *p_reg, nrf_mpc_event_t event) |
| Function for clearing the specified MPC event. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_event_address_get (NRF_MPC_Type const *p_reg, nrf_mpc_event_t event) |
| Function for getting the address of the specified MPC event register. | |
| NRF_STATIC_INLINE void | nrf_mpc_int_enable (NRF_MPC_Type *p_reg, uint32_t mask) |
| Function for enabling the specified interrupts. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_int_enable_check (NRF_MPC_Type const *p_reg, uint32_t mask) |
| Function for checking if the specified interrupts are enabled. | |
| NRF_STATIC_INLINE void | nrf_mpc_int_disable (NRF_MPC_Type *p_reg, uint32_t mask) |
| Function for disabling the specified interrupts. | |
| NRF_STATIC_INLINE void | nrf_mpc_region_config_set (NRF_MPC_Type *p_reg, uint8_t index, nrf_mpc_region_config_t const *p_config) |
| Function for setting configuration of the region. | |
| NRF_STATIC_INLINE nrf_mpc_region_config_t | nrf_mpc_region_config_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting configuration of the region. | |
| NRF_STATIC_INLINE void | nrf_mpc_region_startaddr_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t address) |
| Function for setting start address of the region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_region_startaddr_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting start address of the region. | |
| NRF_STATIC_INLINE void | nrf_mpc_region_addrmask_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t address) |
| Function for setting address mask of the region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_region_addrmask_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting address mask of the region. | |
| NRF_STATIC_INLINE void | nrf_mpc_region_masterport_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t mask) |
| Function for enabling the specified master ports of the region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_region_masterport_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting enabled master ports of the region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_config_set (NRF_MPC_Type *p_reg, uint8_t index, nrf_mpc_override_config_t const *p_config) |
| Function for setting configuration of the override region. | |
| NRF_STATIC_INLINE nrf_mpc_override_config_t | nrf_mpc_override_config_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting configuration of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_startaddr_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t address) |
| Function for setting start address of the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_override_startaddr_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting start address of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_endaddr_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t address) |
| Function for setting end address of the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_override_endaddr_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting end address of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_offset_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t offset) |
| Function for setting offset of the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_override_offset_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting offset of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_perm_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t permissions) |
| Function for setting permission settings for the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_override_perm_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting permission settings of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_permmask_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t permissions) |
| Function for setting permission settings mask for the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_override_permmask_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting permission settings mask of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_ownerid_set (NRF_MPC_Type *p_reg, uint8_t index, nrf_owner_t owner_id) |
| Function for setting owner ID for the override region. | |
| NRF_STATIC_INLINE nrf_owner_t | nrf_mpc_override_ownerid_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting owner ID of the override region. | |
| NRF_STATIC_INLINE void | nrf_mpc_override_masterport_set (NRF_MPC_Type *p_reg, uint8_t index, uint32_t mask) |
| Function for enabling the specified master ports of the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_override_masterport_get (NRF_MPC_Type const *p_reg, uint8_t index) |
| Function for getting enabled master ports of the override region. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_memaccerr_address_get (NRF_MPC_Type const *p_reg) |
| Function for getting the memory address of memory access error. | |
| NRF_STATIC_INLINE nrf_owner_t | nrf_mpc_memaccerr_info_ownerid_get (NRF_MPC_Type const *p_reg) |
| Function for getting the owner identifier of the transaction that triggered memory access error. | |
| NRF_STATIC_INLINE uint8_t | nrf_mpc_memaccerr_info_masterport_get (NRF_MPC_Type const *p_reg) |
| Function for getting the master port of the transaction that triggered memory access error. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_memaccerr_info_perm_get (NRF_MPC_Type const *p_reg) |
| Function for getting the permissions of the transaction that triggered memory access error. | |
| NRF_STATIC_INLINE nrf_mpc_errorsource_t | nrf_mpc_memaccerr_info_errorsource_get (NRF_MPC_Type const *p_reg) |
| Function for getting the source of the transaction that triggered memory access error. | |
| NRF_STATIC_INLINE void | nrf_mpc_globalslave_masterport_set (NRF_MPC_Type *p_reg, uint32_t mask) |
| Function for enabling the specified master ports connection to global slave. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_globalslave_masterport_get (NRF_MPC_Type const *p_reg) |
| Function for getting enabled master ports connection to global slave. | |
| NRF_STATIC_INLINE void | nrf_mpc_globalslave_lock_enable (NRF_MPC_Type *p_reg) |
| Function for enabling the global slave registers lock. | |
| NRF_STATIC_INLINE bool | nrf_mpc_globalslave_lock_check (NRF_MPC_Type const *p_reg) |
| Function for getting the status of the global slave registers lock. | |
| NRF_STATIC_INLINE void | nrf_mpc_rtchoke_writeaccess_set (NRF_MPC_Type *p_reg, uint32_t mask) |
| Function for enabling the AXI Write Address Channel Real Time Choke for specified master ports. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_rtchoke_writeaccess_get (NRF_MPC_Type const *p_reg) |
| Function for getting master ports with enabled AXI Write Address Channel Real Time Choke. | |
| NRF_STATIC_INLINE void | nrf_mpc_rtchoke_readaccess_set (NRF_MPC_Type *p_reg, uint32_t mask) |
| Function for enabling the AXI Read Address Channel Real Time Choke for specified master ports. | |
| NRF_STATIC_INLINE uint32_t | nrf_mpc_rtchoke_readaccess_get (NRF_MPC_Type const *p_reg) |
| Function for getting master ports with enabled AXI Read Address Channel Real Time Choke. | |
| NRF_STATIC_INLINE void | nrf_mpc_rtchoke_delay_set (NRF_MPC_Type *p_reg, uint8_t slave, uint8_t delay) |
| Function for setting the Real Time Choke delay for the specified slave. | |
| NRF_STATIC_INLINE uint8_t | nrf_mpc_rtchoke_delay_get (NRF_MPC_Type const *p_reg, uint8_t slave) |
| Function for getting the Real Time Choke delay for the specified slave. | |
Hardware access layer for managing the Memory Privilege Controller (MPC) peripheral.
| enum nrf_mpc_event_t |
| enum nrf_mpc_int_mask_t |
Masterport mask.
Permissions mask.
| NRF_STATIC_INLINE uint32_t nrf_mpc_event_address_get | ( | NRF_MPC_Type const * | p_reg, |
| nrf_mpc_event_t | event ) |
Function for getting the address of the specified MPC event register.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event to get the address of. |
| NRF_STATIC_INLINE bool nrf_mpc_event_check | ( | NRF_MPC_Type const * | p_reg, |
| nrf_mpc_event_t | event ) |
Function for retrieving the state of the specified MPC event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event to be checked. |
| true | The event has been generated. |
| false | The event has not been generated. |
| NRF_STATIC_INLINE void nrf_mpc_event_clear | ( | NRF_MPC_Type * | p_reg, |
| nrf_mpc_event_t | event ) |
Function for clearing the specified MPC event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event to be cleared. |
| NRF_STATIC_INLINE bool nrf_mpc_globalslave_lock_check | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting the status of the global slave registers lock.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_mpc_globalslave_lock_enable | ( | NRF_MPC_Type * | p_reg | ) |
Function for enabling the global slave registers lock.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_globalslave_masterport_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting enabled master ports connection to global slave.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_mpc_globalslave_masterport_set | ( | NRF_MPC_Type * | p_reg, |
| uint32_t | mask ) |
Function for enabling the specified master ports connection to global slave.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of master ports to be connected, constructed from nrf_mpc_masterport_mask_t enumerator values. |
| NRF_STATIC_INLINE void nrf_mpc_int_disable | ( | NRF_MPC_Type * | p_reg, |
| uint32_t | mask ) |
Function for disabling the specified interrupts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of interrupts to be disabled. Use nrf_mpc_int_mask_t values for bit masking. |
| NRF_STATIC_INLINE void nrf_mpc_int_enable | ( | NRF_MPC_Type * | p_reg, |
| uint32_t | mask ) |
Function for enabling the specified interrupts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of interrupts to be enabled. Use nrf_mpc_int_mask_t values for bit masking. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_int_enable_check | ( | NRF_MPC_Type const * | p_reg, |
| uint32_t | mask ) |
Function for checking if the specified interrupts are enabled.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of interrupts to be checked. Use nrf_mpc_int_mask_t values for bit masking. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_memaccerr_address_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting the memory address of memory access error.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE nrf_mpc_errorsource_t nrf_mpc_memaccerr_info_errorsource_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting the source of the transaction that triggered memory access error.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint8_t nrf_mpc_memaccerr_info_masterport_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting the master port of the transaction that triggered memory access error.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE nrf_owner_t nrf_mpc_memaccerr_info_ownerid_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting the owner identifier of the transaction that triggered memory access error.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_memaccerr_info_perm_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting the permissions of the transaction that triggered memory access error.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE nrf_mpc_override_config_t nrf_mpc_override_config_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting configuration of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_config_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| nrf_mpc_override_config_t const * | p_config ) |
Function for setting configuration of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | p_config | Pointer to the structure of the override region configuration parameters. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_override_endaddr_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting end address of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_endaddr_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | address ) |
Function for setting end address of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | address | Address to be set. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_override_masterport_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting enabled master ports of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_masterport_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | mask ) |
Function for enabling the specified master ports of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | mask | Mask of master ports to be enabled, constructed from nrf_mpc_masterport_mask_t enumerator values. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_override_offset_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting offset of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_offset_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | offset ) |
Function for setting offset of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | offset | Address offset value divided by 2. |
| NRF_STATIC_INLINE nrf_owner_t nrf_mpc_override_ownerid_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting owner ID of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_ownerid_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| nrf_owner_t | owner_id ) |
Function for setting owner ID for the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | owner_id | Owner ID to be set. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_override_perm_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting permission settings of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_perm_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | permissions ) |
Function for setting permission settings for the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | permissions | Mask of permissions to be set, constructed from nrf_mpc_permission_mask_t enumerator values. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_override_permmask_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting permission settings mask of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_permmask_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | permissions ) |
Function for setting permission settings mask for the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | permissions | Mask of permissions settings mask to be set, constructed from nrf_mpc_permission_mask_t enumerator values. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_override_startaddr_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting start address of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| NRF_STATIC_INLINE void nrf_mpc_override_startaddr_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | address ) |
Function for setting start address of the override region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Override region index. |
| [in] | address | Address to be set. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_region_addrmask_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting address mask of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| NRF_STATIC_INLINE void nrf_mpc_region_addrmask_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | address ) |
Function for setting address mask of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| [in] | address | Address to be set. |
| NRF_STATIC_INLINE nrf_mpc_region_config_t nrf_mpc_region_config_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting configuration of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| NRF_STATIC_INLINE void nrf_mpc_region_config_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| nrf_mpc_region_config_t const * | p_config ) |
Function for setting configuration of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| [in] | p_config | Pointer to the structure of the region configuration parameters. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_region_masterport_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting enabled master ports of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| NRF_STATIC_INLINE void nrf_mpc_region_masterport_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | mask ) |
Function for enabling the specified master ports of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| [in] | mask | Mask of master ports to be enabled, constructed from nrf_mpc_masterport_mask_t enumerator values. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_region_startaddr_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | index ) |
Function for getting start address of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| NRF_STATIC_INLINE void nrf_mpc_region_startaddr_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | index, | ||
| uint32_t | address ) |
Function for setting start address of the region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | index | Region index. |
| [in] | address | Address to be set. |
| NRF_STATIC_INLINE uint8_t nrf_mpc_rtchoke_delay_get | ( | NRF_MPC_Type const * | p_reg, |
| uint8_t | slave ) |
Function for getting the Real Time Choke delay for the specified slave.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | slave | Slave number. |
| NRF_STATIC_INLINE void nrf_mpc_rtchoke_delay_set | ( | NRF_MPC_Type * | p_reg, |
| uint8_t | slave, | ||
| uint8_t | delay ) |
Function for setting the Real Time Choke delay for the specified slave.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | slave | Slave number. |
| [in] | delay | Delay value to be set. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_rtchoke_readaccess_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting master ports with enabled AXI Read Address Channel Real Time Choke.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_mpc_rtchoke_readaccess_set | ( | NRF_MPC_Type * | p_reg, |
| uint32_t | mask ) |
Function for enabling the AXI Read Address Channel Real Time Choke for specified master ports.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of master ports to have the Read Real Time Choke enabled, constructed from nrf_mpc_masterport_mask_t enumerator values. |
| NRF_STATIC_INLINE uint32_t nrf_mpc_rtchoke_writeaccess_get | ( | NRF_MPC_Type const * | p_reg | ) |
Function for getting master ports with enabled AXI Write Address Channel Real Time Choke.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_mpc_rtchoke_writeaccess_set | ( | NRF_MPC_Type * | p_reg, |
| uint32_t | mask ) |
Function for enabling the AXI Write Address Channel Real Time Choke for specified master ports.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of master ports to have the Write Real Time Choke enabled, constructed from nrf_mpc_masterport_mask_t enumerator values. |