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

Function twii_CopyFromBuf

Sming/Libraries/I2Cdev/I2Cdev.cpp:1038–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036 }
1037
1038 void twii_CopyFromBuf(uint8_t *pData, uint8_t ucLength) {
1039 uint8_t i;
1040 for (i = 0; i < ucLength; ++i) {
1041 pData[i] = twi_masterBuffer[i];
1042 }
1043 }
1044
1045 void twii_SetSlaRW(uint8_t ucSlaRW) {
1046 twi_slarw = ucSlaRW;

Callers 1

twi_read01Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected