Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 401fa4f

Browse files
cvinayakaescolar
authored andcommitted
nrfx: hal: Add missing nrf_aar_int_enable function
Add the missing nrf_aar_int_enable function. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent f86079a commit 401fa4f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/HW_models/NRF_AAR.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ void nrf_aar_clean_up();
1919

2020
void nrf_aar_TASK_START();
2121
void nrf_aar_TASK_STOP() ;
22+
void nrf_aar_regw_sideeffects_INTENSET();
2223
void nrf_aar_regw_sideeffects_INTENCLR();
2324
void nrf_aar_regw_sideeffects_TASKS_START();
2425
void nrf_aar_regw_sideeffects_TASKS_STOP();

src/nrfx/hal/nrf_aar.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
#include "bs_tracing.h"
1111
#include "NRF_AAR.h"
1212

13+
14+
void nrf_aar_int_enable(NRF_AAR_Type * p_reg, uint32_t mask)
15+
{
16+
p_reg->INTENSET = mask;
17+
nrf_aar_regw_sideeffects_INTENSET();
18+
}
19+
1320
void nrf_aar_int_disable(NRF_AAR_Type * p_reg, uint32_t mask)
1421
{
1522
p_reg->INTENCLR = mask;

0 commit comments

Comments
 (0)