nrfx 3.3
Macros | Enumerations | Functions
IPCT HAL

Hardware access layer for managing the Inter-Processor Communication Transceiver (IPCT) peripheral. More...

Macros

#define NRF_IPCT_HAS_ACK   1
 Symbol indicating presence of ACK task and ACKED event.
 
#define NRF_IPCT_TASKS_SEND_COUNT   IPCT_TASKS_SEND_MaxCount
 Number of send tasks.
 

Enumerations

enum  nrf_ipct_task_t {
  NRF_IPCT_TASK_SEND_0 = offsetof(NRF_IPCT_Type, TASKS_SEND[0]) ,
  NRF_IPCT_TASK_SEND_1 = offsetof(NRF_IPCT_Type, TASKS_SEND[1]) ,
  NRF_IPCT_TASK_SEND_2 = offsetof(NRF_IPCT_Type, TASKS_SEND[2]) ,
  NRF_IPCT_TASK_SEND_3 = offsetof(NRF_IPCT_Type, TASKS_SEND[3]) ,
  NRF_IPCT_TASK_SEND_4 = offsetof(NRF_IPCT_Type, TASKS_SEND[4]) ,
  NRF_IPCT_TASK_SEND_5 = offsetof(NRF_IPCT_Type, TASKS_SEND[5]) ,
  NRF_IPCT_TASK_SEND_6 = offsetof(NRF_IPCT_Type, TASKS_SEND[6]) ,
  NRF_IPCT_TASK_SEND_7 = offsetof(NRF_IPCT_Type, TASKS_SEND[7]) ,
  NRF_IPCT_TASK_SEND_8 = offsetof(NRF_IPCT_Type, TASKS_SEND[8]) ,
  NRF_IPCT_TASK_SEND_9 = offsetof(NRF_IPCT_Type, TASKS_SEND[9]) ,
  NRF_IPCT_TASK_SEND_10 = offsetof(NRF_IPCT_Type, TASKS_SEND[10]) ,
  NRF_IPCT_TASK_SEND_11 = offsetof(NRF_IPCT_Type, TASKS_SEND[11]) ,
  NRF_IPCT_TASK_SEND_12 = offsetof(NRF_IPCT_Type, TASKS_SEND[12]) ,
  NRF_IPCT_TASK_SEND_13 = offsetof(NRF_IPCT_Type, TASKS_SEND[13]) ,
  NRF_IPCT_TASK_SEND_14 = offsetof(NRF_IPCT_Type, TASKS_SEND[14]) ,
  NRF_IPCT_TASK_SEND_15 = offsetof(NRF_IPCT_Type, TASKS_SEND[15]) ,
  NRF_IPCT_TASK_ACK_0 = offsetof(NRF_IPCT_Type, TASKS_ACK[0]) ,
  NRF_IPCT_TASK_ACK_1 = offsetof(NRF_IPCT_Type, TASKS_ACK[1]) ,
  NRF_IPCT_TASK_ACK_2 = offsetof(NRF_IPCT_Type, TASKS_ACK[2]) ,
  NRF_IPCT_TASK_ACK_3 = offsetof(NRF_IPCT_Type, TASKS_ACK[3]) ,
  NRF_IPCT_TASK_ACK_4 = offsetof(NRF_IPCT_Type, TASKS_ACK[4]) ,
  NRF_IPCT_TASK_ACK_5 = offsetof(NRF_IPCT_Type, TASKS_ACK[5]) ,
  NRF_IPCT_TASK_ACK_6 = offsetof(NRF_IPCT_Type, TASKS_ACK[6]) ,
  NRF_IPCT_TASK_ACK_7 = offsetof(NRF_IPCT_Type, TASKS_ACK[7]) ,
  NRF_IPCT_TASK_ACK_8 = offsetof(NRF_IPCT_Type, TASKS_ACK[8]) ,
  NRF_IPCT_TASK_ACK_9 = offsetof(NRF_IPCT_Type, TASKS_ACK[9]) ,
  NRF_IPCT_TASK_ACK_10 = offsetof(NRF_IPCT_Type, TASKS_ACK[10]) ,
  NRF_IPCT_TASK_ACK_11 = offsetof(NRF_IPCT_Type, TASKS_ACK[11]) ,
  NRF_IPCT_TASK_ACK_12 = offsetof(NRF_IPCT_Type, TASKS_ACK[12]) ,
  NRF_IPCT_TASK_ACK_13 = offsetof(NRF_IPCT_Type, TASKS_ACK[13]) ,
  NRF_IPCT_TASK_ACK_14 = offsetof(NRF_IPCT_Type, TASKS_ACK[14]) ,
  NRF_IPCT_TASK_ACK_15 = offsetof(NRF_IPCT_Type, TASKS_ACK[15])
}
 IPCT tasks. More...
 
