David Hu | cdc51fb | 2021-04-06 18:10:46 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020, Arm Limited. All rights reserved. |
BohdanHunko | 75ee82b | 2023-02-03 14:47:01 +0200 | [diff] [blame] | 3 | * Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) |
| 4 | * or an affiliate of Cypress Semiconductor Corporation. All rights reserved. |
David Hu | cdc51fb | 2021-04-06 18:10:46 +0800 | [diff] [blame] | 5 | * |
| 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 |
| 14 | extern "C" { |
| 15 | #endif |
| 16 | |
BohdanHunko | 75ee82b | 2023-02-03 14:47:01 +0200 | [diff] [blame] | 17 | #include "os_wrapper/common.h" |
David Hu | cdc51fb | 2021-04-06 18:10:46 +0800 | [diff] [blame] | 18 | |
| 19 | /** |
| 20 | * \brief Return RTOS current tick count |
| 21 | * |
| 22 | * \return The current tick count |
| 23 | */ |
| 24 | uint32_t os_wrapper_get_tick(void); |
| 25 | |
| 26 | #ifdef __cplusplus |
| 27 | } |
| 28 | #endif |
| 29 | |
| 30 | #endif /* __OS_WRAPPER_TICK_H__ */ |