Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
smartbond_clock_control.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Renesas Electronics Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
14#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
15
16#include <zephyr/device.h>
18
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
44
46
53int z_smartbond_select_sys_clk(enum smartbond_clock sys_clk);
54
61int z_smartbond_select_lp_clk(enum smartbond_clock lp_clk);
62
64
65#ifdef __cplusplus
66}
67#endif
68
70
71#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_ */
Main header file for clock control driver API.
smartbond_clock
SmartBond oscillators and clocks.
Definition smartbond_clock_control.h:30
@ SMARTBOND_CLK_RC32K
32 kHz RC oscillator.
Definition smartbond_clock_control.h:32
@ SMARTBOND_CLK_PLL96M
96 MHz PLL.
Definition smartbond_clock_control.h:37
@ SMARTBOND_CLK_DIVN_32M
Divided 32 MHz clock.
Definition smartbond_clock_control.h:39
@ SMARTBOND_CLK_XTAL32M
32 MHz crystal oscillator.
Definition smartbond_clock_control.h:36
@ SMARTBOND_CLK_USB
USB clock.
Definition smartbond_clock_control.h:38
@ SMARTBOND_CLK_RC32M
32 MHz RC oscillator.
Definition smartbond_clock_control.h:35
@ SMARTBOND_CLK_LP_CLK
Low-power clock.
Definition smartbond_clock_control.h:41
@ SMARTBOND_CLK_NONE
Not a clock; used for the error case only.
Definition smartbond_clock_control.h:31
@ SMARTBOND_CLK_RCX
RCX low-power oscillator.
Definition smartbond_clock_control.h:33
@ SMARTBOND_CLK_SYS_CLK
System clock.
Definition smartbond_clock_control.h:42
@ SMARTBOND_CLK_XTAL32K
32 kHz crystal oscillator.
Definition smartbond_clock_control.h:34
@ SMARTBOND_CLK_HCLK
AHB clock.
Definition smartbond_clock_control.h:40