Os_counter_api.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : generic
  5. * Dependencies :
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. #ifndef OS_COUNTER_API_H
  25. #define OS_COUNTER_API_H
  26. /**
  27. * @file Os_counter_api.h
  28. *
  29. * @addtogroup [OS]
  30. * @{
  31. */
  32. #ifdef __cplusplus
  33. extern "C"
  34. {
  35. #endif /* __cplusplus */
  36. #include "Os_counter_types.h" /* for StatusType and counter specific types */
  37. extern StatusType GetCounterValue (CounterType ctrId, TickRefType tickRef);
  38. extern StatusType GetElapsedValue (CounterType ctrId, TickRefType valueRef, TickRefType tickRef);
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. /** @} */
  43. #endif /* OS_COUNTER_API_H */