Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
byteorder.c File Reference
#include <zephyr/ztest.h>
#include <zephyr/sys/byteorder.h>

Macros

#define VAL   0xf0e1
 
#define VAL   0xf0e1d2c3
 
#define VAL   0xf0e1d2c3b4a59687
 

Functions

 ZTEST (byteorder, test_byteorder_memcpy_swap)
 Test swapping for memory contents.
 
 ZTEST (byteorder, test_byteorder_mem_swap)
 Test sys_mem_swap() functionality.
 
 ZTEST (byteorder, test_sys_get_be64)
 Test sys_get_be64() functionality.
 
 ZTEST (byteorder, test_sys_put_be64)
 Test sys_put_be64() functionality.
 
 ZTEST (byteorder, test_sys_get_be40)
 Test sys_get_be40() functionality.
 
 ZTEST (byteorder, test_sys_put_be40)
 Test sys_put_be40() functionality.
 
 ZTEST (byteorder, test_sys_get_be48)
 Test sys_get_be48() functionality.
 
 ZTEST (byteorder, test_sys_put_be48)
 Test sys_put_be48() functionality.
 
 ZTEST (byteorder, test_sys_get_be32)
 Test sys_get_be32() functionality.
 
 ZTEST (byteorder, test_sys_put_be32)
 Test sys_put_be32() functionality.
 
 ZTEST (byteorder, test_sys_get_be24)
 Test sys_get_be24() functionality.
 
 ZTEST (byteorder, test_sys_put_be24)
 Test sys_put_be24() functionality.
 
 ZTEST (byteorder, test_sys_get_be16)
 Test sys_get_be16() functionality.
 
 ZTEST (byteorder, test_sys_put_be16)
 Test sys_put_be16() functionality.
 
 ZTEST (byteorder, test_sys_get_le16)
 Test sys_get_le16() functionality.
 
 ZTEST (byteorder, test_sys_put_le16)
 Test sys_put_le16() functionality.
 
 ZTEST (byteorder, test_sys_get_le24)
 Test sys_get_le24() functionality.
 
 ZTEST (byteorder, test_sys_put_le24)
 Test sys_put_le24() functionality.
 
 ZTEST (byteorder, test_sys_get_le32)
 Test sys_get_le32() functionality.
 
 ZTEST (byteorder, test_sys_put_le32)
 Test sys_put_le32() functionality.
 
 ZTEST (byteorder, test_sys_get_le40)
 Test sys_get_le40() functionality.
 
 ZTEST (byteorder, test_sys_put_le40)
 Test sys_put_le40() functionality.
 
 ZTEST (byteorder, test_sys_get_le48)
 Test sys_get_le48() functionality.
 
 ZTEST (byteorder, test_sys_put_le48)
 Test sys_put_le48() functionality.
 
 ZTEST (byteorder, test_sys_get_le64)
 Test sys_get_le64() functionality.
 
 ZTEST (byteorder, test_sys_put_le64)
 Test sys_put_le64() functionality.
 
 ZTEST (byteorder, test_sys_uint16_to_array)
 Test sys_uint16_to_array() functionality.
 
 ZTEST (byteorder, test_sys_uint32_to_array)
 Test sys_uint32_to_array() functionality.
 
 ZTEST (byteorder, test_sys_uint64_to_array)
 Test sys_uint64_to_array() functionality.
 
void * common_setup (void)
 
 ZTEST_SUITE (byteorder, NULL, common_setup, NULL, NULL, NULL)
 

Macro Definition Documentation

◆ VAL [1/3]

#define VAL   0xf0e1

◆ VAL [2/3]

#define VAL   0xf0e1d2c3

◆ VAL [3/3]

#define VAL   0xf0e1d2c3b4a59687