Zephyr API Documentation  3.6.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
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 */
34};
35
42int z_smartbond_select_sys_clk(enum smartbond_clock sys_clk);
43
50int z_smartbond_select_lp_clk(enum smartbond_clock lp_clk);
51
52#ifdef __cplusplus
53}
54#endif
55
56#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:30
@ SMARTBOND_CLK_XTAL32M
Definition: smartbond_clock_control.h:28
@ SMARTBOND_CLK_RC32M
Definition: smartbond_clock_control.h:27
@ SMARTBOND_CLK_LP_CLK
Definition: smartbond_clock_control.h:32
@ 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:33
@ SMARTBOND_CLK_XTAL32K
Definition: smartbond_clock_control.h:26
@ SMARTBOND_CLK_HCLK
Definition: smartbond_clock_control.h:31