enum  nrf_ipct_event_t {
  NRF_IPCT_EVENT_RECEIVE_0 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[0]) ,
  NRF_IPCT_EVENT_RECEIVE_1 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[1]) ,
  NRF_IPCT_EVENT_RECEIVE_2 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[2]) ,
  NRF_IPCT_EVENT_RECEIVE_3 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[3]) ,
  NRF_IPCT_EVENT_RECEIVE_4 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[4]) ,
  NRF_IPCT_EVENT_RECEIVE_5 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[5]) ,
  NRF_IPCT_EVENT_RECEIVE_6 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[6]) ,
  NRF_IPCT_EVENT_RECEIVE_7 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[7]) ,
  NRF_IPCT_EVENT_RECEIVE_8 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[8]) ,
  NRF_IPCT_EVENT_RECEIVE_9 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[9]) ,
  NRF_IPCT_EVENT_RECEIVE_10 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[10]) ,
  NRF_IPCT_EVENT_RECEIVE_11 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[11]) ,
  NRF_IPCT_EVENT_RECEIVE_12 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[12]) ,
  NRF_IPCT_EVENT_RECEIVE_13 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[13]) ,
  NRF_IPCT_EVENT_RECEIVE_14 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[14]) ,
  NRF_IPCT_EVENT_RECEIVE_15 = offsetof(NRF_IPCT_Type, EVENTS_RECEIVE[15]) ,
  NRF_IPCT_EVENT_ACKED_0 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[0]) ,
  NRF_IPCT_EVENT_ACKED_1 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[1]) ,
  NRF_IPCT_EVENT_ACKED_2 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[2]) ,
  NRF_IPCT_EVENT_ACKED_3 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[3]) ,
  NRF_IPCT_EVENT_ACKED_4 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[4]) ,
  NRF_IPCT_EVENT_ACKED_5 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[5]) ,
  NRF_IPCT_EVENT_ACKED_6 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[6]) ,
  NRF_IPCT_EVENT_ACKED_7 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[7]) ,
  NRF_IPCT_EVENT_ACKED_8 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[8]) ,
  NRF_IPCT_EVENT_ACKED_9 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[9]) ,
  NRF_IPCT_EVENT_ACKED_10 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[10]) ,
  NRF_IPCT_EVENT_ACKED_11 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[11]) ,
  NRF_IPCT_EVENT_ACKED_12 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[12]) ,
  NRF_IPCT_EVENT_ACKED_13 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[13]) ,
  NRF_IPCT_EVENT_ACKED_14 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[14]) ,
  NRF_IPCT_EVENT_ACKED_15 = offsetof(NRF_IPCT_Type, EVENTS_ACKED[15])
}
 IPCT events. More...
 
enum  nrf_ipct_short_mask_t {
  NRF_IPCT_SHORT_RECEIVE0_ACK0_MASK = IPCT_SHORTS_RECEIVE0_ACK0_Msk ,
  NRF_IPCT_SHORT_RECEIVE1_ACK1_MASK = IPCT_SHORTS_RECEIVE1_ACK1_Msk ,
  NRF_IPCT_SHORT_RECEIVE2_ACK2_MASK = IPCT_SHORTS_RECEIVE2_ACK2_Msk ,
  NRF_IPCT_SHORT_RECEIVE3_ACK3_MASK = IPCT_SHORTS_RECEIVE3_ACK3_Msk ,
  NRF_IPCT_SHORT_RECEIVE4_ACK4_MASK = IPCT_SHORTS_RECEIVE4_ACK4_Msk ,
  NRF_IPCT_SHORT_RECEIVE5_ACK5_MASK = IPCT_SHORTS_RECEIVE5_ACK5_Msk ,
  NRF_IPCT_SHORT_RECEIVE6_ACK6_MASK = IPCT_SHORTS_RECEIVE6_ACK6_Msk ,
  NRF_IPCT_SHORT_RECEIVE7_ACK7_MASK = IPCT_SHORTS_RECEIVE7_ACK7_Msk ,
  NRF_IPCT_SHORT_RECEIVE8_ACK8_MASK = IPCT_SHORTS_RECEIVE8_ACK8_Msk ,
  NRF_IPCT_SHORT_RECEIVE9_ACK9_MASK = IPCT_SHORTS_RECEIVE9_ACK9_Msk ,
  NRF_IPCT_SHORT_RECEIVE10_ACK10_MASK = IPCT_SHORTS_RECEIVE10_ACK10_Msk ,
  NRF_IPCT_SHORT_RECEIVE11_ACK11_MASK = IPCT_SHORTS_RECEIVE11_ACK11_Msk ,
  NRF_IPCT_SHORT_RECEIVE12_ACK12_MASK = IPCT_SHORTS_RECEIVE12_ACK12_Msk ,
  NRF_IPCT_SHORT_RECEIVE13_ACK13_MASK = IPCT_SHORTS_RECEIVE13_ACK13_Msk ,
  NRF_IPCT_SHORT_RECEIVE14_ACK14_MASK = IPCT_SHORTS_RECEIVE14_ACK14_Msk ,
  NRF_IPCT_SHORT_RECEIVE15_ACK15_MASK = IPCT_SHORTS_RECEIVE15_ACK15_Msk ,
  NRF_IPCT_ALL_SHORTS_MASK
}
 IPCT shortcuts. More...
 
enum  nrf_ipct_int_mask_t {
  NRF_IPCT_INT_RECEIVE_0 = IPCT_INTEN0_RECEIVE0_Msk ,
  NRF_IPCT_INT_RECEIVE_1 = IPCT_INTEN0_RECEIVE1_Msk ,
  NRF_IPCT_INT_RECEIVE_2 = IPCT_INTEN0_RECEIVE2_Msk ,
  NRF_IPCT_INT_RECEIVE_3 = IPCT_INTEN0_RECEIVE3_Msk ,
  NRF_IPCT_INT_RECEIVE_4 = IPCT_INTEN0_RECEIVE4_Msk ,
  NRF_IPCT_INT_RECEIVE_5 = IPCT_INTEN0_RECEIVE5_Msk ,
  NRF_IPCT_INT_RECEIVE_6 = IPCT_INTEN0_RECEIVE6_Msk ,
  NRF_IPCT_INT_RECEIVE_7 = IPCT_INTEN0_RECEIVE7_Msk ,
  NRF_IPCT_INT_RECEIVE_8 = IPCT_INTEN0_RECEIVE8_Msk ,
  NRF_IPCT_INT_RECEIVE_9 = IPCT_INTEN0_RECEIVE9_Msk ,
  NRF_IPCT_INT_RECEIVE_10 = IPCT_INTEN0_RECEIVE10_Msk ,
  NRF_IPCT_INT_RECEIVE_11 = IPCT_INTEN0_RECEIVE11_Msk ,
  NRF_IPCT_INT_RECEIVE_12 = IPCT_INTEN0_RECEIVE12_Msk ,
  NRF_IPCT_INT_RECEIVE_13 = IPCT_INTEN0_RECEIVE13_Msk ,
  NRF_IPCT_INT_RECEIVE_14 = IPCT_INTEN0_RECEIVE14_Msk ,
  NRF_IPCT_INT_RECEIVE_15 = IPCT_INTEN0_RECEIVE15_Msk ,
  NRF_IPCT_INT_ACKED_0 = IPCT_INTEN0_ACKED0_Msk ,
  NRF_IPCT_INT_ACKED_1 = IPCT_INTEN0_ACKED1_Msk ,
  NRF_IPCT_INT_ACKED_2 = IPCT_INTEN0_ACKED2_Msk ,
  NRF_IPCT_INT_ACKED_3 = IPCT_INTEN0_ACKED3_Msk ,
  NRF_IPCT_INT_ACKED_4 = IPCT_INTEN0_ACKED4_Msk ,
  NRF_IPCT_INT_ACKED_5 = IPCT_INTEN0_ACKED5_Msk ,
  NRF_IPCT_INT_ACKED_6 = IPCT_INTEN0_ACKED6_Msk ,
  NRF_IPCT_INT_ACKED_7 = IPCT_INTEN0_ACKED7_Msk ,
  NRF_IPCT_INT_ACKED_8 = IPCT_INTEN0_ACKED8_Msk ,
  NRF_IPCT_INT_ACKED_9 = IPCT_INTEN0_ACKED9_Msk ,
  NRF_IPCT_INT_ACKED_10 = IPCT_INTEN0_ACKED10_Msk ,
  NRF_IPCT_INT_ACKED_11 = IPCT_INTEN0_ACKED11_Msk ,
  NRF_IPCT_INT_ACKED_12 = IPCT_INTEN0_ACKED12_Msk ,
  NRF_IPCT_INT_ACKED_13 = IPCT_INTEN0_ACKED13_Msk ,
  NRF_IPCT_INT_ACKED_14 = IPCT_INTEN0_ACKED14_Msk ,
  NRF_IPCT_INT_ACKED_15 = IPCT_INTEN0_ACKED15_Msk
}
 IPCT interrupts. More...
 

