![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <types.h>
Go to the source code of this file.
Macros | |
| #define | cpu_to_le64(x) (__swab64((u64_t) (x))) |
| #define | le64_to_cpu(x) (__swab64((u64_t) (x))) |
| #define | cpu_to_le32(x) (__swab32((u32_t) (x))) |
| #define | le32_to_cpu(x) (__swab32((u32_t) (x))) |
| #define | cpu_to_le16(x) (__swab16((u16_t) (x))) |
| #define | le16_to_cpu(x) (__swab16((u16_t) (x))) |
| #define | cpu_to_be64(x) ((u64_t) (x)) |
| #define | be64_to_cpu(x) ((u64_t) (x)) |
| #define | cpu_to_be32(x) ((u32_t) (x)) |
| #define | be32_to_cpu(x) ((u32_t) (x)) |
| #define | cpu_to_be16(x) ((u16_t) (x)) |
| #define | be16_to_cpu(x) ((u16_t) (x)) |
Functions | |
| static u16_t | __swab16 (u16_t x) |
| static u32_t | __swab32 (u32_t x) |
| static u64_t | __swab64 (u64_t x) |
| static u32_t | __swahw32 (u32_t x) |
| static u32_t | __swahb32 (u32_t x) |
| #define be16_to_cpu | ( | x | ) | ((u16_t) (x)) |
| #define be32_to_cpu | ( | x | ) | ((u32_t) (x)) |
| #define be64_to_cpu | ( | x | ) | ((u64_t) (x)) |
| #define cpu_to_be16 | ( | x | ) | ((u16_t) (x)) |
| #define cpu_to_be32 | ( | x | ) | ((u32_t) (x)) |
| #define cpu_to_be64 | ( | x | ) | ((u64_t) (x)) |