sys_get_le16() function
Get a 16-bit integer stored in little-endian format. Get a 16-bit integer, stored in little-endian format in a potentially unaligned memory location, and convert it to the host endianness.
Syntax
static inline uint16_t sys_get_le16(const uint8_t src[2]); Arguments
src
Location of the little-endian 16-bit integer to get.
Return value
16-bit integer in host endianness.
sys_get_le16() is called by 8 functions:
![]()
sys_get_le16()
sys_get_le16():
![]()
sys_get_le16()