Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Embed: (wiki syntax)

« Back to documentation index

buffer_s Struct Reference

buffer_s Struct Reference
[Hal]

Generic buffer structure. More...

#include <buffer.h>

Data Fields

void * buffer
 the pointer to a buffer
size_t length
 the buffer length
size_t pos
 actual buffer position
uint8_t width
 The buffer unit width (8, 16, 32, 64), used for proper *buffer casting.

Detailed Description

Generic buffer structure.

Definition at line 26 of file buffer.h.


Field Documentation

void* buffer

the pointer to a buffer

Definition at line 27 of file buffer.h.

size_t length

the buffer length

Definition at line 28 of file buffer.h.

size_t pos

actual buffer position

Definition at line 29 of file buffer.h.

uint8_t width

The buffer unit width (8, 16, 32, 64), used for proper *buffer casting.

Definition at line 30 of file buffer.h.