MCPcopy Create free account
hub / github.com/SlimeVR/SlimeVR-Tracker-ESP / beginTransaction

Method beginTransaction

src/sensorinterface/DirectSPIInterface.cpp:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40void DirectSPIInterface::swapIn() {}
41
42void DirectSPIInterface::beginTransaction(PinInterface* csPin) {
43 m_spiClass.beginTransaction(m_spiSettings);
44 csPin->digitalWrite(LOW);
45}
46
47void DirectSPIInterface::endTransaction(PinInterface* csPin) {
48 csPin->digitalWrite(HIGH);

Callers 11

beginMethod · 0.80
ICM_20948_write_SPIFunction · 0.80
ICM_20948_read_SPIFunction · 0.80
receivePacketMethod · 0.80
sendPacketMethod · 0.80
readRegMethod · 0.80
readReg16Method · 0.80
writeRegMethod · 0.80
writeReg16Method · 0.80
readBytesMethod · 0.80
writeBytesMethod · 0.80

Calls 1

digitalWriteMethod · 0.45

Tested by

no test coverage detected