nrfx 3.3
Macros | Enumerations | Functions
GRCCONF HAL

Hardware access layer for managing Global Resource Controller (GRCCONF). More...

Macros

#define NRF_GRCCONF_EVENTS_GRCPERIPH0_COUNT   GRCCONF_EVENTS_GRCPERIPH0_MaxCount
 Number of events consolidated with IRQ0.
 
#define NRF_GRCCONF_EVENTS_GRCPERIPH1_COUNT   GRCCONF_EVENTS_GRCPERIPH1_MaxCount
 Number of events consolidated with IRQ1.
 
#define NRF_GRCCONF_EVENTS_GRCPERIPH_TOTAL_COUNT
 Number of all events consolidated with IRQ0 and IRQ1.
 

Enumerations

enum  nrf_grcconf_event_t {
  NRF_GRCCONF_EVENT_GRCPERIPH0_0 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[0]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_1 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[1]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_2 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[2]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_3 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[3]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_4 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[4]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_5 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[5]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_6 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[6]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_7 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[7]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_8 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[8]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_9 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[9]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_10 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[10]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_11 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[11]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_12 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[12]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_13 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[13]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_14 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[14]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_15 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[15]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_16 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[16]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_17 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[17]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_18 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[18]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_19 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[19]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_20 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[20]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_21 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[21]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_22 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[22]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_23 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[23]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_24 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[24]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_25 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[25]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_26 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[26]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_27 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[27]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_28 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[28]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_29 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[29]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_30 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[30]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH0_31 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH0[31]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_0 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[0]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_1 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[1]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_2 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[2]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_3 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[3]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_4 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[4]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_5 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[5]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_6 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[6]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_7 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[7]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_8 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[8]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_9 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[9]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_10 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[10]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_11 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[11]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_12 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[12]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_13 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[13]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_14 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[14]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_15 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[15]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_16 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[16]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_17 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[17]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_18 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[18]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_19 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[19]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_20 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[20]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_21 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[21]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_22 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[22]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_23 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[23]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_24 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[24]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_25 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[25]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_26 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[26]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_27 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[27]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_28 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[28]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_29 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[29]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_30 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[30]) ,
  NRF_GRCCONF_EVENT_GRCPERIPH1_31 = offsetof(NRF_GRCCONF_Type, EVENTS_GRCPERIPH1[31]) ,
  NRF_GRCCONF_EVENT_SYSTEMOFF_READY = offsetof(NRF_GRCCONF_Type, EVENTS_SYSTEMOFFREADY) ,
  NRF_GRCCONF_EVENT_SYSTEMOFF_NOT_READY = offsetof(NRF_GRCCONF_Type, EVENTS_SYSTEMOFFNOTREADY)
}
 GRCCONF events. More...
 
