1 /* 2 * Copyright (c) 2023 Bjarki Arge Andreasen 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 #ifndef _ATMEL_SAM_SOC_SUPC_H_ 7 #define _ATMEL_SAM_SOC_SUPC_H_ 8 9 #include <zephyr/types.h> 10 11 /** 12 * @brief Enable the clock of specified peripheral module. 13 */ 14 void soc_supc_core_voltage_regulator_off(void); 15 16 /** 17 * @brief Switch slow clock source to external crystal oscillator 18 */ 19 void soc_supc_slow_clock_select_crystal_osc(void); 20 21 /** 22 * @brief Enable wakeup source 23 */ 24 void soc_supc_enable_wakeup_source(uint32_t wakeup_source_id); 25 26 #endif /* _ATMEL_SAM_SOC_SUPC_H_ */ 27