void I2CTransfer::begin(TwoWire &_port, configST& configs) Description: ------------ * Advanced initializer for the I2CTransfer Class Inputs: ------- * const TwoWire &_port - I2C port to communicate over * const configST& configs - Struct that holds config values for all possible initialization parameters Return: ------- * void */
| 16 | * void |
| 17 | */ |
| 18 | void I2CTransfer::begin(TwoWire& _port, const configST& configs) |
| 19 | { |
| 20 | port = &_port; |
| 21 | port->onReceive((void (*)(int))processData); |
| 22 | packet.begin(configs); |
| 23 | } |
| 24 | |
| 25 | |
| 26 | /* |
nothing calls this directly
no outgoing calls
no test coverage detected