Zephyr API Documentation  3.7.0
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
7#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
8#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
9
10#include <zephyr/device.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
22 /* Not a clock, used for error case only */
35};
36
43int z_smartbond_select_sys_clk(enum smartbond_clock sys_clk);
44
51int z_smartbond_select_lp_clk(enum smartbond_clock lp_clk);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_ */
Public Clock Control APIs.
smartbond_clock
Smartbond clocks.
Definition: smartbond_clock_control.h:21
@ SMARTBOND_CLK_RC32K
Definition: smartbond_clock_control.h:24
@ SMARTBOND_CLK_PLL96M
Definition: smartbond_clock_control.h:29
@ SMARTBOND_CLK_DIVN_32M
Definition: smartbond_clock_control.h:31
@ SMARTBOND_CLK_XTAL32M
Definition: smartbond_clock_control.h:28
@ SMARTBOND_CLK_USB
Definition: smartbond_clock_control.h:30
@ SMARTBOND_CLK_RC32M
Definition: smartbond_clock_control.h:27
@ SMARTBOND_CLK_LP_CLK
Definition: smartbond_clock_control.h:33
@ SMARTBOND_CLK_NONE
Definition: smartbond_clock_control.h:23
@ SMARTBOND_CLK_RCX
Definition: smartbond_clock_control.h:25
@ SMARTBOND_CLK_SYS_CLK
Definition: smartbond_clock_control.h:34
@ SMARTBOND_CLK_XTAL32K
Definition: smartbond_clock_control.h:26
@ SMARTBOND_CLK_HCLK
Definition: smartbond_clock_control.h:32