Embedded SDK
Embedded SDK
write.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 void write_u16_be(const uint8_t *ptr, size_t offset, uint16_t value);
18 
30 void write_u32_be(uint8_t *ptr, size_t offset, uint32_t value);
31 
43 void write_u64_be(uint8_t *ptr, size_t offset, uint64_t value);
44 
56 void write_u16_le(uint8_t *ptr, size_t offset, uint16_t value);
57 
69 void write_u32_le(uint8_t *ptr, size_t offset, uint32_t value);
70 
82 void write_u64_le(uint8_t *ptr, size_t offset, uint64_t value);
unsigned short uint16_t
Definition: usbd_conf.h:54
unsigned char uint8_t
Definition: usbd_conf.h:53
void write_u16_le(uint8_t *ptr, size_t offset, uint16_t value)
Definition: write.c:46
void write_u32_be(uint8_t *ptr, size_t offset, uint32_t value)
Definition: write.c:26
void write_u64_be(uint8_t *ptr, size_t offset, uint64_t value)
Definition: write.c:34
void write_u64_le(uint8_t *ptr, size_t offset, uint64_t value)
Definition: write.c:60
void write_u16_be(const uint8_t *ptr, size_t offset, uint16_t value)
void write_u32_le(uint8_t *ptr, size_t offset, uint32_t value)
Definition: write.c:52