HALFRED
0.4.0
Main Page
Modules
Files
Index
trunk
src
hal
inc
hal_os.h
Go to the documentation of this file.
1
10
#ifndef HAL_OS_H
11
#define HAL_OS_H
12
13
#include "hal_port_os.h"
14
35
36
40
void
OS_Start
(
void
);
41
45
void
OS_Stop
(
void
);
46
51
void
OS_Sleep
(OSTime time);
52
57
void
OS_SleepUntil
(OSTime time);
58
63
OSTime
OS_GetSystemTime
(
void
);
64
68
// -----------------------------------------------------------------------------
69
// TASK API
70
// -----------------------------------------------------------------------------
71
#include "
hal_os_task.h
"
72
73
// -----------------------------------------------------------------------------
74
// BINARY SEMAPHORE API
75
// -----------------------------------------------------------------------------
76
#include "
hal_os_sem.h
"
77
78
// -----------------------------------------------------------------------------
79
// COUNTING SEMAPHORE API
80
// -----------------------------------------------------------------------------
81
#include "
hal_os_cntsem.h
"
82
83
// -----------------------------------------------------------------------------
84
// MUTUAL EXCLUSION SEMAPHORE (MUTEX) API
85
// -----------------------------------------------------------------------------
86
#include "
hal_os_mutex.h
"
87
88
// -----------------------------------------------------------------------------
89
// RECURSIVE MUTUAL EXCLUSION SEMAPHORE (RECURSIVE MUTEX) API
90
// -----------------------------------------------------------------------------
91
#include "
hal_os_recursive_mutex.h
"
92
93
// -----------------------------------------------------------------------------
94
// QUEUE API
95
// -----------------------------------------------------------------------------
96
#include "
hal_os_queue.h
"
97
98
// -----------------------------------------------------------------------------
99
// CALENDAR TIME (CALTIME) API
100
// -----------------------------------------------------------------------------
101
#include "
hal_os_caltime.h
"
102
103
109
#endif // HAL_OS_H
hal_os_task.h
OS task API.
hal_os_caltime.h
OS calendar time API.
hal_os_sem.h
OS semaphore API.
hal_os_cntsem.h
OS counting semaphore time API.
OS_SleepUntil
void OS_SleepUntil(OSTime time)
OS_Sleep
void OS_Sleep(OSTime time)
hal_os_recursive_mutex.h
OS recursive mutex API.
OS_Stop
void OS_Stop(void)
hal_os_queue.h
OS queue API.
hal_os_mutex.h
OS mutex API.
OS_Start
void OS_Start(void)
OS_GetSystemTime
OSTime OS_GetSystemTime(void)
Generated on Mon Feb 25 2019 13:43:42 for HALFRED by
1.8.7