| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #5061 from ericseppanen/pio_dividerHEADmain | Dario Nieuwenhuis | 2025-12-19 | 1 | -6/+55 |
| |\ | | | | | | | embassy_rp: improve calculate_pio_clock_divider | ||||
| | * | clock_divider: use core::assert in const fn | Eric Seppanen | 2025-12-13 | 1 | -3/+3 |
| | | | | | | | | | defmt::assert gives a compile error in const context. | ||||
| | * | improve pio clock divider math | Eric Seppanen | 2025-12-13 | 1 | -11/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that the fractional part of the clock divider is accurately calculated. This does additional u32 division/mod operations, which I think is better than using u64 for its extra precision. Also: - Add additional asserts to catch out-of-bounds results. - Make the version that accepts the system clock as a parameter const and public, so if anyone wants to hardcode the system frequency they can avoid any runtime computation. - Remove the `inline` attributes because the function has grown quite a bit. | ||||
| | * | add unit test for calculate_pio_clock_divider | Eric Seppanen | 2025-12-13 | 1 | -1/+29 |
| | | | | | | | | | | | The test will fail, because the current implementation doesn't calculate the fractional part. | ||||
| * | | Update to embedded-io 0.7 | Dario Nieuwenhuis | 2025-12-19 | 1 | -0/+4 |
| |/ | |||||
| * | fix formatting | Robert Williams | 2025-11-03 | 1 | -1/+1 |
| | | |||||
| * | docs: color order methods traits missing docs | Robert Williams | 2025-11-03 | 1 | -0/+12 |
| | | |||||
| * | split into multiple methods | Robert Williams | 2025-11-03 | 1 | -6/+30 |
| | | |||||
| * | fix: split traits to avoid inference problems | Robert Williams | 2025-11-03 | 1 | -23/+19 |
| | | |||||
| * | embassy-rp: add color order to ws2812 pio program | Robert Williams | 2025-11-03 | 1 | -15/+78 |
| | | |||||
| * | Disable PIO SM before setting Y register | Michael Turner | 2025-11-02 | 1 | -3/+15 |
| | | |||||
| * | embassy-rp: doc comment spelling pass | Rob Wells | 2025-10-27 | 4 | -13/+13 |
| | | | | | | All changes but one are to documentation comments, and one to an ordinary comment. | ||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 8 | -13/+9 |
| | | |||||
| * | rp/pio: Add onewire strong pullups, parasite power | Matt Johnston | 2025-09-14 | 1 | -3/+42 |
| | | | | | | | | | | | | | | | DS18B20 sensors require a strong pullup to be applied for the duration of the temperature conversion, within 10us of the command. The rp2xxx pins have sufficient drive strength to use as the pullup (no external mosfet needed). Add a new write_bytes_pullup() that will apply the pullup after bytes are written. Existing read_bytes()/write_bytes() has no change to onewire timing. A pio_onewire_parasite example reads multiple sensors individually, applying the strong pullup. | ||||
| * | Merge pull request #4210 from mcaveniathor/pio_i2s_rx | Dario Nieuwenhuis | 2025-09-05 | 1 | -4/+92 |
| |\ | | | | | | | Add PioI2sIn, PioI2sInProgram, and example binary | ||||
| | * | Add PioI2sIn, PioI2sInProgram, and example binary | Thor McAvenia | 2025-09-05 | 1 | -4/+92 |
| | | | |||||
| * | | rp: move pio pin configs after set_config | Adrian Wowk | 2025-09-05 | 1 | -4/+5 |
| | | | | | | | | | | | This is needed for the program to work correctly on rp235xb when using the higher pin numbers. | ||||
| * | | rp: add pio spi runtime reconfiguration | Adrian Wowk | 2025-09-05 | 1 | -39/+80 |
| | | | |||||
| * | | style: cleanup with rustfmt | Adrian Wowk | 2025-09-05 | 1 | -11/+10 |
| | | | |||||
| * | | rp: add new pio spi program | Adrian Wowk | 2025-09-05 | 2 | -0/+434 |
| |/ | | | | | | | | | This commit adds a new PIO program which implements SPI. This allows you to drive more than 2 SPI buses by using PIO state machines as additional duplex SPI interfaces. The driver supports both blocking and async modes of operation and exclusively uses the DMA for async IO. | ||||
| * | rustfmt | MatrixSenpai | 2025-05-22 | 1 | -3/+6 |
| | | |||||
| * | adding compatibility with ws2812 leds that have 4 addressable lights | MatrixSenpai | 2025-05-22 | 1 | -4/+67 |
| | | |||||
| * | Make bit-depth of I2S PIO program configurable | Marvin Gudel | 2025-05-13 | 1 | -5/+13 |
| | | | | | Also the channel argument is removed, since only 2 channels are supported. | ||||
| * | Add PIO clock divider utility and refactor related modules | 1-rafael-1 | 2025-05-03 | 5 | -25/+43 |
| | | |||||
| * | fmt | 1-rafael-1 | 2025-04-26 | 1 | -2/+2 |
| | | |||||
| * | Scale clock dividers in HD44780, rotary encoder, and stepper driver based on ↵ | 1-rafael-1 | 2025-04-26 | 3 | -5/+23 |
| | | | | | system clock frequency | ||||
| * | Some small improvements | Marc | 2025-04-25 | 1 | -8/+6 |
| | | |||||
| * | Search can use the normal write/read instructions | Marc | 2025-04-25 | 1 | -61/+56 |
| | | |||||
| * | Refactor Onewire PIO implementation | Marc | 2025-04-25 | 1 | -61/+254 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 8 | -76/+68 |
| | | |||||
| * | Added access to the byte swap flag for RP2*** chips for the PIO state ↵ | eden barby | 2025-03-01 | 3 | -4/+4 |
| | | | | | machine DMA calls. | ||||
| * | rp/pio: update pio-rs crate, reexport it so users don't get version mismatches. | Dario Nieuwenhuis | 2025-02-18 | 7 | -14/+16 |
| | | |||||
| * | i2s frequency relative to sysclk | vinsynth | 2024-12-14 | 1 | -2/+1 |
| | | |||||
| * | add sysclk frequency argument to PioI2Out::new | vinsynth | 2024-12-14 | 1 | -1/+2 |
| | | |||||
| * | Make the docs be docs | Caleb Jamison | 2024-10-09 | 1 | -1/+1 |
| | | |||||
| * | fmt | Caleb Jamison | 2024-10-09 | 1 | -3/+2 |
| | | |||||
| * | Better docs and adding of release for PioPwm | Bjorn | 2024-10-09 | 1 | -5/+14 |
| | | |||||
| * | cargo +nightly fmt | Caleb Jamison | 2024-10-09 | 6 | -30/+28 |
| | | |||||
| * | Move pio programs into embassy-rp | Caleb Jamison | 2024-10-09 | 9 | -0/+1055 |
