| 47 | } |
| 48 | |
| 49 | uint8_t modI2CRead(modI2CConfiguration config, uint8_t *buffer, uint16_t length, uint8_t sendStop) |
| 50 | { |
| 51 | modI2CActivate(config); |
| 52 | return twi_readFrom(config->address, buffer, length, sendStop); |
| 53 | } |
| 54 | |
| 55 | uint8_t modI2CWrite(modI2CConfiguration config, const uint8_t *buffer, uint16_t length, uint8_t sendStop) |
| 56 | { |
no test coverage detected