22#ifndef LELY_CO_TYPE_H_
23#define LELY_CO_TYPE_H_
32#define CO_DEFTYPE_BOOLEAN 0x0001
35#define CO_DEFTYPE_INTEGER8 0x0002
38#define CO_DEFTYPE_INTEGER16 0x0003
41#define CO_DEFTYPE_INTEGER32 0x0004
44#define CO_DEFTYPE_UNSIGNED8 0x0005
47#define CO_DEFTYPE_UNSIGNED16 0x0006
50#define CO_DEFTYPE_UNSIGNED32 0x0007
53#define CO_DEFTYPE_REAL32 0x0008
56#define CO_DEFTYPE_VISIBLE_STRING 0x0009
59#define CO_DEFTYPE_OCTET_STRING 0x000a
62#define CO_DEFTYPE_UNICODE_STRING 0x000b
68#define CO_DEFTYPE_TIME_OF_DAY 0x000c
74#define CO_DEFTYPE_TIME_DIFF 0x000d
77#define CO_DEFTYPE_DOMAIN 0x000f
80#define CO_DEFTYPE_INTEGER24 0x0010
83#define CO_DEFTYPE_REAL64 0x0011
86#define CO_DEFTYPE_INTEGER40 0x0012
89#define CO_DEFTYPE_INTEGER48 0x0013
92#define CO_DEFTYPE_INTEGER56 0x0014
95#define CO_DEFTYPE_INTEGER64 0x0015
98#define CO_DEFTYPE_UNSIGNED24 0x0016
101#define CO_DEFTYPE_UNSIGNED40 0x0018
104#define CO_DEFTYPE_UNSIGNED48 0x0019
107#define CO_DEFTYPE_UNSIGNED56 0x001a
110#define CO_DEFTYPE_UNSIGNED64 0x001b
112#define LELY_CO_DEFINE_TYPE(a, b, c, d) typedef d co_##b##_t;
113#include <lely/co/def/type.def>
114#undef LELY_CO_DEFINE_TYPE
This header file is part of the utilities library; it contains the IEEE 754 floating-point format typ...
This is the public header file of the CANopen library.
This header file is part of the C11 and POSIX compatibility library; it includes <stdint....
A 48-bit struct used to describe absolute and relative times.
co_unsigned32_t ms
Milliseconds after midnight.
co_unsigned16_t days
The number of days since January 1, 1984.
A 48-bit struct used to describe absolute and relative times.
co_unsigned16_t days
The number of days since January 1, 1984.
co_unsigned32_t ms
Milliseconds after midnight.
int co_type_is_array(co_unsigned16_t type)
Returns 1 if the specified (static) data type is an array, and 0 if not.
size_t co_type_alignof(co_unsigned16_t type)
Returns the alignment requirements (in bytes) of a value of the specified data type,...
size_t co_type_sizeof(co_unsigned16_t type)
Returns the native size (in bytes) of a value of the specified data type, or 1 if it is not a static ...
int co_type_is_basic(co_unsigned16_t type)
Returns 1 if the specified (static) data type is a basic type, and 0 if not.
This header file is part of the C11 and POSIX compatibility library; it includes <uchar....