altos/usbtrng-v2.0: Add random output command
authorKeith Packard <keithp@keithp.com>
Tue, 27 Jan 2015 06:16:18 +0000 (22:16 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Jan 2015 06:16:18 +0000 (22:16 -0800)
commitac1a58af4d281a9bc3572dc503982a94e439a4c1
treed8a33e37719d359226757c510c5f08991adc6818
parent729bb7a405460db8d44c9ff6ee903b28c7499a02
altos/usbtrng-v2.0: Add random output command

Read chunks of random ADC data, do some CRC16 computations to de-bias
and merge 4 bytes of input data into 2 bytes of output data, then dump
that out over USB.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/usbtrng-v2.0/Makefile
src/usbtrng-v2.0/ao_pins.h
src/usbtrng-v2.0/ao_usbtrng.c