MCPcopy Create free account
hub / github.com/SmingHub/Sming / twii_CopyToBuf

Function twii_CopyToBuf

Sming/Libraries/I2Cdev/I2Cdev.cpp:1031–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029 }
1030
1031 void twii_CopyToBuf(uint8_t* pData, uint8_t ucLength) {
1032 uint8_t i;
1033 for (i = 0; i < ucLength; ++i) {
1034 twi_masterBuffer[i] = pData[i];
1035 }
1036 }
1037
1038 void twii_CopyFromBuf(uint8_t *pData, uint8_t ucLength) {
1039 uint8_t i;

Callers 1

twi_write00Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected