altos/stmf0: Add ADC and DMA APIs
authorKeith Packard <keithp@keithp.com>
Tue, 27 Jan 2015 06:14:57 +0000 (22:14 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Jan 2015 06:14:57 +0000 (22:14 -0800)
commit729bb7a405460db8d44c9ff6ee903b28c7499a02
treef2184151a3f2dd2f7fef76f016a340c7a79f37d1
parenta01effc2f64c757c907e0f4937b4d3710b97bde0
altos/stmf0: Add ADC and DMA APIs

The ADC api is what USBtrng wants; a way to repeatedly read a single
ADC input as fast as possible.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_adc_fast.c [new file with mode: 0644]
src/stmf0/ao_adc_fast.h [new file with mode: 0644]
src/stmf0/ao_dma_stm.c [new file with mode: 0644]
src/stmf0/ao_interrupt.c
src/stmf0/stm32f0.h