RTEMS  5.0.0
timecounterimpl.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2015 embedded brains GmbH. All rights reserved.
11  *
12  * embedded brains GmbH
13  * Dornierstr. 4
14  * 82178 Puchheim
15  * Germany
16  * <rtems@embedded-brains.de>
17  *
18  * The license and distribution terms for this file may be
19  * found in the file LICENSE in this distribution or at
20  * http://www.rtems.org/license/LICENSE.
21  */
22 
23 #ifndef _RTEMS_SCORE_TIMECOUNTERIMPL_H
24 #define _RTEMS_SCORE_TIMECOUNTERIMPL_H
25 
27 #include <sys/timetc.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif /* __cplusplus */
32 
39 void _Timecounter_Set_clock(
40  const struct bintime *bt,
41  ISR_lock_Context *lock_context
42 );
43 
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49 
50 #endif /* _RTEMS_SCORE_TIMECOUNTERIMPL_H */
Local ISR lock context for acquire and release pairs.
Definition: isrlock.h:65
Timecounter API.