Microchip® Advanced Software Framework

preparser.h File Reference

Declaration of the preparser interface.

Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.

Functions

void convertStreamToNumbers (uint8_t *stream, uint8_t size)
 Waiting for a field of the type from the internal address. More...
 
bool readFromPreBuffer (uint8_t *data)
 Read data byte from preparser buffer. More...
 

void convertStreamToNumbers ( uint8_t *  stream,
uint8_t  size 
)

Waiting for a field of the type from the internal address.

Parameters
[in]stream- byte stream from usb;
[in]size- size of the converted stream;
bool readFromPreBuffer ( uint8_t *  data)

Read data byte from preparser buffer.

Parameters
[in]data- pointer to memory for data byte;
Returns
true - there is data byte; false - preparser buffer is empty