RTEMS  5.1
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 
46  const struct bintime *bt,
47  ISR_lock_Context *lock_context
48 );
49 
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55 
56 #endif /* _RTEMS_SCORE_TIMECOUNTERIMPL_H */
void _Timecounter_Set_clock(const struct bintime *bt, ISR_lock_Context *lock_context)
Sets the timecounter clock to the given value.
Local ISR lock context for acquire and release pairs.
Definition: isrlock.h:65
Timecounter API.