rt_Time.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*----------------------------------------------------------------------------
  2. * CMSIS-RTOS - RTX
  3. *----------------------------------------------------------------------------
  4. * Name: RT_TIME.H
  5. * Purpose: Delay and interval wait functions definitions
  6. * Rev.: V4.70
  7. *----------------------------------------------------------------------------
  8. *
  9. * Copyright (c) 1999-2009 KEIL, 2009-2017 ARM Germany GmbH. All rights reserved.
  10. *
  11. * SPDX-License-Identifier: Apache-2.0
  12. *
  13. * Licensed under the Apache License, Version 2.0 (the License); you may
  14. * not use this file except in compliance with the License.
  15. * You may obtain a copy of the License at
  16. *
  17. * www.apache.org/licenses/LICENSE-2.0
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  21. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. *---------------------------------------------------------------------------*/
  25. /* Variables */
  26. extern U32 os_time;
  27. /* Functions */
  28. extern U32 rt_time_get (void);
  29. extern void rt_dly_wait (U16 delay_time);
  30. extern void rt_itv_set (U16 interval_time);
  31. extern void rt_itv_wait (void);
  32. /*----------------------------------------------------------------------------
  33. * end of file
  34. *---------------------------------------------------------------------------*/