enum  nrf_grcconf_int_mask_t {
  NRF_GRCCONF_INT_TRIGGERED_0_MASK = GRCCONF_INTEN00_GRCPERIPH00_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_1_MASK = GRCCONF_INTEN00_GRCPERIPH01_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_2_MASK = GRCCONF_INTEN00_GRCPERIPH02_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_3_MASK = GRCCONF_INTEN00_GRCPERIPH03_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_4_MASK = GRCCONF_INTEN00_GRCPERIPH04_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_5_MASK = GRCCONF_INTEN00_GRCPERIPH05_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_6_MASK = GRCCONF_INTEN00_GRCPERIPH06_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_7_MASK = GRCCONF_INTEN00_GRCPERIPH07_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_8_MASK = GRCCONF_INTEN00_GRCPERIPH08_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_9_MASK = GRCCONF_INTEN00_GRCPERIPH09_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_10_MASK = GRCCONF_INTEN00_GRCPERIPH010_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_11_MASK = GRCCONF_INTEN00_GRCPERIPH011_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_12_MASK = GRCCONF_INTEN00_GRCPERIPH012_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_13_MASK = GRCCONF_INTEN00_GRCPERIPH013_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_14_MASK = GRCCONF_INTEN00_GRCPERIPH014_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_15_MASK = GRCCONF_INTEN00_GRCPERIPH015_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_16_MASK = GRCCONF_INTEN00_GRCPERIPH016_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_17_MASK = GRCCONF_INTEN00_GRCPERIPH017_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_18_MASK = GRCCONF_INTEN00_GRCPERIPH018_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_19_MASK = GRCCONF_INTEN00_GRCPERIPH019_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_20_MASK = GRCCONF_INTEN00_GRCPERIPH020_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_21_MASK = GRCCONF_INTEN00_GRCPERIPH021_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_22_MASK = GRCCONF_INTEN00_GRCPERIPH022_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_23_MASK = GRCCONF_INTEN00_GRCPERIPH023_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_24_MASK = GRCCONF_INTEN00_GRCPERIPH024_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_25_MASK = GRCCONF_INTEN00_GRCPERIPH025_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_26_MASK = GRCCONF_INTEN00_GRCPERIPH026_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_27_MASK = GRCCONF_INTEN00_GRCPERIPH027_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_28_MASK = GRCCONF_INTEN00_GRCPERIPH028_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_29_MASK = GRCCONF_INTEN00_GRCPERIPH029_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_30_MASK = GRCCONF_INTEN00_GRCPERIPH030_Msk ,
  NRF_GRCCONF_INT_TRIGGERED_31_MASK = GRCCONF_INTEN00_GRCPERIPH031_Msk ,
  NRF_GRCCONF_INT_SYSTEMOFF_READY_MASK = GRCCONF_INTEN02_SYSTEMOFFREADY_Msk ,
  NRF_GRCCONF_INT_SYSTEMOFF_NOT_READY_MASK = GRCCONF_INTEN02_SYSTEMOFFNOTREADY_Msk
}
 GRCCONF interrupt masks. More...
 
enum  nrf_grcconf_conf_t {
  NRF_GRCCONF_CONF_NOT_READY = GRCCONF_CHIPCONF_CONFREADY_NotReady ,
  NRF_GRCCONF_CONF_READY = GRCCONF_CHIPCONF_CONFREADY_Ready
}
 GRCCONF chip configuration readiness status. More...
 
enum  nrf_grcconf_trim_t {
  NRF_GRCCONF_TRIM_NOT_READY = GRCCONF_CHIPCONF_TRIMREADY_NotReady ,
  NRF_GRCCONF_TRIM_READY = GRCCONF_CHIPCONF_TRIMREADY_Ready
}
 GRCCONF trim configuration readiness status. More...
 
enum  nrf_grcconf_ramp_up_t {
  NRF_GRCCONF_RAMP_UP_NOT_DONE = GRCCONF_CHIPCONF_RAMPUP_NotDone ,
  NRF_GRCCONF_RAMP_UP_DONE = GRCCONF_CHIPCONF_RAMPUP_Done
}
 GRCCONF ramp up status. More...
 

Functions

NRF_STATIC_INLINE uint32_t nrf_grcconf_event_address_get (NRF_GRCCONF_Type const *p_reg, nrf_grcconf_event_t event)
 Function for retrieving the address of the specified event.
 
NRF_STATIC_INLINE nrf_grcconf_event_t nrf_grcconf_triggered_event_get (uint8_t index)
 Function for getting the specified GRCCONF TRIGGERED event.
 
NRF_STATIC_INLINE void nrf_grcconf_event_clear (NRF_GRCCONF_Type *p_reg, nrf_grcconf_event_t event)
 Function for clearing the specified event.
 
NRF_STATIC_INLINE bool nrf_grcconf_event_check (NRF_GRCCONF_Type const *p_reg, nrf_grcconf_event_t event)
 Function for retrieving the state of the specified event.
 
NRF_STATIC_INLINE void nrf_grcconf_int_enable (NRF_GRCCONF_Type *p_reg, uint8_t group_idx, uint32_t mask)
 Function for enabling the specified interrupt.
 
NRF_STATIC_INLINE void nrf_grcconf_int_disable (NRF_GRCCONF_Type *p_reg, uint8_t group_idx, uint32_t mask)
 Function for disabling the specified interrupt.
 
NRF_STATIC_INLINE uint32_t nrf_grcconf_int_enable_check (NRF_GRCCONF_Type const *p_reg, uint8_t group_idx, uint32_t mask)
 Function for checking if the specified interrupts are enabled.
 
