summaryrefslogtreecommitdiff
path: root/src/stmf0/ao_arch_funcs.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-03-02 13:54:58 -0800
committerKeith Packard <keithp@keithp.com>2016-03-02 13:59:21 -0800
commit05fcb717bfc44aba3c1cfd43281e323505a46402 (patch)
treea27b543f7a6f65b87fec29e77ca4151e0c1ee59d /src/stmf0/ao_arch_funcs.h
parent05354b8fee6a9af05d66bb7f4761f597da038fdd (diff)
altos/chaoskey: Add another USB endpoint to read raw data
This replaces having the single output switch based on a pin value and allows us to box the device and still fetch raw data. For now, this will use a special libusb2 program, ao-chaosread, to pull bits as I haven't figure out how to make linux provide two /dev entries for one USB device. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stmf0/ao_arch_funcs.h')
-rw-r--r--src/stmf0/ao_arch_funcs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stmf0/ao_arch_funcs.h b/src/stmf0/ao_arch_funcs.h
index 8d585f80..4e3ef018 100644
--- a/src/stmf0/ao_arch_funcs.h
+++ b/src/stmf0/ao_arch_funcs.h
@@ -413,6 +413,9 @@ ao_usb_free(uint16_t *buffer);
void
ao_usb_write(uint16_t *buffer, uint16_t len);
+
+void
+ao_usb_write2(uint16_t *buffer, uint16_t len);
#endif /* AO_USB_DIRECTIO */
#endif /* _AO_ARCH_FUNCS_H_ */