stream

#include <eglib/hal/i2c/stream.h>

Configuration

i2c_stream_config_t

Configuration for i2c_stream. All values are populated during initialization.

See also

eglib_Init().

FILE * stream

Stream created with open_memstream().

char * buffer

Stream buffer (available after fflush() or fclose()).

size_t sizeloc

Size of the buffer (available after fflush() or fclose()).

Driver

const hal_t i2c_stream

4-Wire SPI HAL driver that writes function call details to a C stream.

This is intended for unit testing display drivers.

See also

eglib_Init().