blob: de7d2f5d5d788e91c73e99fe67fa2ec4530182e5 [file] [log] [blame]
David Hucdc51fb2021-04-06 18:10:46 +08001/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
BohdanHunko75ee82b2023-02-03 14:47:01 +02003 * Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company)
4 * or an affiliate of Cypress Semiconductor Corporation. All rights reserved.
David Hucdc51fb2021-04-06 18:10:46 +08005 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 *
8 */
9
10#ifndef __OS_WRAPPER_TICK_H__
11#define __OS_WRAPPER_TICK_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
BohdanHunko75ee82b2023-02-03 14:47:01 +020017#include "os_wrapper/common.h"
David Hucdc51fb2021-04-06 18:10:46 +080018
19/**
20 * \brief Return RTOS current tick count
21 *
22 * \return The current tick count
23 */
24uint32_t os_wrapper_get_tick(void);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif /* __OS_WRAPPER_TICK_H__ */