Branch data Line data Source code
1 : : /*
2 : : * Copyright (c) 2015 Wind River Systems, Inc.
3 : : *
4 : : * SPDX-License-Identifier: Apache-2.0
5 : : */
6 : :
7 : : /**
8 : : * @file
9 : : * @brief Initialize system clock driver
10 : : *
11 : : * Initializing the timer driver is done in this module to reduce code
12 : : * duplication.
13 : : */
14 : :
15 : : #include <zephyr/kernel.h>
16 : : #include <zephyr/init.h>
17 : : #include <zephyr/drivers/timer/system_timer.h>
18 : :
19 : : /* Weak-linked noop defaults for optional driver interfaces*/
20 : :
21 : 0 : void __weak sys_clock_set_timeout(int32_t ticks, bool idle)
22 : : {
23 : 0 : }
24 : :
25 : 0 : void __weak sys_clock_idle_exit(void)
26 : : {
27 : 0 : }
|