* Always clear the peripheral interrupt so we don't hang when full * Store the ringbuf in the object so it gets collected when we're alive * Make UART objects have a finaliser so they are deinit when their memory is freed * Copy bytes into the ringbuf from the FIFO after we read to ensure the interrupt is enabled ASAP * Copy bytes into the ringbuf from the FIFO before measuring our rx available because the interrupt is based on a threshold (not > 0). For example, a single byte won't trigger an interrupt. |
||
|---|---|---|
| .. | ||
| __init__.c | ||
| __init__.h | ||
| I2C.c | ||
| I2C.h | ||
| OneWire.c | ||
| OneWire.h | ||
| SPI.c | ||
| SPI.h | ||
| UART.c | ||
| UART.h | ||