![]() |
nrfx 4.5.0
|
Hardware access layer for managing the Access Control List (ACL) peripheral. More...
Enumerations | |
| enum | nrf_acl_perm_t { NRF_ACL_PERM_READ_NO_WRITE = ACL_ACL_PERM_WRITE_Msk , NRF_ACL_PERM_NO_READ_WRITE = ACL_ACL_PERM_READ_Msk , NRF_ACL_PERM_NO_READ_NO_WRITE = ACL_ACL_PERM_READ_Msk | ACL_ACL_PERM_WRITE_Msk } |
| ACL permissions. More... | |
Functions | |
| NRF_STATIC_INLINE void | nrf_acl_region_set (NRF_ACL_Type *p_reg, uint32_t region_id, uint32_t address, size_t size, nrf_acl_perm_t perm) |
| Function for setting region parameters for given ACL region. | |
| NRF_STATIC_INLINE uint32_t | nrf_acl_region_address_get (NRF_ACL_Type const *p_reg, uint32_t region_id) |
| Function for getting the configured region address of a specific ACL region. | |
| NRF_STATIC_INLINE size_t | nrf_acl_region_size_get (NRF_ACL_Type const *p_reg, uint32_t region_id) |
| Function for getting the configured region size of a specific ACL region. | |
| NRF_STATIC_INLINE nrf_acl_perm_t | nrf_acl_region_perm_get (NRF_ACL_Type const *p_reg, uint32_t region_id) |
| Function for getting the configured region permissions of a specific ACL region. | |
Hardware access layer for managing the Access Control List (ACL) peripheral.
| enum nrf_acl_perm_t |
| NRF_STATIC_INLINE uint32_t nrf_acl_region_address_get | ( | NRF_ACL_Type const * | p_reg, |
| uint32_t | region_id ) |
Function for getting the configured region address of a specific ACL region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | region_id | ACL region index. |
| NRF_STATIC_INLINE nrf_acl_perm_t nrf_acl_region_perm_get | ( | NRF_ACL_Type const * | p_reg, |
| uint32_t | region_id ) |
Function for getting the configured region permissions of a specific ACL region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | region_id | ACL region index. |
| NRF_STATIC_INLINE void nrf_acl_region_set | ( | NRF_ACL_Type * | p_reg, |
| uint32_t | region_id, | ||
| uint32_t | address, | ||
| size_t | size, | ||
| nrf_acl_perm_t | perm ) |
Function for setting region parameters for given ACL region.
Address must be word and page aligned. Size must be page aligned.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | region_id | ACL region index. |
| [in] | address | Start address. |
| [in] | size | Size of region to protect in bytes. |
| [in] | perm | Permissions to set for region to protect. |
| NRF_STATIC_INLINE size_t nrf_acl_region_size_get | ( | NRF_ACL_Type const * | p_reg, |
| uint32_t | region_id ) |
Function for getting the configured region size of a specific ACL region.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | region_id | ACL region index. |