1 /* 2 * Copyright (c) 2022, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef __OS_WRAPPER_DELAY_H__ 9 #define __OS_WRAPPER_DELAY_H__ 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 #include "common.h" 16 17 /** 18 * \brief Waits for a time period specified in kernel ticks. 19 * 20 * \return \ref OS_WRAPPER_SUCCESS if the time delay is executed, or 21 * \ref OS_WRAPPER_ERROR in case of error 22 */ 23 int32_t os_wrapper_delay(uint32_t ticks); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif /* __OS_WRAPPER_DELAY_H__ */ 30