NRF_STATIC_INLINE uint32_t nrf_grcconf_int_pending_get (NRF_GRCCONF_Type const *p_reg, uint8_t group_idx)
 Function for retrieving the state of pending interrupts.
 
NRF_STATIC_INLINE bool nrf_grcconf_confready_check (NRF_GRCCONF_Type const *p_reg)
 Function for checking whether the chip configuration is completed.
 
NRF_STATIC_INLINE bool nrf_grcconf_trimready_check (NRF_GRCCONF_Type const *p_reg)
 Function for checking whether the trim configuration is completed.
 
NRF_STATIC_INLINE bool nrf_grcconf_rampup_check (NRF_GRCCONF_Type const *p_reg)
 Function for checking whether the ramp up is done.
 
NRF_STATIC_INLINE void nrf_grcconf_system_off (NRF_GRCCONF_Type *p_reg)
 Function for going into System OFF mode.
 
NRF_STATIC_INLINE void nrf_grcconf_force_system_off (NRF_GRCCONF_Type *p_reg, bool now)
 Function for forcing going into System OFF mode.
 
NRF_STATIC_INLINE uint32_t nrf_grcconf_systemoff_stat_get (NRF_GRCCONF_Type const *p_reg)
 Function for retrieving power domain readiness of going to System OFF.
 
NRF_STATIC_INLINE void nrf_grcconf_systemoff_stat_set (NRF_GRCCONF_Type *p_reg, uint32_t mask)
 Function for setting System OFF prevention bit for specified domains.
 
NRF_STATIC_INLINE uint32_t nrf_grcconf_grc_forceon_get (NRF_GRCCONF_Type const *p_reg, uint8_t group_idx)
 Function for retrieving power domain request mask.
 
NRF_STATIC_INLINE void nrf_grcconf_grc_forceon_set (NRF_GRCCONF_Type *p_reg, uint8_t group_idx, uint32_t mask)
 Function for setting power domain request mask.
 

Detailed Description

Hardware access layer for managing Global Resource Controller (GRCCONF).

Macro Definition Documentation

◆ NRF_GRCCONF_EVENTS_GRCPERIPH_TOTAL_COUNT

#define NRF_GRCCONF_EVENTS_GRCPERIPH_TOTAL_COUNT
Value:
#define NRF_GRCCONF_EVENTS_GRCPERIPH1_COUNT
Number of events consolidated with IRQ1.
Definition: nrf_grcconf.h:23
#define NRF_GRCCONF_EVENTS_GRCPERIPH0_COUNT
Number of events consolidated with IRQ0.
Definition: nrf_grcconf.h:20

Number of all events consolidated with IRQ0 and IRQ1.

Enumeration Type Documentation

◆ nrf_grcconf_conf_t

GRCCONF chip configuration readiness status.

It's used to notify when the configuration is applied from FICR.

Enumerator
NRF_GRCCONF_CONF_NOT_READY 

Chip configuration is not ready.

NRF_GRCCONF_CONF_READY 

Chip configuration is ready.

◆ nrf_grcconf_event_t

GRCCONF events.

Enumerator
NRF_GRCCONF_EVENT_GRCPERIPH0_0 

GRC peripheral 0 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_1 

GRC peripheral 1 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_2 

GRC peripheral 2 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_3 

GRC peripheral 3 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_4 

GRC peripheral 4 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_5 

GRC peripheral 5 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_6 

GRC peripheral 6 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_7 

GRC peripheral 7 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_8 

GRC peripheral 8 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_9 

GRC peripheral 9 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_10 

GRC peripheral 10 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_11 

GRC peripheral 11 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_12 

GRC peripheral 12 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_13 

GRC peripheral 13 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_14 

GRC peripheral 14 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_15 

GRC peripheral 15 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_16 

GRC peripheral 16 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_17 

GRC peripheral 17 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_18 

GRC peripheral 18 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_19 

GRC peripheral 19 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_20 

GRC peripheral 20 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_21 

GRC peripheral 21 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_22 

GRC peripheral 22 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_23 

GRC peripheral 23 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_24 

GRC peripheral 24 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_25 

GRC peripheral 25 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_26 

