1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef _NRF_HW_MODEL_54L_CLOCK_H
7 #define _NRF_HW_MODEL_54L_CLOCK_H
8 
9 #include "bs_types.h"
10 
11 #ifdef __cplusplus
12 extern "C"{
13 #endif
14 
15 void nhw_CLOCK_regw_sideeffects_INTENSET(uint i);
16 void nhw_CLOCK_regw_sideeffects_INTENCLR(uint i);
17 void nhw_CLOCK_regw_sideeffects_TASKS_XOSTART(uint i);
18 void nhw_CLOCK_regw_sideeffects_TASKS_XOSTOP(uint i);
19 void nhw_CLOCK_regw_sideeffects_TASKS_PLLSTART(uint i);
20 void nhw_CLOCK_regw_sideeffects_TASKS_PLLSTOP(uint i);
21 void nhw_CLOCK_regw_sideeffects_TASKS_LFCLKSTART(uint i);
22 void nhw_CLOCK_regw_sideeffects_TASKS_LFCLKSTOP(uint i);
23 void nhw_CLOCK_regw_sideeffects_TASKS_CAL(uint i);
24 void nhw_CLOCK_regw_sideeffects_TASKS_XOTUNE(uint i);
25 void nhw_CLOCK_regw_sideeffects_TASKS_XOTUNEABORT(uint i);
26 /* Side-effecting function when any event register is written: */
27 void nhw_pwrclk_regw_sideeffects_EVENTS_all(uint i);
28 
29 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_XOSTART(uint i);
30 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_XOSTOP(uint i);
31 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_PLLSTART(uint i);
32 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_PLLSTOP(uint i);
33 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_LFCLKSTART(uint i);
34 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_LFCLKSTOP(uint i);
35 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_CAL(uint i);
36 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_XOTUNE(uint i);
37 void nhw_CLOCK_regw_sideeffects_SUBSCRIBE_XOTUNEABORT(uint i);
38 
39 union NRF_CLKPWR_Type {
40   NRF_CLOCK_Type CLK;
41   NRF_POWER_Type PWR;
42   NRF_RESET_Type RST;
43 };
44 
45 extern union NRF_CLKPWR_Type NRF_CLKPWR_regs[];
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* _NRF_HW_MODEL_54L_CLOCK_H */
52