summaryrefslogtreecommitdiff
path: root/ports/raspberrypi/bindings/rp2pio/StateMachine.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-03-04StateMachine: Add pull up/down for inputsJeff Epler
2021-03-04StateMachine: Add in_available propertyJeff Epler
I named the property `in_available` because it is similar to pyserial. However, it indicates the number of words in the fifo, not the number of bytes.
2021-03-02Apply suggestions from code review Dan Halbert
copyediting
2021-02-27Update StateMachine.cJonny Bergdahl
Changed woring to use max instead
2021-02-23Implement audiobusio and enhance PIO for itScott Shawcroft
This adds I2SOut and PDMIn support via PIO. StateMachines can now: * read and read while writing * transfer in 1, 2 or 4 byte increments * init pins based on expected defaults automatically * be stopped and restarted * rxfifo can be cleared and rxstalls detected (good for tracking when the reading code isn't keeping up) Fixes #4162
2021-02-06Fix maximum PIO instructionsJason Nichols
2021-01-21copy editingScott Shawcroft
2021-01-20type fixScott Shawcroft
2021-01-20Add initial RP2040 supportScott Shawcroft
The RP2040 is new microcontroller from Raspberry Pi that features two Cortex M0s and eight PIO state machines that are good for crunching lots of data. It has 264k RAM and a built in UF2 bootloader too. Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf