2015-07-06 22:20:19 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015 Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-19 02:01:01 +01:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-07-06 22:20:19 +02:00
|
|
|
*/
|
|
|
|
|
2015-12-04 16:09:39 +01:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief Initialize system clock driver
|
|
|
|
*
|
2015-10-20 18:42:33 +02:00
|
|
|
* Initializing the timer driver is done in this module to reduce code
|
2016-12-20 00:41:17 +01:00
|
|
|
* duplication.
|
2015-12-04 16:09:39 +01:00
|
|
|
*/
|
2015-07-06 22:20:19 +02:00
|
|
|
|
2022-05-06 10:25:46 +02:00
|
|
|
#include <zephyr/kernel.h>
|
|
|
|
#include <zephyr/init.h>
|
|
|
|
#include <zephyr/drivers/timer/system_timer.h>
|
2015-07-06 22:20:19 +02:00
|
|
|
|
2021-03-13 14:02:16 +01:00
|
|
|
/* Weak-linked noop defaults for optional driver interfaces*/
|
2018-09-25 17:53:33 +02:00
|
|
|
|
2021-02-25 21:33:15 +01:00
|
|
|
void __weak sys_clock_set_timeout(int32_t ticks, bool idle)
|
2018-09-25 17:53:33 +02:00
|
|
|
{
|
|
|
|
}
|
2018-11-01 21:25:37 +01:00
|
|
|
|
2021-02-25 21:33:15 +01:00
|
|
|
void __weak sys_clock_idle_exit(void)
|
2018-10-12 07:46:59 +02:00
|
|
|
{
|
|
|
|
}
|