RTEMS: cpukit/include/rtems/score/timecounterimpl.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
26#include <rtems/score/timecounter.h>
27#include <sys/timetc.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif /* __cplusplus */
32
45 void _Timecounter_Set_clock(
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 */
_Timecounter_Set_clock
void _Timecounter_Set_clock(const struct bintime *bt, ISR_lock_Context *lock_context)
Sets the timecounter clock to the given value.
timecounter.h
Timecounter API.
ISR_lock_Context
Local ISR lock context for acquire and release pairs.
Definition: isrlock.h:65