xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
载入中...
搜索中...
未找到
xt_utils.h 文件参考

XTINY 通用工具函数集合(字节序、对齐读取、log2 等) 更多...

#include <string.h>
#include <stdint.h>
#include "xt_bit.h"
#include "xt_crc.h"
#include "xt_error.h"
#include "xt_list.h"
#include "xt_macro.h"
#include "xt_rb.h"

浏览该文件的源代码.

函数

static uint32_t xt_log2_u32 (uint32_t n)
static uint16_t xt_bswap16 (uint16_t val16)
static uint32_t xt_bswap32 (uint32_t val32)
static uint16_t xt_read16p (const void *ptr16)
static uint32_t xt_read32p (const void *ptr32)

详细描述

XTINY 通用工具函数集合(字节序、对齐读取、log2 等)

作者
your name (you@d.nosp@m.omai.nosp@m.n.com)
版本
0.1
日期
2025-07-04

SPDX-FileCopyrightText: 2025 深圳市天工聚创科技有限公司 SPDX-License-Identifier: Apache-2.0

在文件 xt_utils.h 中定义.