Functions

NRF_STATIC_INLINE void nrf_ipct_task_trigger (NRF_IPCT_Type *p_reg, nrf_ipct_task_t task)
 Function for triggering the specified IPCT task.
 
NRF_STATIC_INLINE uint32_t nrf_ipct_task_address_get (NRF_IPCT_Type const *p_reg, nrf_ipct_task_t task)
 Function for getting the address of the specified IPCT task register.
 
NRF_STATIC_INLINE void nrf_ipct_event_clear (NRF_IPCT_Type *p_reg, nrf_ipct_event_t event)
 Function for clearing the specified IPCT event.
 
NRF_STATIC_INLINE bool nrf_ipct_event_check (NRF_IPCT_Type const *p_reg, nrf_ipct_event_t event)
 Function for retrieving the state of the IPCT event.
 
NRF_STATIC_INLINE uint32_t nrf_ipct_event_address_get (NRF_IPCT_Type const *p_reg, nrf_ipct_event_t event)
 Function for getting the address of the specified IPCT event register.
 
NRF_STATIC_INLINE void nrf_ipct_int_enable (NRF_IPCT_Type *p_reg, uint8_t group_idx, uint32_t mask)
 Function for enabling specified interrupts.
 
NRF_STATIC_INLINE void nrf_ipct_int_disable (NRF_IPCT_Type *p_reg, uint8_t group_idx, uint32_t mask)
 Function for disabling specified interrupts.
 
NRF_STATIC_INLINE uint32_t nrf_ipct_int_enable_check (NRF_IPCT_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_ipct_int_pending_get (NRF_IPCT_Type const *p_reg, uint8_t group_idx)
 Function for retrieving the state of pending interrupts.
 
NRF_STATIC_INLINE void nrf_ipct_subscribe_set (NRF_IPCT_Type *p_reg, nrf_ipct_task_t task, uint8_t channel)
 Function for setting the DPPI subscribe configuration for a given IPCT task.
 
NRF_STATIC_INLINE void nrf_ipct_subscribe_clear (NRF_IPCT_Type *p_reg, nrf_ipct_task_t task)
 Function for clearing the DPPI subscribe configuration for a given IPCT task.
 
NRF_STATIC_INLINE void nrf_ipct_publish_set (NRF_IPCT_Type *p_reg, nrf_ipct_event_t event, uint8_t channel)
 Function for setting the DPPI publish configuration for a given IPCT event.
 
NRF_STATIC_INLINE void nrf_ipct_publish_clear (NRF_IPCT_Type *p_reg, nrf_ipct_event_t event)
 Function for clearing the DPPI publish configuration for a given IPCT event.
 
NRF_STATIC_INLINE bool nrf_ipct_overflow_send_get (NRF_IPCT_Type const *p_reg, uint8_t index)
 Function for getting value of the task overflow status for SEND task.
 
NRF_STATIC_INLINE nrf_ipct_task_t nrf_ipct_send_task_get (uint8_t index)
 Function for getting SEND task by its index.
 
NRF_STATIC_INLINE nrf_ipct_task_t nrf_ipct_ack_task_get (uint8_t index)
 Function for getting ACK task by its index.
 
NRF_STATIC_INLINE nrf_ipct_event_t nrf_ipct_receive_event_get (uint8_t index)
 Function for getting RECEIVE event by its index.
 
NRF_STATIC_INLINE nrf_ipct_event_t nrf_ipct_acked_event_get (uint8_t index)
 Function for getting ACKED event by its index.
 
NRF_STATIC_INLINE void nrf_ipct_shorts_enable (NRF_IPCT_Type *p_reg, uint32_t mask)
 Function for enabling the specified shortcuts.
 
NRF_STATIC_INLINE void nrf_ipct_shorts_disable (NRF_IPCT_Type *p_reg, uint32_t mask)
 Function for disabling the specified shortcuts.
 
NRF_STATIC_INLINE void nrf_ipct_shorts_set (NRF_IPCT_Type *p_reg, uint32_t mask)
 Function for setting the configuration of IPCT shortcuts.
 

Detailed Description

Hardware access layer for managing the Inter-Processor Communication Transceiver (IPCT) peripheral.

Enumeration Type Documentation

◆ nrf_ipct_event_t

IPCT events.

Enumerator
NRF_IPCT_EVENT_RECEIVE_0 

Receive [0] event.

NRF_IPCT_EVENT_RECEIVE_1 

Receive [1] event.

NRF_IPCT_EVENT_RECEIVE_2 

Receive [2] event.

NRF_IPCT_EVENT_RECEIVE_3 

Receive [3] event.

NRF_IPCT_EVENT_RECEIVE_4 

Receive [4] event.

NRF_IPCT_EVENT_RECEIVE_5 

Receive [5] event.

NRF_IPCT_EVENT_RECEIVE_6 

Receive [6] event.

NRF_IPCT_EVENT_RECEIVE_7 

Receive [7] event.

NRF_IPCT_EVENT_RECEIVE_8 

Receive [8] event.

NRF_IPCT_EVENT_RECEIVE_9 

Receive [9] event.

NRF_IPCT_EVENT_RECEIVE_10 

Receive [10] event.

NRF_IPCT_EVENT_RECEIVE_11 

Receive [11] event.

NRF_IPCT_EVENT_RECEIVE_12 

Receive [12] event.

NRF_IPCT_EVENT_RECEIVE_13 

Receive [13] event.

NRF_IPCT_EVENT_RECEIVE_14 

Receive [14] event.

NRF_IPCT_EVENT_RECEIVE_15 

Receive [15] event.

NRF_IPCT_EVENT_ACKED_0 

Acknowledged event for the SEND[0] task.

NRF_IPCT_EVENT_ACKED_1 

Acknowledged event for the SEND[1] task.

NRF_IPCT_EVENT_ACKED_2 

Acknowledged event for the SEND[2] task.

NRF_IPCT_EVENT_ACKED_3 

Acknowledged event for the SEND[3] task.

NRF_IPCT_EVENT_ACKED_4 

Acknowledged event for the SEND[4] task.

NRF_IPCT_EVENT_ACKED_5 

Acknowledged event for the SEND[5] task.

NRF_IPCT_EVENT_ACKED_6 

Acknowledged event for the SEND[6] task.

NRF_IPCT_EVENT_ACKED_7 

Acknowledged event for the SEND[7] task.

NRF_IPCT_EVENT_ACKED_8 

Acknowledged event for the SEND[8] task.

NRF_IPCT_EVENT_ACKED_9 

Acknowledged event for the SEND[9] task.

NRF_IPCT_EVENT_ACKED_10 

Acknowledged event for the SEND[10] task.

NRF_IPCT_EVENT_ACKED_11 

Acknowledged event for the SEND[11] task.

NRF_IPCT_EVENT_ACKED_12 

Acknowledged event for the SEND[12] task.

NRF_IPCT_EVENT_ACKED_13 

Acknowledged event for the SEND[13] task.

NRF_IPCT_EVENT_ACKED_14 

Acknowledged event for the SEND[14] task.

NRF_IPCT_EVENT_ACKED_15 

Acknowledged event for the SEND[15] task.

◆ nrf_ipct_int_mask_t

IPCT interrupts.

Enumerator
NRF_IPCT_INT_RECEIVE_0 

Interrupt for event RECEIVE[0].

NRF_IPCT_INT_RECEIVE_1 

Interrupt for event RECEIVE[1].

NRF_IPCT_INT_RECEIVE_2 

Interrupt for event RECEIVE[2].

NRF_IPCT_INT_RECEIVE_3 

Interrupt for event RECEIVE[3].

NRF_IPCT_INT_RECEIVE_4 

Interrupt for event RECEIVE[4].

NRF_IPCT_INT_RECEIVE_5 

Interrupt for event RECEIVE[5].

NRF_IPCT_INT_RECEIVE_6 

Interrupt for event RECEIVE[6].

NRF_IPCT_INT_RECEIVE_7 

Interrupt for event RECEIVE[7].

NRF_IPCT_INT_RECEIVE_8 

Interrupt for event RECEIVE[8].

NRF_IPCT_INT_RECEIVE_9 

Interrupt for event RECEIVE[9].

NRF_IPCT_INT_RECEIVE_10 

Interrupt for event RECEIVE[10].

NRF_IPCT_INT_RECEIVE_11 

Interrupt for event RECEIVE[11].

NRF_IPCT_INT_RECEIVE_12 

Interrupt for event RECEIVE[12].

NRF_IPCT_INT_RECEIVE_13 

Interrupt for event RECEIVE[13].

NRF_IPCT_INT_RECEIVE_14 

Interrupt for event RECEIVE[14].

NRF_IPCT_INT_RECEIVE_15 

Interrupt for event RECEIVE[15].

NRF_IPCT_INT_ACKED_0 

Interrupt for event ACKED[0].

NRF_IPCT_INT_ACKED_1 

Interrupt for event ACKED[1].

NRF_IPCT_INT_ACKED_2 

Interrupt for event ACKED[2].

NRF_IPCT_INT_ACKED_3 

Interrupt for event ACKED[3].

NRF_IPCT_INT_ACKED_4 

Interrupt for event ACKED[4].

NRF_IPCT_INT_ACKED_5 

Interrupt for event ACKED[5].

NRF_IPCT_INT_ACKED_6 

Interrupt for event ACKED[6].

NRF_IPCT_INT_ACKED_7 

Interrupt for event ACKED[7].

NRF_IPCT_INT_ACKED_8 

Interrupt for event ACKED[8].

NRF_IPCT_INT_ACKED_9 

Interrupt for event ACKED[9].

NRF_IPCT_INT_ACKED_10 

Interrupt for event ACKED[10].

NRF_IPCT_INT_ACKED_11 

Interrupt for event ACKED[11].

NRF_IPCT_INT_ACKED_12 

Interrupt for event ACKED[12].

NRF_IPCT_INT_ACKED_13 

Interrupt for event ACKED[13].

NRF_IPCT_INT_ACKED_14 

Interrupt for event ACKED[14].

NRF_IPCT_INT_ACKED_15 

Interrupt for event ACKED[15].

◆ nrf_ipct_short_mask_t

IPCT shortcuts.

Enumerator
NRF_IPCT_SHORT_RECEIVE0_ACK0_MASK 

Shortcut between event RECEIVE[0] and task ACK[0].

NRF_IPCT_SHORT_RECEIVE1_ACK1_MASK 

Shortcut between event RECEIVE[1] and task ACK[1].

NRF_IPCT_SHORT_RECEIVE2_ACK2_MASK 

Shortcut between event RECEIVE[2] and task ACK[2].

NRF_IPCT_SHORT_RECEIVE3_ACK3_MASK 

Shortcut between event RECEIVE[3] and task ACK[3].

NRF_IPCT_SHORT_RECEIVE4_ACK4_MASK 

Shortcut between event RECEIVE[4] and task ACK[4].

NRF_IPCT_SHORT_RECEIVE5_ACK5_MASK 

Shortcut between event RECEIVE[5] and task ACK[5].

NRF_IPCT_SHORT_RECEIVE6_ACK6_MASK 

Shortcut between event RECEIVE[6] and task ACK[6].

NRF_IPCT_SHORT_RECEIVE7_ACK7_MASK 

Shortcut between event RECEIVE[7] and task ACK[7].

NRF_IPCT_SHORT_RECEIVE8_ACK8_MASK 

Shortcut between event RECEIVE[8] and task ACK[8].

NRF_IPCT_SHORT_RECEIVE9_ACK9_MASK 

Shortcut between event RECEIVE[9] and task ACK[9].

NRF_IPCT_SHORT_RECEIVE10_ACK10_MASK 

Shortcut between event RECEIVE[10] and task ACK[10].

NRF_IPCT_SHORT_RECEIVE11_ACK11_MASK 

Shortcut between event RECEIVE[11] and task ACK[11].

NRF_IPCT_SHORT_RECEIVE12_ACK12_MASK 

Shortcut between event RECEIVE[12] and task ACK[12].

NRF_IPCT_SHORT_RECEIVE13_ACK13_MASK 

Shortcut between event RECEIVE[13] and task ACK[13].

NRF_IPCT_SHORT_RECEIVE14_ACK14_MASK 

Shortcut between event RECEIVE[14] and task ACK[14].

NRF_IPCT_SHORT_RECEIVE15_ACK15_MASK 

Shortcut between event RECEIVE[15] and task ACK[15].

NRF_IPCT_ALL_SHORTS_MASK 

All IPCT shortcuts.

◆ nrf_ipct_task_t

IPCT tasks.

Enumerator
NRF_IPCT_TASK_SEND_0 

Send [0] task.

NRF_IPCT_TASK_SEND_1 

Send [1] task.

NRF_IPCT_TASK_SEND_2 

Send [2] task.

NRF_IPCT_TASK_SEND_3 

Send [3] task.

NRF_IPCT_TASK_SEND_4 

Send [4] task.

NRF_IPCT_TASK_SEND_5 

Send [5] task.

NRF_IPCT_TASK_SEND_6 

Send [6] task.

NRF_IPCT_TASK_SEND_7 

Send [7] task.

NRF_IPCT_TASK_SEND_8 

Send [8] task.

NRF_IPCT_TASK_SEND_9 

Send [9] task.

NRF_IPCT_TASK_SEND_10 

Send [10] task.

NRF_IPCT_TASK_SEND_11 

Send [11] task.

NRF_IPCT_TASK_SEND_12 

Send [12] task.

NRF_IPCT_TASK_SEND_13 

Send [13] task.

NRF_IPCT_TASK_SEND_14 

Send [14] task.

NRF_IPCT_TASK_SEND_15 

Send [15] task.

NRF_IPCT_TASK_ACK_0 

Acknowledge the RECEIVE[0] task.

NRF_IPCT_TASK_ACK_1 

Acknowledge the RECEIVE[1] task.

NRF_IPCT_TASK_ACK_2 

Acknowledge the RECEIVE[2] task.

NRF_IPCT_TASK_ACK_3 

Acknowledge the RECEIVE[3] task.

NRF_IPCT_TASK_ACK_4 

Acknowledge the RECEIVE[4] task.

NRF_IPCT_TASK_ACK_5 

Acknowledge the RECEIVE[5] task.

NRF_IPCT_TASK_ACK_6 

Acknowledge the RECEIVE[6] task.

NRF_IPCT_TASK_ACK_7 

Acknowledge the RECEIVE[7] task.

NRF_IPCT_TASK_ACK_8 

Acknowledge the RECEIVE[8] task.

NRF_IPCT_TASK_ACK_9 

Acknowledge the RECEIVE[9] task.

NRF_IPCT_TASK_ACK_10 

Acknowledge the RECEIVE[10] task.

NRF_IPCT_TASK_ACK_11 

Acknowledge the RECEIVE[11] task.

NRF_IPCT_TASK_ACK_12 

Acknowledge the RECEIVE[12] task.

NRF_IPCT_TASK_ACK_13 

Acknowledge the RECEIVE[13] task.

NRF_IPCT_TASK_ACK_14 

Acknowledge the RECEIVE[14] task.

NRF_IPCT_TASK_ACK_15 

Acknowledge the RECEIVE[15] task.

Function Documentation

◆ nrf_ipct_ack_task_get()

NRF_STATIC_INLINE nrf_ipct_task_t nrf_ipct_ack_task_get ( uint8_t  index)

Function for getting ACK task by its index.

Parameters
[in]indexIndex of the ACK task.
Returns
ACK task.

◆ nrf_ipct_acked_event_get()

NRF_STATIC_INLINE nrf_ipct_event_t nrf_ipct_acked_event_get ( uint8_t  index)

Function for getting ACKED event by its index.

Parameters
[in]indexIndex of the ACKED event.
Returns
ACKED event.

◆ nrf_ipct_event_address_get()

NRF_STATIC_INLINE uint32_t nrf_ipct_event_address_get ( NRF_IPCT_Type const *  p_reg,
nrf_ipct_event_t  event 
)

Function for getting the address of the specified IPCT event register.

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

◆ nrf_ipct_event_check()

NRF_STATIC_INLINE bool nrf_ipct_event_check ( NRF_IPCT_Type const *  p_reg,
nrf_ipct_event_t  event 
)

Function for retrieving the state of the IPCT 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_ipct_event_clear()

NRF_STATIC_INLINE void nrf_ipct_event_clear ( NRF_IPCT_Type *  p_reg,
nrf_ipct_event_t  event 
)

Function for clearing the specified IPCT event.

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

◆ nrf_ipct_int_disable()

NRF_STATIC_INLINE void nrf_ipct_int_disable ( NRF_IPCT_Type *  p_reg,
uint8_t  group_idx,
uint32_t  mask 
)

Function for disabling specified interrupts.

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_ipct_int_mask_t values for bit masking.

◆ nrf_ipct_int_enable()

NRF_STATIC_INLINE void nrf_ipct_int_enable ( NRF_IPCT_Type *  p_reg,
uint8_t  group_idx,
uint32_t  mask 
)

Function for enabling specified interrupts.

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_ipct_int_mask_t values for bit masking.

◆ nrf_ipct_int_enable_check()

NRF_STATIC_INLINE uint32_t nrf_ipct_int_enable_check ( NRF_IPCT_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_ipct_int_mask_t values for bit masking.
Returns
Mask of enabled interrupts.

◆ nrf_ipct_int_pending_get()

NRF_STATIC_INLINE uint32_t nrf_ipct_int_pending_get ( NRF_IPCT_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 retrieved.
Returns
Bitmask with information about pending interrupts. Use nrf_ipct_int_mask_t values for bit masking.

◆ nrf_ipct_overflow_send_get()

NRF_STATIC_INLINE bool nrf_ipct_overflow_send_get ( NRF_IPCT_Type const *  p_reg,
uint8_t  index 
)

Function for getting value of the task overflow status for SEND task.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]indexSEND task index to be checked.
Return values
trueTask overflow has happened.
falseTask overflow has not happened.

◆ nrf_ipct_publish_clear()

NRF_STATIC_INLINE void nrf_ipct_publish_clear ( NRF_IPCT_Type *  p_reg,
nrf_ipct_event_t  event 
)

Function for clearing the DPPI publish configuration for a given IPCT event.

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

◆ nrf_ipct_publish_set()

NRF_STATIC_INLINE void nrf_ipct_publish_set ( NRF_IPCT_Type *  p_reg,
nrf_ipct_event_t  event,
uint8_t  channel 
)

Function for setting the DPPI publish configuration for a given IPCT event.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent for which to set the configuration.
[in]channelDPPI channel through which to publish the event.

◆ nrf_ipct_receive_event_get()

NRF_STATIC_INLINE nrf_ipct_event_t nrf_ipct_receive_event_get ( uint8_t  index)

Function for getting RECEIVE event by its index.

Parameters
[in]indexIndex of the RECEIVE event.
Returns
RECEIVE event.

◆ nrf_ipct_send_task_get()

NRF_STATIC_INLINE nrf_ipct_task_t nrf_ipct_send_task_get ( uint8_t  index)

Function for getting SEND task by its index.

Parameters
[in]indexIndex of the SEND task.
Returns
SEND task.

◆ nrf_ipct_shorts_disable()

NRF_STATIC_INLINE void nrf_ipct_shorts_disable ( NRF_IPCT_Type *  p_reg,
uint32_t  mask 
)

Function for disabling the specified shortcuts.

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

◆ nrf_ipct_shorts_enable()

NRF_STATIC_INLINE void nrf_ipct_shorts_enable ( NRF_IPCT_Type *  p_reg,
uint32_t  mask 
)

Function for enabling the specified shortcuts.

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

◆ nrf_ipct_shorts_set()

NRF_STATIC_INLINE void nrf_ipct_shorts_set ( NRF_IPCT_Type *  p_reg,
uint32_t  mask 
)

Function for setting the configuration of IPCT shortcuts.

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

◆ nrf_ipct_subscribe_clear()

NRF_STATIC_INLINE void nrf_ipct_subscribe_clear ( NRF_IPCT_Type *  p_reg,
nrf_ipct_task_t  task 
)

Function for clearing the DPPI subscribe configuration for a given IPCT task.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask for which to clear the configuration.

◆ nrf_ipct_subscribe_set()

NRF_STATIC_INLINE void nrf_ipct_subscribe_set ( NRF_IPCT_Type *  p_reg,
nrf_ipct_task_t  task,
uint8_t  channel 
)

Function for setting the DPPI subscribe configuration for a given IPCT task.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask for which to set the configuration.
[in]channelDPPI channel through which to subscribe events.

◆ nrf_ipct_task_address_get()

NRF_STATIC_INLINE uint32_t nrf_ipct_task_address_get ( NRF_IPCT_Type const *  p_reg,
nrf_ipct_task_t  task 
)

Function for getting the address of the specified IPCT task register.

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

◆ nrf_ipct_task_trigger()

NRF_STATIC_INLINE void nrf_ipct_task_trigger ( NRF_IPCT_Type *  p_reg,
nrf_ipct_task_t  task 
)

Function for triggering the specified IPCT task.

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

Documentation feedback | Developer Zone | Subscribe | Updated