Line data Source code
1 0 : /* 2 : * Copyright (c) 2023 Ambiq Micro Inc. 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : #ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_CLOCK_CONTROL_AMBIQ_H_ 8 : #define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_CLOCK_CONTROL_AMBIQ_H_ 9 : 10 : #ifdef __cplusplus 11 : extern "C" { 12 : #endif 13 : 14 : /** @brief Clocks handled by the CLOCK peripheral. 15 : * 16 : * Enum shall be used as a sys argument in clock_control API. 17 : */ 18 0 : enum clock_control_ambiq_type { 19 : CLOCK_CONTROL_AMBIQ_TYPE_HFXTAL_BLE, 20 : CLOCK_CONTROL_AMBIQ_TYPE_HFXTAL_USB, 21 : CLOCK_CONTROL_AMBIQ_TYPE_HFXTAL_ADC, 22 : CLOCK_CONTROL_AMBIQ_TYPE_HFXTAL_AUADC, 23 : CLOCK_CONTROL_AMBIQ_TYPE_HCXTAL_DBGCTRL, 24 : CLOCK_CONTROL_AMBIQ_TYPE_HCXTAL_CLKGEN_MISC, 25 : CLOCK_CONTROL_AMBIQ_TYPE_HCXTAL_CLKGEN_CLKOUT, 26 : CLOCK_CONTROL_AMBIQ_TYPE_HCXTAL_PDM, 27 : CLOCK_CONTROL_AMBIQ_TYPE_HCXTAL_IIS, 28 : CLOCK_CONTROL_AMBIQ_TYPE_HCXTAL_IOM, 29 : CLOCK_CONTROL_AMBIQ_TYPE_LFXTAL, 30 : CLOCK_CONTROL_AMBIQ_TYPE_MAX 31 : }; 32 : 33 : #ifdef __cplusplus 34 : } 35 : #endif 36 : 37 : #endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_CLOCK_CONTROL_AMBIQ_H_ */