Defines
platform.h File Reference
#include <stddef.h>
#include <errno.h>
#include <endian.h>
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define get_unaligned(p)
#define get_unaligned_le16(p)   le16_to_cpu(get_unaligned((uint16_t *)(p)))
#define get_unaligned_le32(p)   le32_to_cpu(get_unaligned((uint32_t *)(p)))
#define le16_to_cpu   le16toh
#define le32_to_cpu   le32toh

Define Documentation

#define get_unaligned (   p)
Value:
({                                                              \
        struct packed_dummy_struct {                            \
                typeof(*(p)) __val;                             \
        } __attribute__((packed)) *__ptr = (void *) (p);        \
                                                                \
        __ptr->__val;                                           \
})

Definition at line 10 of file platform.h.

#define get_unaligned_le16 (   p)    le16_to_cpu(get_unaligned((uint16_t *)(p)))

Definition at line 18 of file platform.h.

#define get_unaligned_le32 (   p)    le32_to_cpu(get_unaligned((uint32_t *)(p)))

Definition at line 19 of file platform.h.

#define le16_to_cpu   le16toh

Definition at line 8 of file platform.h.

#define le32_to_cpu   le32toh

Definition at line 9 of file platform.h.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:13