1 // Copyright (C) 2022 Beken Corporation
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #pragma once
16
17 #include <soc/soc.h>
18 #include "pwm_hw.h"
19
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 #define ICU_LL_REG_BASE() (SOC_ICU_REG_BASE)
26
27 #define icu_ll_is_pwm_has_two_int(hw) false
28 #define icu_ll_get_pwm_int_num(hw) ICU_IRQ_PWM
29 #define icu_ll_get_pwm_int_prio(hw) ICU_PRI_IRQ_PWM
30 #define icu_ll_get_pwm_2nd_int_num(hw) ICU_IRQ_PWM
31 #define icu_ll_get_pwm_2nd_int_prio(hw) ICU_PRI_IRQ_PWM
32
33
icu_ll_enable_uart_interrupt(icu_hw_t * hw,uint32_t id)34 static inline void icu_ll_enable_uart_interrupt(icu_hw_t *hw, uint32_t id)
35 {
36 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
37 }
38
icu_ll_disable_uart_interrupt(icu_hw_t * hw,uint32_t id)39 static inline void icu_ll_disable_uart_interrupt(icu_hw_t *hw, uint32_t id)
40 {
41 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
42 }
43
icu_ll_enable_i2c_interrupt(icu_hw_t * hw,uint32_t id)44 static inline void icu_ll_enable_i2c_interrupt(icu_hw_t *hw, uint32_t id)
45 {
46 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
47 }
48
icu_ll_disable_i2c_interrupt(icu_hw_t * hw,uint32_t id)49 static inline void icu_ll_disable_i2c_interrupt(icu_hw_t *hw, uint32_t id)
50 {
51 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
52 }
53
icu_ll_enable_irda_interrupt(icu_hw_t * hw)54 static inline void icu_ll_enable_irda_interrupt(icu_hw_t *hw)
55 {
56 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
57 }
58
icu_ll_disable_irda_interrupt(icu_hw_t * hw)59 static inline void icu_ll_disable_irda_interrupt(icu_hw_t *hw)
60 {
61 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
62 }
63
icu_ll_enable_spi_interrupt(icu_hw_t * hw,uint32_t id)64 static inline void icu_ll_enable_spi_interrupt(icu_hw_t *hw,uint32_t id)
65 {
66 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
67 }
68
icu_ll_disable_spi_interrupt(icu_hw_t * hw,uint32_t id)69 static inline void icu_ll_disable_spi_interrupt(icu_hw_t *hw, uint32_t id)
70 {
71 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
72 }
73
icu_ll_enable_gpio_interrupt(icu_hw_t * hw)74 static inline void icu_ll_enable_gpio_interrupt(icu_hw_t *hw)
75 {
76 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
77 }
78
icu_ll_disable_gpio_interrupt(icu_hw_t * hw)79 static inline void icu_ll_disable_gpio_interrupt(icu_hw_t *hw)
80 {
81 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
82 }
83
icu_ll_enable_timer_interrupt(icu_hw_t * hw)84 static inline void icu_ll_enable_timer_interrupt(icu_hw_t *hw)
85 {
86 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
87 }
88
icu_ll_disable_timer_interrupt(icu_hw_t * hw)89 static inline void icu_ll_disable_timer_interrupt(icu_hw_t *hw)
90 {
91 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
92 }
93
icu_ll_enable_pwm_interrupt(icu_hw_t * hw)94 static inline void icu_ll_enable_pwm_interrupt(icu_hw_t *hw)
95 {
96 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
97 }
98
icu_ll_disable_pwm_interrupt(icu_hw_t * hw)99 static inline void icu_ll_disable_pwm_interrupt(icu_hw_t *hw)
100 {
101 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
102 }
103
icu_ll_enable_saradc_interrupt(icu_hw_t * hw)104 static inline void icu_ll_enable_saradc_interrupt(icu_hw_t *hw)
105 {
106 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
107 }
108
icu_ll_disable_saradc_interrupt(icu_hw_t * hw)109 static inline void icu_ll_disable_saradc_interrupt(icu_hw_t *hw)
110 {
111 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
112 }
113
icu_ll_enable_sdio_interrupt(icu_hw_t * hw)114 static inline void icu_ll_enable_sdio_interrupt(icu_hw_t *hw)
115 {
116 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
117 }
118
icu_ll_disable_sdio_interrupt(icu_hw_t * hw)119 static inline void icu_ll_disable_sdio_interrupt(icu_hw_t *hw)
120 {
121 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
122 }
123
icu_ll_enable_security_interrupt(icu_hw_t * hw)124 static inline void icu_ll_enable_security_interrupt(icu_hw_t *hw)
125 {
126 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
127 }
128
icu_ll_disable_security_interrupt(icu_hw_t * hw)129 static inline void icu_ll_disable_security_interrupt(icu_hw_t *hw)
130 {
131 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
132 }
133
icu_ll_enable_la_interrupt(icu_hw_t * hw)134 static inline void icu_ll_enable_la_interrupt(icu_hw_t *hw)
135 {
136 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
137 }
138
icu_ll_disable_la_interrupt(icu_hw_t * hw)139 static inline void icu_ll_disable_la_interrupt(icu_hw_t *hw)
140 {
141 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
142 }
143
icu_ll_enable_dma_interrupt(icu_hw_t * hw)144 static inline void icu_ll_enable_dma_interrupt(icu_hw_t *hw)
145 {
146 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
147 }
148
icu_ll_disable_dma_interrupt(icu_hw_t * hw)149 static inline void icu_ll_disable_dma_interrupt(icu_hw_t *hw)
150 {
151 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
152 }
153
icu_ll_enable_modem_interrupt(icu_hw_t * hw)154 static inline void icu_ll_enable_modem_interrupt(icu_hw_t *hw)
155 {
156 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
157 }
158
icu_ll_disable_modem_interrupt(icu_hw_t * hw)159 static inline void icu_ll_disable_modem_interrupt(icu_hw_t *hw)
160 {
161 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
162 }
163
icu_ll_enable_mac_txrx_timer_interrupt(icu_hw_t * hw)164 static inline void icu_ll_enable_mac_txrx_timer_interrupt(icu_hw_t *hw)
165 {
166 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
167 }
168
icu_ll_disable_mac_txrx_timer_interrupt(icu_hw_t * hw)169 static inline void icu_ll_disable_mac_txrx_timer_interrupt(icu_hw_t *hw)
170 {
171 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
172 }
173
icu_ll_enable_mac_txrx_misc_interrupt(icu_hw_t * hw)174 static inline void icu_ll_enable_mac_txrx_misc_interrupt(icu_hw_t *hw)
175 {
176 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
177 }
178
icu_ll_disable_mac_txrx_misc_interrupt(icu_hw_t * hw)179 static inline void icu_ll_disable_mac_txrx_misc_interrupt(icu_hw_t *hw)
180 {
181 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
182 }
183
icu_ll_enable_mac_rx_trigger_interrupt(icu_hw_t * hw)184 static inline void icu_ll_enable_mac_rx_trigger_interrupt(icu_hw_t *hw)
185 {
186 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
187 }
188
icu_ll_disable_mac_rx_trigger_interrupt(icu_hw_t * hw)189 static inline void icu_ll_disable_mac_rx_trigger_interrupt(icu_hw_t *hw)
190 {
191 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
192 }
193
194
icu_ll_enable_mac_tx_trigger_interrupt(icu_hw_t * hw)195 static inline void icu_ll_enable_mac_tx_trigger_interrupt(icu_hw_t *hw)
196 {
197 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
198 }
199
icu_ll_disable_mac_tx_trigger_interrupt(icu_hw_t * hw)200 static inline void icu_ll_disable_mac_tx_trigger_interrupt(icu_hw_t *hw)
201 {
202 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
203 }
204
icu_ll_enable_mac_prot_trigger_interrupt(icu_hw_t * hw)205 static inline void icu_ll_enable_mac_prot_trigger_interrupt(icu_hw_t *hw)
206 {
207 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
208 }
209
icu_ll_disable_mac_prot_trigger_interrupt(icu_hw_t * hw)210 static inline void icu_ll_disable_mac_prot_trigger_interrupt(icu_hw_t *hw)
211 {
212 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
213 }
214
icu_ll_enable_mac_general_interrupt(icu_hw_t * hw)215 static inline void icu_ll_enable_mac_general_interrupt(icu_hw_t *hw)
216 {
217 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
218 }
219
icu_ll_disable_mac_general_interrupt(icu_hw_t * hw)220 static inline void icu_ll_disable_mac_general_interrupt(icu_hw_t *hw)
221 {
222 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
223 }
224
icu_ll_enable_mac_wakeup_interrupt(icu_hw_t * hw)225 static inline void icu_ll_enable_mac_wakeup_interrupt(icu_hw_t *hw)
226 {
227 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
228 }
229
icu_ll_disable_mac_wakeup_interrupt(icu_hw_t * hw)230 static inline void icu_ll_disable_mac_wakeup_interrupt(icu_hw_t *hw)
231 {
232 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
233 }
234
icu_ll_enable_pll_unlock_interrupt(icu_hw_t * hw)235 static inline void icu_ll_enable_pll_unlock_interrupt(icu_hw_t *hw)
236 {
237 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
238 }
239
icu_ll_disable_pll_unlock_interrupt(icu_hw_t * hw)240 static inline void icu_ll_disable_pll_unlock_interrupt(icu_hw_t *hw)
241 {
242 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
243 }
244
icu_ll_enable_btdm_interrupt(icu_hw_t * hw)245 static inline void icu_ll_enable_btdm_interrupt(icu_hw_t *hw)
246 {
247 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
248 }
249
icu_ll_disable_btdm_interrupt(icu_hw_t * hw)250 static inline void icu_ll_disable_btdm_interrupt(icu_hw_t *hw)
251 {
252 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
253 }
254
icu_ll_enable_ble_interrupt(icu_hw_t * hw)255 static inline void icu_ll_enable_ble_interrupt(icu_hw_t *hw)
256 {
257 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
258 }
259
icu_ll_disable_ble_interrupt(icu_hw_t * hw)260 static inline void icu_ll_disable_ble_interrupt(icu_hw_t *hw)
261 {
262 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
263 }
264
icu_ll_enable_bt_interrupt(icu_hw_t * hw)265 static inline void icu_ll_enable_bt_interrupt(icu_hw_t *hw)
266 {
267 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
268 }
269
icu_ll_disable_bt_interrupt(icu_hw_t * hw)270 static inline void icu_ll_disable_bt_interrupt(icu_hw_t *hw)
271 {
272 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
273 }
274
icu_ll_enable_fiq(icu_hw_t * hw)275 static inline void icu_ll_enable_fiq(icu_hw_t *hw)
276 {
277 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
278 }
279
icu_ll_disable_fiq(icu_hw_t * hw)280 static inline void icu_ll_disable_fiq(icu_hw_t *hw)
281 {
282 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
283 }
284
icu_ll_enable_irq(icu_hw_t * hw)285 static inline void icu_ll_enable_irq(icu_hw_t *hw)
286 {
287 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
288 }
289
icu_ll_disable_irq(icu_hw_t * hw)290 static inline void icu_ll_disable_irq(icu_hw_t *hw)
291 {
292 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
293 }
294
icu_ll_get_int_status(icu_hw_t * hw)295 static inline uint32_t icu_ll_get_int_status(icu_hw_t *hw)
296 {
297 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
298 return 0;
299 }
300
icu_ll_clear_int_status(icu_hw_t * hw,uint32_t clr_status)301 static inline void icu_ll_clear_int_status(icu_hw_t *hw, uint32_t clr_status)
302 {
303 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
304 }
305
icu_ll_get_fiq_int_status(icu_hw_t * hw)306 static inline uint32_t icu_ll_get_fiq_int_status(icu_hw_t *hw)
307 {
308 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
309 return 0;
310 }
311
icu_ll_clear_fiq_int_status(icu_hw_t * hw,uint32_t clr_status)312 static inline void icu_ll_clear_fiq_int_status(icu_hw_t *hw, uint32_t clr_status)
313 {
314 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
315 }
316
icu_ll_get_irq_int_status(icu_hw_t * hw)317 static inline uint32_t icu_ll_get_irq_int_status(icu_hw_t *hw)
318 {
319 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
320 return 0;
321 }
322
icu_ll_clear_irq_int_status(icu_hw_t * hw,uint32_t clr_status)323 static inline void icu_ll_clear_irq_int_status(icu_hw_t *hw, uint32_t clr_status)
324 {
325 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
326 }
327
icu_ll_get_uart_int_status(icu_hw_t * hw)328 static inline uint32_t icu_ll_get_uart_int_status(icu_hw_t *hw)
329 {
330 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
331 return 0;
332 }
333
icu_ll_disable_all_interrupt(icu_hw_t * hw)334 static inline void icu_ll_disable_all_interrupt(icu_hw_t *hw)
335 {
336 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
337 }
338
icu_ll_enable_interrupt(icu_hw_t * hw,uint32_t index)339 static inline void icu_ll_enable_interrupt(icu_hw_t *hw, uint32_t index)
340 {
341 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
342 }
343
icu_ll_disable_interrupt(icu_hw_t * hw,uint32_t index)344 static inline void icu_ll_disable_interrupt(icu_hw_t *hw, uint32_t index)
345 {
346 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
347 }
348
349
350 //set arm wakeup type
icu_ll_enable_arm_wakeup(icu_hw_t * hw,uint32_t index)351 static inline void icu_ll_enable_arm_wakeup(icu_hw_t *hw, uint32_t index)
352 {
353 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
354 }
355
icu_ll_disable_arm_wakeup(icu_hw_t * hw,uint32_t index)356 static inline void icu_ll_disable_arm_wakeup(icu_hw_t *hw, uint32_t index)
357 {
358 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
359 }
360
icu_ll_enable_uart_arm_wakeup(icu_hw_t * hw,uint32_t id)361 static inline void icu_ll_enable_uart_arm_wakeup(icu_hw_t *hw, uint32_t id)
362 {
363 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
364 }
365
icu_ll_disable_uart_arm_wakeup(icu_hw_t * hw,uint32_t id)366 static inline void icu_ll_disable_uart_arm_wakeup(icu_hw_t *hw, uint32_t id)
367 {
368 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
369 }
370
icu_ll_enable_i2c_arm_wakeup(icu_hw_t * hw,uint32_t id)371 static inline void icu_ll_enable_i2c_arm_wakeup(icu_hw_t *hw, uint32_t id)
372 {
373 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
374 }
375
icu_ll_disable_i2c_arm_wakeup(icu_hw_t * hw,uint32_t id)376 static inline void icu_ll_disable_i2c_arm_wakeup(icu_hw_t *hw, uint32_t id)
377 {
378 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
379 }
380
icu_ll_enable_irda_arm_wakeup(icu_hw_t * hw)381 static inline void icu_ll_enable_irda_arm_wakeup(icu_hw_t *hw)
382 {
383 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
384 }
385
icu_ll_disable_irda_arm_wakeup(icu_hw_t * hw)386 static inline void icu_ll_disable_irda_arm_wakeup(icu_hw_t *hw)
387 {
388 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
389 }
390
icu_ll_enable_i2s_arm_wakeup(icu_hw_t * hw)391 static inline void icu_ll_enable_i2s_arm_wakeup(icu_hw_t *hw)
392 {
393 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
394 }
395
icu_ll_disable_i2s_arm_wakeup(icu_hw_t * hw)396 static inline void icu_ll_disable_i2s_arm_wakeup(icu_hw_t *hw)
397 {
398 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
399 }
400
icu_ll_enable_spi_arm_wakeup(icu_hw_t * hw,uint32_t id)401 static inline void icu_ll_enable_spi_arm_wakeup(icu_hw_t *hw, uint32_t id)
402 {
403 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
404 }
405
icu_ll_disable_spi_arm_wakeup(icu_hw_t * hw,uint32_t id)406 static inline void icu_ll_disable_spi_arm_wakeup(icu_hw_t *hw, uint32_t id)
407 {
408 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
409 }
410
icu_ll_enable_gpio_arm_wakeup(icu_hw_t * hw)411 static inline void icu_ll_enable_gpio_arm_wakeup(icu_hw_t *hw)
412 {
413 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
414 }
415
icu_ll_disable_gpio_arm_wakeup(icu_hw_t * hw)416 static inline void icu_ll_disable_gpio_arm_wakeup(icu_hw_t *hw)
417 {
418 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
419 }
420
icu_ll_enable_timer_arm_wakeup(icu_hw_t * hw)421 static inline void icu_ll_enable_timer_arm_wakeup(icu_hw_t *hw)
422 {
423 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
424 }
425
icu_ll_disable_timer_arm_wakeup(icu_hw_t * hw)426 static inline void icu_ll_disable_timer_arm_wakeup(icu_hw_t *hw)
427 {
428 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
429 }
430
icu_ll_enable_pwm_arm_wakeup(icu_hw_t * hw)431 static inline void icu_ll_enable_pwm_arm_wakeup(icu_hw_t *hw)
432 {
433 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
434 }
435
icu_ll_disable_pwm_arm_wakeup(icu_hw_t * hw)436 static inline void icu_ll_disable_pwm_arm_wakeup(icu_hw_t *hw)
437 {
438 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
439 }
440
icu_ll_enable_audio_arm_wakeup(icu_hw_t * hw)441 static inline void icu_ll_enable_audio_arm_wakeup(icu_hw_t *hw)
442 {
443 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
444 }
445
icu_ll_disable_audio_arm_wakeup(icu_hw_t * hw)446 static inline void icu_ll_disable_audio_arm_wakeup(icu_hw_t *hw)
447 {
448 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
449 }
450
icu_ll_enable_saradc_arm_wakeup(icu_hw_t * hw)451 static inline void icu_ll_enable_saradc_arm_wakeup(icu_hw_t *hw)
452 {
453 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
454 }
455
icu_ll_disable_saradc_arm_wakeup(icu_hw_t * hw)456 static inline void icu_ll_disable_saradc_arm_wakeup(icu_hw_t *hw)
457 {
458 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
459 }
460
icu_ll_enable_sdio_arm_wakeup(icu_hw_t * hw)461 static inline void icu_ll_enable_sdio_arm_wakeup(icu_hw_t *hw)
462 {
463 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
464 }
465
icu_ll_disable_sdio_arm_wakeup(icu_hw_t * hw)466 static inline void icu_ll_disable_sdio_arm_wakeup(icu_hw_t *hw)
467 {
468 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
469 }
470
icu_ll_enable_la_arm_wakeup(icu_hw_t * hw)471 static inline void icu_ll_enable_la_arm_wakeup(icu_hw_t *hw)
472 {
473 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
474 }
475
icu_ll_disable_la_arm_wakeup(icu_hw_t * hw)476 static inline void icu_ll_disable_la_arm_wakeup(icu_hw_t *hw)
477 {
478 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
479 }
480
icu_ll_enable_usb_arm_wakeup(icu_hw_t * hw,uint32_t id)481 static inline void icu_ll_enable_usb_arm_wakeup(icu_hw_t *hw, uint32_t id)
482 {
483 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
484 }
485
icu_ll_disable_usb_arm_wakeup(icu_hw_t * hw,uint32_t id)486 static inline void icu_ll_disable_usb_arm_wakeup(icu_hw_t *hw, uint32_t id)
487 {
488 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
489 }
490
icu_ll_enable_fft_arm_wakeup(icu_hw_t * hw)491 static inline void icu_ll_enable_fft_arm_wakeup(icu_hw_t *hw)
492 {
493 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
494 }
495
icu_ll_disable_fft_arm_wakeup(icu_hw_t * hw)496 static inline void icu_ll_disable_fft_arm_wakeup(icu_hw_t *hw)
497 {
498 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
499 }
500
icu_ll_enable_dma_arm_wakeup(icu_hw_t * hw)501 static inline void icu_ll_enable_dma_arm_wakeup(icu_hw_t *hw)
502 {
503 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
504 }
505
icu_ll_disable_dma_arm_wakeup(icu_hw_t * hw)506 static inline void icu_ll_disable_dma_arm_wakeup(icu_hw_t *hw)
507 {
508 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
509 }
510
icu_ll_enable_modem_arm_wakeup(icu_hw_t * hw)511 static inline void icu_ll_enable_modem_arm_wakeup(icu_hw_t *hw)
512 {
513 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
514 }
515
icu_ll_disable_modem_arm_wakeup(icu_hw_t * hw)516 static inline void icu_ll_disable_modem_arm_wakeup(icu_hw_t *hw)
517 {
518 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
519 }
520
icu_ll_enable_mac_txrx_timer_arm_wakeup(icu_hw_t * hw)521 static inline void icu_ll_enable_mac_txrx_timer_arm_wakeup(icu_hw_t *hw)
522 {
523 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
524 }
525
icu_ll_disable_mac_txrx_timer_arm_wakeup(icu_hw_t * hw)526 static inline void icu_ll_disable_mac_txrx_timer_arm_wakeup(icu_hw_t *hw)
527 {
528 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
529 }
530
icu_ll_enable_mac_txrx_misc_arm_wakeup(icu_hw_t * hw)531 static inline void icu_ll_enable_mac_txrx_misc_arm_wakeup(icu_hw_t *hw)
532 {
533 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
534 }
535
icu_ll_disable_mac_txrx_misc_arm_wakeup(icu_hw_t * hw)536 static inline void icu_ll_disable_mac_txrx_misc_arm_wakeup(icu_hw_t *hw)
537 {
538 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
539 }
540
icu_ll_enable_mac_rx_trigger_arm_wakeup(icu_hw_t * hw)541 static inline void icu_ll_enable_mac_rx_trigger_arm_wakeup(icu_hw_t *hw)
542 {
543 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
544 }
545
icu_ll_disable_mac_rx_trigger_arm_wakeup(icu_hw_t * hw)546 static inline void icu_ll_disable_mac_rx_trigger_arm_wakeup(icu_hw_t *hw)
547 {
548 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
549 }
550
icu_ll_enable_mac_tx_trigger_arm_wakeup(icu_hw_t * hw)551 static inline void icu_ll_enable_mac_tx_trigger_arm_wakeup(icu_hw_t *hw)
552 {
553 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
554 }
555
icu_ll_disable_mac_tx_trigger_arm_wakeup(icu_hw_t * hw)556 static inline void icu_ll_disable_mac_tx_trigger_arm_wakeup(icu_hw_t *hw)
557 {
558 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
559 }
560
icu_ll_enable_mac_prot_trigger_arm_wakeup(icu_hw_t * hw)561 static inline void icu_ll_enable_mac_prot_trigger_arm_wakeup(icu_hw_t *hw)
562 {
563 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
564 }
565
icu_ll_disable_mac_prot_trigger_arm_wakeup(icu_hw_t * hw)566 static inline void icu_ll_disable_mac_prot_trigger_arm_wakeup(icu_hw_t *hw)
567 {
568 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
569 }
570
icu_ll_enable_mac_general_arm_wakeup(icu_hw_t * hw)571 static inline void icu_ll_enable_mac_general_arm_wakeup(icu_hw_t *hw)
572 {
573 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
574 }
575
icu_ll_disable_mac_general_arm_wakeup(icu_hw_t * hw)576 static inline void icu_ll_disable_mac_general_arm_wakeup(icu_hw_t *hw)
577 {
578 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
579 }
580
icu_ll_enable_sdio_dma_arm_wakeup(icu_hw_t * hw)581 static inline void icu_ll_enable_sdio_dma_arm_wakeup(icu_hw_t *hw)
582 {
583 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
584 }
585
icu_ll_disable_sdio_dma_arm_wakeup(icu_hw_t * hw)586 static inline void icu_ll_disable_sdio_dma_arm_wakeup(icu_hw_t *hw)
587 {
588 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
589 }
590
icu_ll_enable_usb_plug_arm_wakeup(icu_hw_t * hw)591 static inline void icu_ll_enable_usb_plug_arm_wakeup(icu_hw_t *hw)
592 {
593 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
594 }
595
icu_ll_disable_usb_plug_arm_wakeup(icu_hw_t * hw)596 static inline void icu_ll_disable_usb_plug_arm_wakeup(icu_hw_t *hw)
597 {
598 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
599 }
600
icu_ll_enable_security_arm_wakeup(icu_hw_t * hw)601 static inline void icu_ll_enable_security_arm_wakeup(icu_hw_t *hw)
602 {
603 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
604 }
605
icu_ll_disable_security_arm_wakeup(icu_hw_t * hw)606 static inline void icu_ll_disable_security_arm_wakeup(icu_hw_t *hw)
607 {
608 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
609 }
610
icu_ll_enable_mac_arm_wakeup(icu_hw_t * hw)611 static inline void icu_ll_enable_mac_arm_wakeup(icu_hw_t *hw)
612 {
613 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
614 }
615
icu_ll_disable_mac_arm_wakeup(icu_hw_t * hw)616 static inline void icu_ll_disable_mac_arm_wakeup(icu_hw_t *hw)
617 {
618 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
619 }
620
icu_ll_enable_hsspi_slave_arm_wakeup(icu_hw_t * hw)621 static inline void icu_ll_enable_hsspi_slave_arm_wakeup(icu_hw_t *hw)
622 {
623 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
624 }
625
icu_ll_disable_hsspi_slave_arm_wakeup(icu_hw_t * hw)626 static inline void icu_ll_disable_hsspi_slave_arm_wakeup(icu_hw_t *hw)
627 {
628 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
629 }
630
icu_ll_enable_jpeg_arm_wakeup(icu_hw_t * hw)631 static inline void icu_ll_enable_jpeg_arm_wakeup(icu_hw_t *hw)
632 {
633 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
634 }
635
icu_ll_disable_jpeg_arm_wakeup(icu_hw_t * hw)636 static inline void icu_ll_disable_jpeg_arm_wakeup(icu_hw_t *hw)
637 {
638 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
639 }
640
icu_ll_enable_pll_unlock_arm_wakeup(icu_hw_t * hw)641 static inline void icu_ll_enable_pll_unlock_arm_wakeup(icu_hw_t *hw)
642 {
643 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
644 }
645
icu_ll_disable_pll_unlock_arm_wakeup(icu_hw_t * hw)646 static inline void icu_ll_disable_pll_unlock_arm_wakeup(icu_hw_t *hw)
647 {
648 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
649 }
650
icu_ll_enable_btdm_arm_wakeup(icu_hw_t * hw)651 static inline void icu_ll_enable_btdm_arm_wakeup(icu_hw_t *hw)
652 {
653 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
654 }
655
icu_ll_disable_btdm_arm_wakeup(icu_hw_t * hw)656 static inline void icu_ll_disable_btdm_arm_wakeup(icu_hw_t *hw)
657 {
658 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
659 }
660
icu_ll_enable_ble_arm_wakeup(icu_hw_t * hw)661 static inline void icu_ll_enable_ble_arm_wakeup(icu_hw_t *hw)
662 {
663 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
664 }
665
icu_ll_disable_ble_arm_wakeup(icu_hw_t * hw)666 static inline void icu_ll_disable_ble_arm_wakeup(icu_hw_t *hw)
667 {
668 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
669 }
670
icu_ll_enable_bt_arm_wakeup(icu_hw_t * hw)671 static inline void icu_ll_enable_bt_arm_wakeup(icu_hw_t *hw)
672 {
673 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
674 }
675
icu_ll_disable_bt_arm_wakeup(icu_hw_t * hw)676 static inline void icu_ll_disable_bt_arm_wakeup(icu_hw_t *hw)
677 {
678 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
679 }
680
icu_ll_enable_psram_arm_wakeup(icu_hw_t * hw)681 static inline void icu_ll_enable_psram_arm_wakeup(icu_hw_t *hw)
682 {
683 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
684 }
685
icu_ll_disable_psram_arm_wakeup(icu_hw_t * hw)686 static inline void icu_ll_disable_psram_arm_wakeup(icu_hw_t *hw)
687 {
688 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
689 }
690
icu_ll_set_jtag_wr_arm(icu_hw_t * hw)691 static inline void icu_ll_set_jtag_wr_arm(icu_hw_t *hw)
692 {
693 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
694 }
695
icu_ll_set_jtag_wr_tl410(icu_hw_t * hw)696 static inline void icu_ll_set_jtag_wr_tl410(icu_hw_t *hw)
697 {
698 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
699 }
700
icu_ll_set_jtag_rd_arm(icu_hw_t * hw)701 static inline void icu_ll_set_jtag_rd_arm(icu_hw_t *hw)
702 {
703 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
704 }
705
icu_ll_set_jtag_rd_tl410(icu_hw_t * hw)706 static inline void icu_ll_set_jtag_rd_tl410(icu_hw_t *hw)
707 {
708 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
709 }
710
711
icu_ll_enable_i2s_interrupt(icu_hw_t * hw)712 static inline void icu_ll_enable_i2s_interrupt(icu_hw_t *hw)
713 {
714 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
715 }
716
icu_ll_disable_i2s_interrupt(icu_hw_t * hw)717 static inline void icu_ll_disable_i2s_interrupt(icu_hw_t *hw)
718 {
719 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
720 }
icu_ll_enable_audio_interrupt(icu_hw_t * hw)721 static inline void icu_ll_enable_audio_interrupt(icu_hw_t *hw)
722 {
723 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
724 }
725
icu_ll_disable_audio_interrupt(icu_hw_t * hw)726 static inline void icu_ll_disable_audio_interrupt(icu_hw_t *hw)
727 {
728 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
729 }
730
icu_ll_enable_usb_interrupt(icu_hw_t * hw,uint32_t id)731 static inline void icu_ll_enable_usb_interrupt(icu_hw_t *hw, uint32_t id)
732 {
733 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
734 }
735
icu_ll_disable_usb_interrupt(icu_hw_t * hw,uint32_t id)736 static inline void icu_ll_disable_usb_interrupt(icu_hw_t *hw, uint32_t id)
737 {
738 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
739 }
740
icu_ll_enable_fft_interrupt(icu_hw_t * hw)741 static inline void icu_ll_enable_fft_interrupt(icu_hw_t *hw)
742 {
743 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
744 }
745
icu_ll_disable_fft_interrupt(icu_hw_t * hw)746 static inline void icu_ll_disable_fft_interrupt(icu_hw_t *hw)
747 {
748 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
749 }
750
icu_ll_enable_sdio_dma_interrupt(icu_hw_t * hw)751 static inline void icu_ll_enable_sdio_dma_interrupt(icu_hw_t *hw)
752 {
753 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
754 }
755
icu_ll_disable_sdio_dma_interrupt(icu_hw_t * hw)756 static inline void icu_ll_disable_sdio_dma_interrupt(icu_hw_t *hw)
757 {
758 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
759 }
760
icu_ll_enable_usb_plug_interrupt(icu_hw_t * hw)761 static inline void icu_ll_enable_usb_plug_interrupt(icu_hw_t *hw)
762 {
763 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
764 }
765
icu_ll_disable_usb_plug_interrupt(icu_hw_t * hw)766 static inline void icu_ll_disable_usb_plug_interrupt(icu_hw_t *hw)
767 {
768 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
769 }
770
icu_ll_enable_hsspi_slave_interrupt(icu_hw_t * hw)771 static inline void icu_ll_enable_hsspi_slave_interrupt(icu_hw_t *hw)
772 {
773 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
774 }
775
icu_ll_disable_hsspi_slave_interrupt(icu_hw_t * hw)776 static inline void icu_ll_disable_hsspi_slave_interrupt(icu_hw_t *hw)
777 {
778 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
779 }
icu_ll_enable_jpeg_interrupt(icu_hw_t * hw)780 static inline void icu_ll_enable_jpeg_interrupt(icu_hw_t *hw)
781 {
782 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
783 }
784
icu_ll_disable_jpeg_interrupt(icu_hw_t * hw)785 static inline void icu_ll_disable_jpeg_interrupt(icu_hw_t *hw)
786 {
787 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
788 }
icu_ll_enable_psram_interrupt(icu_hw_t * hw)789 static inline void icu_ll_enable_psram_interrupt(icu_hw_t *hw)
790 {
791 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
792 }
icu_ll_disable_psram_interrupt(icu_hw_t * hw)793 static inline void icu_ll_disable_psram_interrupt(icu_hw_t *hw)
794 {
795 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
796 }
797
icu_ll_enable_mailbox_dsp_interrupt(icu_hw_t * hw)798 static inline void icu_ll_enable_mailbox_dsp_interrupt(icu_hw_t *hw)
799 {
800 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
801 }
icu_ll_disable_mailbox_dsp_interrupt(icu_hw_t * hw)802 static inline void icu_ll_disable_mailbox_dsp_interrupt(icu_hw_t *hw)
803 {
804 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
805 }
806
icu_ll_enable_mailbox_bt_interrupt(icu_hw_t * hw)807 static inline void icu_ll_enable_mailbox_bt_interrupt(icu_hw_t *hw)
808 {
809 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
810 }
icu_ll_disable_mailbox_bt_interrupt(icu_hw_t * hw)811 static inline void icu_ll_disable_mailbox_bt_interrupt(icu_hw_t *hw)
812 {
813 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
814 }
815
icu_ll_enable_cec_interrupt(icu_hw_t * hw)816 static inline void icu_ll_enable_cec_interrupt(icu_hw_t *hw)
817 {
818 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
819 }
icu_ll_disable_cec_interrupt(icu_hw_t * hw)820 static inline void icu_ll_disable_cec_interrupt(icu_hw_t *hw)
821 {
822 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
823 }
824
icu_ll_enable_touch_interrupt(icu_hw_t * hw)825 static inline void icu_ll_enable_touch_interrupt(icu_hw_t *hw)
826 {
827 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
828 }
icu_ll_disable_touch_interrupt(icu_hw_t * hw)829 static inline void icu_ll_disable_touch_interrupt(icu_hw_t *hw)
830 {
831 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
832 }
833
icu_ll_enable_rtc_interrupt(icu_hw_t * hw)834 static inline void icu_ll_enable_rtc_interrupt(icu_hw_t *hw)
835 {
836 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
837 }
icu_ll_disable_rtc_interrupt(icu_hw_t * hw)838 static inline void icu_ll_disable_rtc_interrupt(icu_hw_t *hw)
839 {
840 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
841 }
842
icu_ll_enable_dsp_wdt_interrupt(icu_hw_t * hw)843 static inline void icu_ll_enable_dsp_wdt_interrupt(icu_hw_t *hw)
844 {
845 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
846 }
icu_ll_disable_dsp_wdt_interrupt(icu_hw_t * hw)847 static inline void icu_ll_disable_dsp_wdt_interrupt(icu_hw_t *hw)
848 {
849 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
850 }
851
icu_ll_enable_bt_wdt_interrupt(icu_hw_t * hw)852 static inline void icu_ll_enable_bt_wdt_interrupt(icu_hw_t *hw)
853 {
854 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
855 }
icu_ll_disable_bt_wdt_interrupt(icu_hw_t * hw)856 static inline void icu_ll_disable_bt_wdt_interrupt(icu_hw_t *hw)
857 {
858 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
859 }
icu_ll_enable_pwm2_interrupt(icu_hw_t * hw)860 static inline void icu_ll_enable_pwm2_interrupt(icu_hw_t *hw)
861 {
862 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
863 }
icu_ll_disable_pwm2_interrupt(icu_hw_t * hw)864 static inline void icu_ll_disable_pwm2_interrupt(icu_hw_t *hw)
865 {
866 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
867 }
868
icu_ll_enable_mailbox_dsp_arm_wakeup(icu_hw_t * hw)869 static inline void icu_ll_enable_mailbox_dsp_arm_wakeup(icu_hw_t *hw)
870 {
871 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
872 }
icu_ll_disable_mailbox_dsp_arm_wakeup(icu_hw_t * hw)873 static inline void icu_ll_disable_mailbox_dsp_arm_wakeup(icu_hw_t *hw)
874 {
875 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
876 }
877
icu_ll_enable_mailbox_bt_arm_wakeup(icu_hw_t * hw)878 static inline void icu_ll_enable_mailbox_bt_arm_wakeup(icu_hw_t *hw)
879 {
880 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
881 }
icu_ll_disable_mailbox_bt_arm_wakeup(icu_hw_t * hw)882 static inline void icu_ll_disable_mailbox_bt_arm_wakeup(icu_hw_t *hw)
883 {
884 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
885 }
886
icu_ll_enable_cec_arm_wakeup(icu_hw_t * hw)887 static inline void icu_ll_enable_cec_arm_wakeup(icu_hw_t *hw)
888 {
889 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
890 }
icu_ll_disable_cec_arm_wakeup(icu_hw_t * hw)891 static inline void icu_ll_disable_cec_arm_wakeup(icu_hw_t *hw)
892 {
893 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
894 }
895
icu_ll_enable_touch_arm_wakeup(icu_hw_t * hw)896 static inline void icu_ll_enable_touch_arm_wakeup(icu_hw_t *hw)
897 {
898 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
899 }
icu_ll_disable_touch_arm_wakeup(icu_hw_t * hw)900 static inline void icu_ll_disable_touch_arm_wakeup(icu_hw_t *hw)
901 {
902 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
903 }
904
icu_ll_enable_rtc_arm_wakeup(icu_hw_t * hw)905 static inline void icu_ll_enable_rtc_arm_wakeup(icu_hw_t *hw)
906 {
907 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
908 }
icu_ll_disable_rtc_arm_wakeup(icu_hw_t * hw)909 static inline void icu_ll_disable_rtc_arm_wakeup(icu_hw_t *hw)
910 {
911 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
912 }
913
icu_ll_enable_dsp_wdt_arm_wakeup(icu_hw_t * hw)914 static inline void icu_ll_enable_dsp_wdt_arm_wakeup(icu_hw_t *hw)
915 {
916 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
917 }
icu_ll_disable_dsp_wdt_arm_wakeup(icu_hw_t * hw)918 static inline void icu_ll_disable_dsp_wdt_arm_wakeup(icu_hw_t *hw)
919 {
920 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
921 }
922
icu_ll_enable_bt_wdt_arm_wakeup(icu_hw_t * hw)923 static inline void icu_ll_enable_bt_wdt_arm_wakeup(icu_hw_t *hw)
924 {
925 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
926 }
icu_ll_disable_bt_wdt_arm_wakeup(icu_hw_t * hw)927 static inline void icu_ll_disable_bt_wdt_arm_wakeup(icu_hw_t *hw)
928 {
929 os_printf("Should NOT call ICU Interface on BK7256 in function:%s, line:%d\n", __FUNCTION__, __LINE__);
930 }
931
932
933 #ifdef __cplusplus
934 }
935 #endif
936
937