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

环形缓冲区结构体 更多...

#include <xt_rb.h>

成员变量

volatile uint32_t head
volatile uint32_t tail
uint32_t buf_size
uint8_t * p_buf

详细描述

环形缓冲区结构体

在文件 xt_rb.h 第 43 行定义.

结构体成员变量说明

◆ buf_size

uint32_t xt_rb::buf_size

缓冲区大小(字节)

在文件 xt_rb.h 第 46 行定义.

◆ head

volatile uint32_t xt_rb::head

写指针

在文件 xt_rb.h 第 44 行定义.

◆ p_buf

uint8_t* xt_rb::p_buf

缓冲区指针

在文件 xt_rb.h 第 47 行定义.

◆ tail

volatile uint32_t xt_rb::tail

读指针

在文件 xt_rb.h 第 45 行定义.


该结构体的文档由以下文件生成: