circuitpython/ports
Scott Shawcroft 255e997345
Rework the analogbufio API.
* read() is now readinto() and takes the buffer to write into.
* readinto() returns the number of valid samples.
* readinto() can be interrupted by ctrl-c.
* readinto() API doesn't support signed numbers because it never did.
* sample_rate is now required in the constructor because supported
  values will vary per-port.
* 16 bit values are full range. 12 bit samples from RP2040 are stretched
  in the same way they are for AnalogIn.

Fixes #7226
2022-12-01 17:46:07 -08:00
..
atmel-samd atmel-samd: Ensure sdioio.SDCard pins are released 2022-11-29 13:45:18 -06:00
broadcom Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
cxd56 Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
espressif Merge pull request #7281 from jepler/esp32-trailing-dot 2022-11-30 11:18:47 -05:00
litex Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
mimxrt10xx Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
nrf Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
raspberrypi Rework the analogbufio API. 2022-12-01 17:46:07 -08:00
stm Merge pull request #7247 from tannewt/picow_web_workflow 2022-11-28 14:19:42 -08:00
unix Implement chained exceptions 2022-11-13 19:52:50 -06:00