ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
Loading...
Searching...
No Matches
spsc_t Struct Reference

#include <spsc.h>

Data Fields

volatile uint32_t head
 written by the producer only
 
volatile uint32_t tail
 written by the consumer only
 
uint32_t mask
 N - 1.
 
uint32_t item
 sizeof item
 
uint8_t * buf
 

Detailed Description

Definition at line 21 of file spsc.h.

Field Documentation

◆ head

volatile uint32_t spsc_t::head

written by the producer only

Definition at line 22 of file spsc.h.

Referenced by spsc_count(), spsc_pop(), spsc_push(), and spsc_reset().

◆ tail

volatile uint32_t spsc_t::tail

written by the consumer only

Definition at line 23 of file spsc.h.

Referenced by spsc_count(), spsc_pop(), spsc_push(), and spsc_reset().

◆ mask

uint32_t spsc_t::mask

N - 1.

Definition at line 24 of file spsc.h.

Referenced by spsc_pop(), and spsc_push().

◆ item

uint32_t spsc_t::item

sizeof item

Definition at line 25 of file spsc.h.

Referenced by spsc_pop(), and spsc_push().

◆ buf

uint8_t* spsc_t::buf

Definition at line 26 of file spsc.h.

Referenced by spsc_pop(), and spsc_push().


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