MCPcopy Create free account
hub / github.com/Santroller/Santroller / timeout_handler

Function timeout_handler

lib/peripherals/i2c.cpp:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205int64_t timeout_handler(__unused alarm_id_t id, void *user_data)
206{
207 i2c_dma_t *i2c_dma = (i2c_dma_t *)user_data;
208 i2c_dma->timeout = true;
209 process_dma(i2c_dma);
210 return 0;
211}
212static void i2c_dma_write_read_internal(
213 i2c_dma_t *i2c_dma,
214 uint8_t addr,

Callers

nothing calls this directly

Calls 1

process_dmaFunction · 0.85

Tested by

no test coverage detected