GRC peripheral 26 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_27 

GRC peripheral 27 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_28 

GRC peripheral 28 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_29 

GRC peripheral 29 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_30 

GRC peripheral 30 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH0_31 

GRC peripheral 31 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_0 

GRC peripheral 32 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_1 

GRC peripheral 33 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_2 

GRC peripheral 34 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_3 

GRC peripheral 35 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_4 

GRC peripheral 36 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_5 

GRC peripheral 37 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_6 

GRC peripheral 38 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_7 

GRC peripheral 39 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_8 

GRC peripheral 40 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_9 

GRC peripheral 41 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_10 

GRC peripheral 42 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_11 

GRC peripheral 43 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_12 

GRC peripheral 44 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_13 

GRC peripheral 45 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_14 

GRC peripheral 46 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_15 

GRC peripheral 47 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_16 

GRC peripheral 48 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_17 

GRC peripheral 49 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_18 

GRC peripheral 50 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_19 

GRC peripheral 51 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_20 

GRC peripheral 52 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_21 

GRC peripheral 53 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_22 

GRC peripheral 54 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_23 

GRC peripheral 55 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_24 

GRC peripheral 56 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_25 

GRC peripheral 57 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_26 

GRC peripheral 58 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_27 

GRC peripheral 59 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_28 

GRC peripheral 60 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_29 

GRC peripheral 61 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_30 

GRC peripheral 62 interrupt triggered.

NRF_GRCCONF_EVENT_GRCPERIPH1_31 

GRC peripheral 63 interrupt triggered.

NRF_GRCCONF_EVENT_SYSTEMOFF_READY 

Device ready to go to System OFF.

NRF_GRCCONF_EVENT_SYSTEMOFF_NOT_READY 

Device not ready to go to System OFF.

◆ nrf_grcconf_int_mask_t

GRCCONF interrupt masks.

Enumerator
NRF_GRCCONF_INT_TRIGGERED_0_MASK 

Interrupt on GRC peripheral 0 event.

NRF_GRCCONF_INT_TRIGGERED_1_MASK 

Interrupt on GRC peripheral 1 event.

NRF_GRCCONF_INT_TRIGGERED_2_MASK 

Interrupt on GRC peripheral 2 event.

NRF_GRCCONF_INT_TRIGGERED_3_MASK 

Interrupt on GRC peripheral 3 event.

NRF_GRCCONF_INT_TRIGGERED_4_MASK 

Interrupt on GRC peripheral 4 event.

NRF_GRCCONF_INT_TRIGGERED_5_MASK 

Interrupt on GRC peripheral 5 event.

NRF_GRCCONF_INT_TRIGGERED_6_MASK 

Interrupt on GRC peripheral 6 event.

NRF_GRCCONF_INT_TRIGGERED_7_MASK 

Interrupt on GRC peripheral 7 event.

NRF_GRCCONF_INT_TRIGGERED_8_MASK 

Interrupt on GRC peripheral 8 event.

NRF_GRCCONF_INT_TRIGGERED_9_MASK 

Interrupt on GRC peripheral 9 event.

NRF_GRCCONF_INT_TRIGGERED_10_MASK 

Interrupt on GRC peripheral 10 event.

NRF_GRCCONF_INT_TRIGGERED_11_MASK 

Interrupt on GRC peripheral 11 event.

NRF_GRCCONF_INT_TRIGGERED_12_MASK 

Interrupt on GRC peripheral 12 event.

NRF_GRCCONF_INT_TRIGGERED_13_MASK 

Interrupt on GRC peripheral 13 event.

NRF_GRCCONF_INT_TRIGGERED_14_MASK 

Interrupt on GRC peripheral 14 event.

NRF_GRCCONF_INT_TRIGGERED_15_MASK 

Interrupt on GRC peripheral 15 event.

NRF_GRCCONF_INT_TRIGGERED_16_MASK 

Interrupt on GRC peripheral 16 event.

NRF_GRCCONF_INT_TRIGGERED_17_MASK 

Interrupt on GRC peripheral 17 event.

NRF_GRCCONF_INT_TRIGGERED_18_MASK 

Interrupt on GRC peripheral 18 event.

NRF_GRCCONF_INT_TRIGGERED_19_MASK 

Interrupt on GRC peripheral 19 event.

NRF_GRCCONF_INT_TRIGGERED_20_MASK 

Interrupt on GRC peripheral 20 event.

NRF_GRCCONF_INT_TRIGGERED_21_MASK 

Interrupt on GRC peripheral 21 event.

NRF_GRCCONF_INT_TRIGGERED_22_MASK 

Interrupt on GRC peripheral 22 event.

NRF_GRCCONF_INT_TRIGGERED_23_MASK 

Interrupt on GRC peripheral 23 event.

NRF_GRCCONF_INT_TRIGGERED_24_MASK 

Interrupt on GRC peripheral 24 event.

NRF_GRCCONF_INT_TRIGGERED_25_MASK 

Interrupt on GRC peripheral 25 event.

NRF_GRCCONF_INT_TRIGGERED_26_MASK 

Interrupt on GRC peripheral 26 event.

NRF_GRCCONF_INT_TRIGGERED_27_MASK 

Interrupt on GRC peripheral 27 event.

NRF_GRCCONF_INT_TRIGGERED_28_MASK 

Interrupt on GRC peripheral 28 event.

NRF_GRCCONF_INT_TRIGGERED_29_MASK 

Interrupt on GRC peripheral 29 event.

NRF_GRCCONF_INT_TRIGGERED_30_MASK 

Interrupt on GRC peripheral 30 event.

NRF_GRCCONF_INT_TRIGGERED_31_MASK 

Interrupt on GRC peripheral 31 event.

NRF_GRCCONF_INT_SYSTEMOFF_READY_MASK 

Interrupt on device System OFF readiness event.

NRF_GRCCONF_INT_SYSTEMOFF_NOT_READY_MASK 

Interrupt on device System OFF not readiness event.

◆ nrf_grcconf_ramp_up_t

GRCCONF ramp up status.

When power up sequence is completed, this bit is set.

Enumerator
NRF_GRCCONF_RAMP_UP_NOT_DONE 

Ramp up is done.

NRF_GRCCONF_RAMP_UP_DONE 

Ramp up is not done.

◆ nrf_grcconf_trim_t

GRCCONF trim configuration readiness status.

When the pre-calibration is applied, this bit is set.

Enumerator
NRF_GRCCONF_TRIM_NOT_READY 

Trim configuration is not ready.

NRF_GRCCONF_TRIM_READY 

Trim configuration is ready.

Function Documentation

◆ nrf_grcconf_confready_check()

NRF_STATIC_INLINE bool nrf_grcconf_confready_check ( NRF_GRCCONF_Type const *  p_reg)

Function for checking whether the chip configuration is completed.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
True if the chip configuration is completed, false otherwise.

◆ nrf_grcconf_event_address_get()

NRF_STATIC_INLINE uint32_t nrf_grcconf_event_address_get ( NRF_GRCCONF_Type const *  p_reg,
nrf_grcconf_event_t  event 
)

Function for retrieving the address of the specified event.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventGRCCONF event.
Returns
Address of the specified event register.

◆ nrf_grcconf_event_check()

NRF_STATIC_INLINE bool nrf_grcconf_event_check ( NRF_GRCCONF_Type const *  p_reg,
nrf_grcconf_event_t  event 
)

Function for retrieving the state of the specified event.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to be checked.
Return values
trueThe event has been generated.
falseThe event has not been generated.

◆ nrf_grcconf_event_clear()

NRF_STATIC_INLINE void nrf_grcconf_event_clear ( NRF_GRCCONF_Type *  p_reg,
nrf_grcconf_event_t  event 
)

Function for clearing the specified event.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to clear.

◆ nrf_grcconf_force_system_off()

NRF_STATIC_INLINE void nrf_grcconf_force_system_off ( NRF_GRCCONF_Type *  p_reg,
bool  now 
)

Function for forcing going into System OFF mode.

Enters System OFF without waiting for PCGC or power domains. If now is true, it does not wait for voltage regulators either.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]nowTrue if System OFF shall be entered immediately, false otherwise.

◆ nrf_grcconf_grc_forceon_get()

