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

Function twii_SetStart

Sming/Libraries/I2Cdev/I2Cdev.cpp:1049–1051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047 }
1048
1049 void twii_SetStart() {
1050 TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA);
1051 }
1052
1053 void twi_write01() {
1054 if (TWI_MTX == twi_state) return; // blocking test

Callers 2

twi_write00Function · 0.85
twi_read00Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected