|
|
Data Fields | |
| float * | buffer |
| uint16_t | write_idx |
| uint16_t | capacity |
Circular buffer. Usually contains a "length" to keep track of the number of valid elements, But that was not needed here.
Definition at line 47 of file example_vibration.c.
| float* circular_float_buffer_t::buffer |
Definition at line 49 of file example_vibration.c.
| uint16_t circular_float_buffer_t::capacity |
The maximum number of elements the buffer can hold
Definition at line 55 of file example_vibration.c.
| uint16_t circular_float_buffer_t::write_idx |
The next index to write to. Starts at 0 and grows up to 'capacity' before wrapping
Definition at line 52 of file example_vibration.c.