aboutsummaryrefslogtreecommitdiff
path: root/interface/include/os_wrapper/tick.h
blob: b377b0e5fb42f8c346c974d5bb6295a9bc96d9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2020, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 */

#ifndef __OS_WRAPPER_TICK_H__
#define __OS_WRAPPER_TICK_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "common.h"

/**
 * \brief Return RTOS current tick count
 *
 * \return The current tick count
 */
uint32_t os_wrapper_get_tick(void);

#ifdef __cplusplus
}
#endif

#endif /* __OS_WRAPPER_TICK_H__ */