Embedded SDK
Embedded SDK
read.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h> // uint*_t
4 #include <stddef.h> // size_t
5 
17 uint16_t read_u16_be(const uint8_t *ptr, size_t offset);
18 
30 uint32_t read_u32_be(const uint8_t *ptr, size_t offset);
31 
43 uint64_t read_u64_be(const uint8_t *ptr, size_t offset);
44 
56 uint16_t read_u16_le(const uint8_t *ptr, size_t offset);
57 
69 uint32_t read_u32_le(const uint8_t *ptr, size_t offset);
70 
82 uint64_t read_u64_le(const uint8_t *ptr, size_t offset);
uint32_t read_u32_le(const uint8_t *ptr, size_t offset)
Definition: read.c:52
uint64_t read_u64_le(const uint8_t *ptr, size_t offset)
Definition: read.c:60
uint16_t read_u16_le(const uint8_t *ptr, size_t offset)
Definition: read.c:46
uint32_t read_u32_be(const uint8_t *ptr, size_t offset)
Definition: read.c:26
uint64_t read_u64_be(const uint8_t *ptr, size_t offset)
Definition: read.c:34
uint16_t read_u16_be(const uint8_t *ptr, size_t offset)
Definition: read.c:20
unsigned short uint16_t
Definition: usbd_conf.h:54
unsigned char uint8_t
Definition: usbd_conf.h:53