comparison ctrl.pio @ 18:f1e44afb41a3

WIP with control and DAC in sync and not hanging. Control data is wrong but baby steps.
author Daniel O'Connor <darius@dons.net.au>
date Tue, 25 Feb 2025 14:36:10 +1030
parents 56a79dce90e9
children 8d759cf5a9e7
comparison
equal deleted inserted replaced
17:a249e4727b01 18:f1e44afb41a3
6 .define TRIGGER_IRQ 0 6 .define TRIGGER_IRQ 0
7 ; Assert all 0s 7 ; Assert all 0s
8 mov pins, null 8 mov pins, null
9 ; Wait for start trigger and clear IRQ 9 ; Wait for start trigger and clear IRQ
10 wait 1 irq TRIGGER_IRQ 10 wait 1 irq TRIGGER_IRQ
11 irq clear TRIGGER_IRQ
11 .wrap_target 12 .wrap_target
12 out pins 8 13 out pins 8
13 nop 14 nop
14 out pins 8 15 out pins 8
15 nop 16 nop