NRF_STATIC_INLINE uint32_t nrf_grcconf_grc_forceon_get ( NRF_GRCCONF_Type const *  p_reg,
uint8_t  group_idx 
)

Function for retrieving power domain request mask.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be checked.
Returns
Bitmask of domains that are kept on when the corresponding GRC interrupt is active.

◆ nrf_grcconf_grc_forceon_set()

NRF_STATIC_INLINE void nrf_grcconf_grc_forceon_set ( NRF_GRCCONF_Type *  p_reg,
uint8_t  group_idx,
uint32_t  mask 
)

Function for setting power domain request mask.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be checked.
[in]maskMask with power domain which preventing System OFF.

◆ nrf_grcconf_int_disable()

NRF_STATIC_INLINE void nrf_grcconf_int_disable ( NRF_GRCCONF_Type *  p_reg,
uint8_t  group_idx,
uint32_t  mask 
)

Function for disabling the specified interrupt.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be disabled.
[in]maskMask of interrupts to be disabled. Use nrf_grcconf_int_mask_t values for bit masking.

◆ nrf_grcconf_int_enable()

NRF_STATIC_INLINE void nrf_grcconf_int_enable ( NRF_GRCCONF_Type *  p_reg,
uint8_t  group_idx,
uint32_t  mask 
)

Function for enabling the specified interrupt.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be enabled.
[in]maskMask of interrupts to be enabled. Use nrf_grcconf_int_mask_t values for bit masking.

◆ nrf_grcconf_int_enable_check()

NRF_STATIC_INLINE uint32_t nrf_grcconf_int_enable_check ( NRF_GRCCONF_Type const *  p_reg,
uint8_t  group_idx,
uint32_t  mask 
)

Function for checking if the specified interrupts are enabled.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be checked.
[in]maskMask of interrupts to be checked. Use nrf_grcconf_int_mask_t values for bit masking.
Returns
Mask of enabled interrupts.

◆ nrf_grcconf_int_pending_get()

NRF_STATIC_INLINE uint32_t nrf_grcconf_int_pending_get ( NRF_GRCCONF_Type const *  p_reg,
uint8_t  group_idx 
)

Function for retrieving the state of pending interrupts.

States of pending interrupt are saved as a bitmask. One set at particular position means that interrupt for event is pending.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be checked.
Returns
Bitmask with information about pending interrupts. Use nrf_grcconf_int_mask_t values for bit masking.

◆ nrf_grcconf_rampup_check()

NRF_STATIC_INLINE bool nrf_grcconf_rampup_check ( NRF_GRCCONF_Type const *  p_reg)

Function for checking whether the ramp up is done.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
True if the ramp up is done, false otherwise.

◆ nrf_grcconf_system_off()

NRF_STATIC_INLINE void nrf_grcconf_system_off ( NRF_GRCCONF_Type *  p_reg)

Function for going into System OFF mode.

Enters System OFF, when PCGC acknowledge the System OFF request.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrf_grcconf_systemoff_stat_get()

NRF_STATIC_INLINE uint32_t nrf_grcconf_systemoff_stat_get ( NRF_GRCCONF_Type const *  p_reg)

Function for retrieving power domain readiness of going to System OFF.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Bitmask with information which power domain is ready to go to System OFF.

◆ nrf_grcconf_systemoff_stat_set()

NRF_STATIC_INLINE void nrf_grcconf_systemoff_stat_set ( NRF_GRCCONF_Type *  p_reg,
uint32_t  mask 
)

Function for setting System OFF prevention bit for specified domains.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of power domain which prevents System OFF.

◆ nrf_grcconf_triggered_event_get()

NRF_STATIC_INLINE nrf_grcconf_event_t nrf_grcconf_triggered_event_get ( uint8_t  index)

Function for getting the specified GRCCONF TRIGGERED event.

Parameters
[in]indexEvent index.
Returns
The specified GRCCONF TRIGGERED event.

◆ nrf_grcconf_trimready_check()

NRF_STATIC_INLINE bool nrf_grcconf_trimready_check ( NRF_GRCCONF_Type const *  p_reg)

Function for checking whether the trim configuration is completed.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
True if the trim configuration is completed, false otherwise.

Documentation feedback | Developer Zone | Subscribe | Updated