circuitpython/ports/raspberrypi/common-hal/busio
Scott Shawcroft 52bc935fa7
A few minor fixes for corner cases
* 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.
2021-02-25 16:50:57 -08:00
..
I2C.c Initial commit. Edited error messages in .c files 2021-02-03 05:49:40 +07:00
I2C.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
OneWire.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
SPI.c Add initial RP2040 support 2021-01-20 19:16:56 -08:00
SPI.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
UART.c A few minor fixes for corner cases 2021-02-25 16:50:57 -08:00
UART.h A few minor fixes for corner cases 2021-02-25 16:50:57 -08:00
__init__.c Add initial RP2040 support 2021-01-20 19:16:56 -08:00