|
ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
|
LSB-first bit writer over the caller's output buffer; overflow latches once cap is exceeded.
More...
#include <bitio.h>
Public Attributes | |
| uint8_t * | out |
| size_t | cap |
| size_t | cnt |
| bytes written so far | |
| uint32_t | acc |
| bit accumulator (LSB-first) | |
| int | nbits |
| bits currently buffered (< 8 between calls) | |
| bool | overflow |
LSB-first bit writer over the caller's output buffer; overflow latches once cap is exceeded.
| uint8_t* pc_bit_writer::out |
Definition at line 30 of file bitio.h.
Referenced by pc_bitw_align(), and pc_bitw_put().
| size_t pc_bit_writer::cap |
Definition at line 31 of file bitio.h.
Referenced by pc_bitw_align(), and pc_bitw_put().
| size_t pc_bit_writer::cnt |
bytes written so far
Definition at line 32 of file bitio.h.
Referenced by pc_bitw_align(), and pc_bitw_put().
| uint32_t pc_bit_writer::acc |
bit accumulator (LSB-first)
Definition at line 33 of file bitio.h.
Referenced by pc_bitw_align(), and pc_bitw_put().
| int pc_bit_writer::nbits |
bits currently buffered (< 8 between calls)
Definition at line 34 of file bitio.h.
Referenced by pc_bitw_align(), and pc_bitw_put().
| bool pc_bit_writer::overflow |
Definition at line 35 of file bitio.h.
Referenced by pc_bitw_align(), and pc_bitw_put().