1 /* 2 * Copyright 2022-2023 NXP 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 #ifndef _SOC__H_ 7 #define _SOC__H_ 8 9 #ifndef _ASMLANGUAGE 10 #include <zephyr/sys/util.h> 11 #include <fsl_common.h> 12 #include "fsl_power.h" 13 14 /* Add include for DTS generated information */ 15 #include <zephyr/devicetree.h> 16 17 #endif /* !_ASMLANGUAGE */ 18 19 #define nbu_handler BLE_MCI_WAKEUP0_DriverIRQHandler 20 #define nbu_wakeup_done_handler BLE_MCI_WAKEUP_DONE0_DriverIRQHandler 21 22 /* Wrapper Function to deal with SDK differences in power API */ EnableDeepSleepIRQ(IRQn_Type irq)23static inline void EnableDeepSleepIRQ(IRQn_Type irq) 24 { 25 POWER_EnableWakeup(irq); 26 } 27 28 #ifdef CONFIG_MEMC 29 int flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate); 30 #endif 31 32 #endif /* _SOC__H_ */ 33