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

Function twi_releaseBus

Sming/Libraries/I2Cdev/I2Cdev.cpp:1153–1159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151 }
1152
1153 void twi_releaseBus(void) {
1154 // release bus
1155 TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT);
1156
1157 // update twi state
1158 twi_state = TWI_READY;
1159 }
1160
1161 SIGNAL(TWI_vect) {
1162 switch (TW_STATUS) {

Callers 1

SIGNALFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected