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. | |
Hardware access layer for managing the Inter-Processor Communication Transceiver (IPCT) peripheral.
enum nrf_ipct_event_t |
IPCT events.
enum nrf_ipct_int_mask_t |
IPCT interrupts.
IPCT shortcuts.
enum nrf_ipct_task_t |
IPCT tasks.
NRF_STATIC_INLINE nrf_ipct_task_t nrf_ipct_ack_task_get | ( | uint8_t | index | ) |
Function for getting ACK task by its index.
[in] | index | Index of the ACK task. |
NRF_STATIC_INLINE nrf_ipct_event_t nrf_ipct_acked_event_get | ( | uint8_t | index | ) |
Function for getting ACKED event by its index.
[in] | index | Index of the ACKED 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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Specified 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.
[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_ipct_event_clear | ( | NRF_IPCT_Type * | p_reg, |
nrf_ipct_event_t | event | ||
) |
Function for clearing the specified IPCT event.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event to clear. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be disabled. |
[in] | mask | Mask of interrupts to be disabled. Use nrf_ipct_int_mask_t values for bit masking. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be enabled. |
[in] | mask | Mask of interrupts to be enabled. Use nrf_ipct_int_mask_t values for bit masking. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be checked. |
[in] | mask | Mask of interrupts to be checked. Use nrf_ipct_int_mask_t values for bit masking. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be retrieved. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | index | SEND task index to be checked. |
true | Task overflow has happened. |
false | Task overflow has not happened. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event for which to clear the configuration. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event for which to set the configuration. |
[in] | channel | DPPI channel through which to publish the event. |
NRF_STATIC_INLINE nrf_ipct_event_t nrf_ipct_receive_event_get | ( | uint8_t | index | ) |
Function for getting RECEIVE event by its index.
[in] | index | Index of the RECEIVE event. |
NRF_STATIC_INLINE nrf_ipct_task_t nrf_ipct_send_task_get | ( | uint8_t | index | ) |
Function for getting SEND task by its index.
[in] | index | Index of the SEND task. |
NRF_STATIC_INLINE void nrf_ipct_shorts_disable | ( | NRF_IPCT_Type * | p_reg, |
uint32_t | mask | ||
) |
Function for disabling the specified shortcuts.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Shortcuts to be disabled. |
NRF_STATIC_INLINE void nrf_ipct_shorts_enable | ( | NRF_IPCT_Type * | p_reg, |
uint32_t | mask | ||
) |
Function for enabling the specified shortcuts.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Shortcuts to be enabled. |
NRF_STATIC_INLINE void nrf_ipct_shorts_set | ( | NRF_IPCT_Type * | p_reg, |
uint32_t | mask | ||
) |
Function for setting the configuration of IPCT shortcuts.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Shortcuts to be set. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Task for which to clear the configuration. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Task for which to set the configuration. |
[in] | channel | DPPI channel through which to subscribe events. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Specified task. |
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.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Task to be triggered. |