sys_put_le16() function
Put a 16-bit integer as little-endian to arbitrary location. Put a 16-bit integer, originally in host endianness, to a potentially unaligned memory location in little-endian format.
Syntax
static inline void sys_put_le16(uint16_t val,
uint8_t dst[2]);
Arguments
val
16-bit integer in host endianness.
dst
Destination memory address to store the result.
sys_put_le16() is called by 7 functions:
![]()
sys_put_le16()
sys_put_le16():
![]()
sys_put_le16()