The types defined in this file may change depending on the target architecture. You may also try to optimize the size of the various types in order to privilege size or performance, be careful in doing so.
ROM constant modifier.
- Note
- It is set to use the "const" keyword in this port.
Definition at line 63 of file chtypes.h.
#define NOINLINE __attribute__((noinline)) |
Makes functions not inlineable.
- Note
- If the compiler does not support such attribute then the realtime counter precision could be degraded.
Definition at line 70 of file chtypes.h.
#define PORT_THD_FUNCTION |
( |
|
tname, |
|
|
|
arg |
|
) |
| void tname(void *arg) |
Optimized thread function declaration macro.
Definition at line 75 of file chtypes.h.
#define PACKED_VAR __attribute__((packed)) |
Packed variable specifier.
Definition at line 80 of file chtypes.h.
#define ALIGNED_VAR |
( |
|
n | ) |
__attribute__((aligned(n))) |
Memory alignment enforcement for variables.
Definition at line 85 of file chtypes.h.
Size of a pointer.
- Note
- To be used where the sizeof operator cannot be used, preprocessor expressions for example.
Definition at line 92 of file chtypes.h.
True if alignment is low-high in current architecture.
Definition at line 97 of file chtypes.h.
Realtime counter.
Definition at line 43 of file chtypes.h.
Realtime accumulator.
Definition at line 44 of file chtypes.h.
System status word.
Definition at line 45 of file chtypes.h.
Thread references counter.
Definition at line 48 of file chtypes.h.
Thread time slices counter.
Definition at line 49 of file chtypes.h.
Thread priority.
Definition at line 50 of file chtypes.h.
Inter-thread message.
Definition at line 51 of file chtypes.h.
Numeric event identifier.
Definition at line 52 of file chtypes.h.
Mask of event identifiers.
Definition at line 53 of file chtypes.h.
Mask of event flags.
Definition at line 54 of file chtypes.h.
Generic signed counter.
Definition at line 55 of file chtypes.h.
Generic unsigned counter.
Definition at line 56 of file chtypes.h.