Hardware access layer for managing the User Information Configuration Registers (UICR) peripheral.
More...
|
|
#define | NRF_UICR_HAS_MEM_CONFIG 1 |
| | Symbol indicating whether memory configuration through UICR is present.
|
| |
|
#define | NRF_UICR_HAS_PERIPH_CONFIG 1 |
| | Symbol indicating whether peripheral configuration through UICR is present.
|
| |
|
#define | NRF_UICR_HAS_FEATURE_CONFIG 1 |
| | Symbol indicating whether feature configuration through UICR is present.
|
| |
|
#define | NRF_UICR_HAS_MAILBOX 1 |
| | Symbol indicating whether mailbox configuration through UICR is present.
|
| |
|
#define | NRF_UICR_HAS_VTOR 1 |
| | Symbol indicating whether VTOR configuration through UICR is present.
|
| |
|
#define | NRF_UICR_HAS_PTREXT 1 |
| | Symbol indicating whether extended UICR is present.
|
| |
|
#define | NRF_UICR_HAS_FEATURE_GPIO 1 |
| | Symbol indicating whether GPIO feature is present.
|
| |
|
#define | NRF_UICR_HAS_BOOTCONF 1 |
| | Symbol indicating whether immutable boot region configuration is present.
|
| |
|
#define | NRF_UICR_HAS_BOOTCONF_SECURE 1 |
| | Symbol indicating whether SECURE field in the BOOTCONF register is present.
|
| |
|
#define | NRF_UICR_HAS_CH_LINK_DIR_EN 1 |
| | Symbol indicating whether linking channels of DPPI as either source or sink is configured using the LINK.DIR and LINK.EN registers.
|
| |
|
#define | NRF_UICR_HAS_OTP 1 |
| | Symbol indicating whether the OTP area is present in UICR.
|
| |
|
#define | NRF_UICR_MEM_COUNT UICR_MEM_MaxCount |
| | Number of memory blocks.
|
| |
|
#define | NRF_UICR_PERIPH_COUNT UICR_PERIPH_MaxCount |
| | Number of peripherals.
|
| |
|
#define | NRF_UICR_GPIO_COUNT UICREXTENDED_GPIO_MaxCount |
| | Number of GPIOs.
|
| |
|
#define | NRF_UICR_GPIOTE_CH_COUNT UICR_GPIOTE_MaxCount |
| | Number of GPIOTE channels.
|
| |
|
#define | NRF_UICR_IPCT_GLOBAL_COUNT UICR_IPCT_GLOBAL_MaxCount |
| | Number of global IPCTs.
|
| |
|
#define | NRF_UICR_DPPI_LOCAL_COUNT UICR_DPPI_LOCAL_MaxCount |
| | Number of local IPCTs.
|
| |
|
#define | NRF_UICR_DPPI_GLOBAL_COUNT UICR_DPPI_GLOBAL_MaxCount |
| | Number of global DPPIs.
|
| |
|
#define | NRF_UICR_IPCMAP_COUNT UICR_IPCMAP_MaxCount |
| | Number of IPCMAPs.
|
| |
|
#define | NRF_UICR_MAILBOX_COUNT UICR_MAILBOX_MaxCount |
| | Number of MAILBOXes.
|
| |
| #define | NRF_UICR_BOOTCONF_PERM_MASK |
| | Immutable boot region permissions bitmask.
|
| |
|
| enum | nrf_uicr_mem_config_perm_mask_t {
NRF_UICR_MEM_CONFIG_PERM_READ_MASK = UICR_MEM_CONFIG_READ_Msk
,
NRF_UICR_MEM_CONFIG_PERM_WRITE_MASK = UICR_MEM_CONFIG_WRITE_Msk
,
NRF_UICR_MEM_CONFIG_PERM_EXECUTE_MASK = UICR_MEM_CONFIG_EXECUTE_Msk
,
NRF_UICR_MEM_CONFIG_PERM_NONSECURE_MASK = UICR_MEM_CONFIG_SECURE_Msk
} |
| | Memory permissions mask. More...
|
| |
| enum | nrf_uicr_feature_index_mask_t {
NRF_UICR_FEATURE_INDEX_0_MASK = UICR_GPIOTE_CH_OWN_CH0_Msk
,
NRF_UICR_FEATURE_INDEX_1_MASK = UICR_GPIOTE_CH_OWN_CH1_Msk
,
NRF_UICR_FEATURE_INDEX_2_MASK = UICR_GPIOTE_CH_OWN_CH2_Msk
,
NRF_UICR_FEATURE_INDEX_3_MASK = UICR_GPIOTE_CH_OWN_CH3_Msk
,
NRF_UICR_FEATURE_INDEX_4_MASK = UICR_GPIOTE_CH_OWN_CH4_Msk
,
NRF_UICR_FEATURE_INDEX_5_MASK = UICR_GPIOTE_CH_OWN_CH5_Msk
,
NRF_UICR_FEATURE_INDEX_6_MASK = UICR_GPIOTE_CH_OWN_CH6_Msk
,
NRF_UICR_FEATURE_INDEX_7_MASK = UICR_GPIOTE_CH_OWN_CH7_Msk
,
NRF_UICR_FEATURE_INDEX_8_MASK = UICR_GPIOTE_CH_OWN_CH8_Msk
,
NRF_UICR_FEATURE_INDEX_9_MASK = UICR_GPIOTE_CH_OWN_CH9_Msk
,
NRF_UICR_FEATURE_INDEX_10_MASK = UICR_GPIOTE_CH_OWN_CH10_Msk
,
NRF_UICR_FEATURE_INDEX_11_MASK = UICR_GPIOTE_CH_OWN_CH11_Msk
,
NRF_UICR_FEATURE_INDEX_12_MASK = UICR_GPIOTE_CH_OWN_CH12_Msk
,
NRF_UICR_FEATURE_INDEX_13_MASK = UICR_GPIOTE_CH_OWN_CH13_Msk
,
NRF_UICR_FEATURE_INDEX_14_MASK = UICR_GPIOTE_CH_OWN_CH14_Msk
,
NRF_UICR_FEATURE_INDEX_15_MASK = UICR_GPIOTE_CH_OWN_CH15_Msk
,
NRF_UICR_FEATURE_INDEX_16_MASK = UICR_GPIOTE_CH_OWN_CH16_Msk
,
NRF_UICR_FEATURE_INDEX_17_MASK = UICR_GPIOTE_CH_OWN_CH17_Msk
,
NRF_UICR_FEATURE_INDEX_18_MASK = UICR_GPIOTE_CH_OWN_CH18_Msk
,
NRF_UICR_FEATURE_INDEX_19_MASK = UICR_GPIOTE_CH_OWN_CH19_Msk
,
NRF_UICR_FEATURE_INDEX_20_MASK = UICR_GPIOTE_CH_OWN_CH20_Msk
,
NRF_UICR_FEATURE_INDEX_21_MASK = UICR_GPIOTE_CH_OWN_CH21_Msk
,
NRF_UICR_FEATURE_INDEX_22_MASK = UICR_GPIOTE_CH_OWN_CH22_Msk
,
NRF_UICR_FEATURE_INDEX_23_MASK = UICR_GPIOTE_CH_OWN_CH23_Msk
,
NRF_UICR_FEATURE_INDEX_24_MASK = UICR_GPIOTE_CH_OWN_CH24_Msk
,
NRF_UICR_FEATURE_INDEX_25_MASK = UICR_GPIOTE_CH_OWN_CH25_Msk
,
NRF_UICR_FEATURE_INDEX_26_MASK = UICR_GPIOTE_CH_OWN_CH26_Msk
,
NRF_UICR_FEATURE_INDEX_27_MASK = UICR_GPIOTE_CH_OWN_CH27_Msk
,
NRF_UICR_FEATURE_INDEX_28_MASK = UICR_GPIOTE_CH_OWN_CH28_Msk
,
NRF_UICR_FEATURE_INDEX_29_MASK = UICR_GPIOTE_CH_OWN_CH29_Msk
,
NRF_UICR_FEATURE_INDEX_30_MASK = UICR_GPIOTE_CH_OWN_CH30_Msk
,
NRF_UICR_FEATURE_INDEX_31_MASK = UICR_GPIOTE_CH_OWN_CH31_Msk
} |
| | Feature index mask. More...
|
| |
| enum | nrf_uicr_feature_t {
NRF_UICR_FEATURE_GPIO
,
NRF_UICR_FEATURE_GPIOTE_CH
,
NRF_UICR_FEATURE_IPCT_LOCAL_CH
,
NRF_UICR_FEATURE_IPCT_LOCAL_INTERRUPT
,
NRF_UICR_FEATURE_IPCT_GLOBAL_CH
,
NRF_UICR_FEATURE_IPCT_GLOBAL_INTERRUPT
,
NRF_UICR_FEATURE_DPPI_LOCAL_CH
,
NRF_UICR_FEATURE_DPPI_LOCAL_CHG
,
NRF_UICR_FEATURE_DPPI_GLOBAL_CH
,
NRF_UICR_FEATURE_DPPI_GLOBAL_CHG
,
NRF_UICR_FEATURE_GRTC_CC
} |
| | UICR features. More...
|
| |
| enum | nrf_uicr_boot_region_perm_mask_t {
NRF_UICR_BOOT_REGION_PERM_READ_MASK = UICR_BOOTCONF_READ_Msk
,
NRF_UICR_BOOT_REGION_PERM_WRITE_MASK = UICR_BOOTCONF_WRITE_Msk
,
NRF_UICR_BOOT_REGION_PERM_EXECUTE_MASK = UICR_BOOTCONF_EXECUTE_Msk
,
NRF_UICR_BOOT_REGION_PERM_SECURE_MASK = UICR_BOOTCONF_SECURE_Msk
} |
| | Immutable boot region permissions mask. More...
|
| |
|
| NRF_STATIC_INLINE bool | nrf_uicr_fits_check (NRF_UICR_Type const *p_reg, uint32_t addr, uint32_t len_bytes) |
| | Function for checking whether the specified range of addresses fits in UICR.
|
| |
| NRF_STATIC_INLINE nrf_uicr_mem_config_t | nrf_uicr_mem_config_get (NRF_UICR_Type const *p_reg, uint8_t index) |
| | Function for getting the configuration of the memory block.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_mem_size_get (NRF_UICR_Type const *p_reg, uint8_t index) |
| | Function for getting the size of the memory block.
|
| |
| NRF_STATIC_INLINE nrf_uicr_periph_config_t | nrf_uicr_periph_config_get (NRF_UICR_Type const *p_reg, uint8_t index) |
| | Function for getting the configuration of the peripheral.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_feature_own_get (NRF_UICR_Type const *p_reg, nrf_uicr_feature_t feature, uint8_t index) |
| | Function for getting the ownership requests of the feature.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_feature_secure_get (NRF_UICR_Type const *p_reg, nrf_uicr_feature_t feature, uint8_t index) |
| | Function for getting the permission requests of the feature.
|
| |
| NRF_STATIC_INLINE nrf_uicr_dppi_link_t | nrf_uicr_feature_link_get (NRF_UICR_Type const *p_reg, nrf_uicr_feature_t feature, uint8_t index) |
| | Function for getting the linking requests of the feature.
|
| |
| NRF_STATIC_INLINE nrf_uicr_ipcmap_config_t | nrf_uicr_ipcmap_config_get (NRF_UICR_Type const *p_reg, uint8_t index) |
| | Function for getting the configuration of the IPCMAP channel.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_mailbox_address_get (NRF_UICR_Type const *p_reg, uint8_t index) |
| | Function for getting the address of the MAILBOX.
|
| |
| NRF_STATIC_INLINE nrf_uicr_mailbox_config_t | nrf_uicr_mailbox_config_get (NRF_UICR_Type const *p_reg, uint8_t index) |
| | Function for getting the configuration of the MAILBOX.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_initsvtor_get (NRF_UICR_Type const *p_reg) |
| | Function for getting the initial value of the secure VTOR (Vector Table Offset Register).
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_initnsvtor_get (NRF_UICR_Type const *p_reg) |
| | Function for getting the initial value of the non-secure VTOR.
|
| |
| NRF_STATIC_INLINE uint32_t * | nrf_uicr_ptrextuicr_get (NRF_UICR_Type const *p_reg) |
| | Function for getting the pointer to the extended UICR.
|
| |
| NRF_STATIC_INLINE void | nrf_uicr_boot_region_config_set (NRF_UICR_Type *p_reg, nrf_uicr_boot_region_config_t const *p_config) |
| | Function for setting the configuration of the immutable boot region.
|
| |
| NRF_STATIC_INLINE bool | nrf_uicr_boot_region_config_get (NRF_UICR_Type const *p_reg, nrf_uicr_boot_region_config_t *p_config) |
| | Function for getting the configuration of the immutable boot region.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_gpio_instance_get (NRF_UICREXTENDED_Type const *p_reg, uint8_t index) |
| | Function for getting the GPIO instance address associated with the specified GPIO entry.
|
| |
| NRF_STATIC_INLINE uint32_t | nrf_uicr_gpio_ctrlsel_get (NRF_UICREXTENDED_Type const *p_reg, uint32_t pin_number) |
| | Function for getting the CTRLSEL configuration associated with the specified GPIO pin.
|
| |
Hardware access layer for managing the User Information Configuration Registers (UICR) peripheral.