| 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; |