Zephyr API Documentation  3.3.0
A Scalable Open Source RTOS
3.3.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ring_buf Struct Reference

A structure to represent a ring buffer. More...

#include <ring_buffer.h>

Data Fields

uint8_tbuffer
 
int32_t put_head
 
int32_t put_tail
 
int32_t put_base
 
int32_t get_head
 
int32_t get_tail
 
int32_t get_base
 
uint32_t size
 

Detailed Description

A structure to represent a ring buffer.

Field Documentation

◆ buffer

uint8_t* ring_buf::buffer

◆ get_base

int32_t ring_buf::get_base

◆ get_head

int32_t ring_buf::get_head

◆ get_tail

int32_t ring_buf::get_tail

◆ put_base

int32_t ring_buf::put_base

◆ put_head

int32_t ring_buf::put_head

◆ put_tail

int32_t ring_buf::put_tail

◆ size

uint32_t ring_buf::size

The documentation for this struct was generated from the following file: