Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
raspberrypipico:pico_pio [2021/03/13 19:31] admin [irq(option, num, rel)] |
raspberrypipico:pico_pio [2021/03/13 22:03] admin [nop()] |
||
---|---|---|---|
Line 152: | Line 152: | ||
| | ||
- | ====wait()==== | + | ====wait(option)==== |
**wait(// | **wait(// | ||
It will waits until the specified GPIO has the specified polarity.\\ | It will waits until the specified GPIO has the specified polarity.\\ | ||
Line 166: | Line 166: | ||
- num (interrupt number, with rel the relative interrupt numbers could be used)\\ | - num (interrupt number, with rel the relative interrupt numbers could be used)\\ | ||
+ | | ||
====in(source, | ====in(source, | ||
Line 241: | Line 242: | ||
- clear (clears the flag)\\ | - clear (clears the flag)\\ | ||
**num** number of the interrupt 0-7\\ | **num** number of the interrupt 0-7\\ | ||
- | **rel** relative IRQ number, can set different IRQ per StateMachine, | + | **rel** relative IRQ number\\ |
In the StateMachine | In the StateMachine | ||
| | ||
Line 278: | Line 279: | ||
| | ||
====nop()==== | ====nop()==== | ||
- | The NOP instruction stands for no operations. | + | The NOP instruction stands for no operations. |
- | nop (31) #delay 31 cycles | + | nop () [31] #delay 31 cycles |
====wrap()==== | ====wrap()==== | ||
Line 324: | Line 325: | ||
---- | ---- | ||
- | ===== Simple Audio Out===== | ||
- | | ||
- | | | ||
- | | ||
- | |------ Audio Out | ||
- | | ||
- | | | ||
- | | ||
- | ---- | ||
- | ==== Resistor DAC ==== | ||
- | |||
- | |||
- | ---- | ||
===== Knowledge ===== | ===== Knowledge ===== | ||
[[https:// | [[https:// |