rp-hal-boards/rp2040-hal/examples
Jan Niehusmann 6026ea4ae3
Allow to start multiple state machines in sync (#301)
* add example of synchronized PIOs

* Synchronize state machines using WAIT IRQ instruction

* Use "irq wait 0" instead of "wait 1 irq 0"

This way, the initial value of the interrupt flag doesn't matter

* Start state machines synchronized without IRQ WAIT instruction

* Improve API

Co-authored-by: Andrew Straw <strawman@astraw.com>
2022-03-18 20:55:31 +11:00
..
adc.rs Migrated examples to the new uart system 2021-12-25 09:46:40 +01:00
blinky.rs Fixing typos spotted in the review. 2021-12-26 19:39:16 +00:00
dht11.rs Add comment regarding release mode 2022-01-28 22:18:32 +00:00
gpio_in_out.rs Re-export mod structs 2021-12-04 00:04:45 +11:00
gpio_irq_example.rs Add note about #[interrupt] mut -> &mut transform 2022-02-16 22:48:52 +11:00
i2c.rs Move uses of sio::Sio to Sio 2021-12-04 16:20:27 +11:00
lcd_display.rs Re-export mod structs 2021-12-04 00:04:45 +11:00
multicore_fifo_blink.rs Fixing typos spotted in the review. 2021-12-26 19:39:16 +00:00
pio_blink.rs Move uses of sio::Sio to Sio 2021-12-04 16:20:27 +11:00
pio_proc_blink.rs Prep for 0.4.0 release (#312) 2022-03-11 22:37:34 +11:00
pio_side_set.rs Prep for 0.4.0 release (#312) 2022-03-11 22:37:34 +11:00
pio_synchronized.rs Allow to start multiple state machines in sync (#301) 2022-03-18 20:55:31 +11:00
pwm_blink.rs Fixing typos spotted in the review. 2021-12-26 19:39:16 +00:00
rom_funcs.rs Standardize ROM function access 2022-02-03 13:32:18 -07:00
spi.rs Re-export mod structs 2021-12-04 00:04:45 +11:00
uart.rs Use .freq() to avoid moving clock 2022-01-20 18:28:51 +11:00
watchdog.rs Fixing typos spotted in the review. 2021-12-26 19:39:16 +00:00