MCPcopy Create free account
hub / github.com/PowerBroker2/SerialTransfer / reset

Method reset

src/I2CTransfer.cpp:145–149  ·  view source on GitHub ↗

void I2CTransfer::reset() Description: ------------ * Clears out the tx, and rx buffers, plus resets the "bytes read" variable, finite state machine, etc Inputs: ------- * void Return: ------- * void */

Source from the content-addressed store, hash-verified

143 * void
144*/
145void I2CTransfer::reset()
146{
147 packet.reset();
148 status = packet.status;
149}
150
151
152I2CTransfer* I2CTransfer::classToUse = NULL;

Callers 1

processDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected