teleterra: Add PWM audio system
authorKeith Packard <keithp@keithp.com>
Sun, 31 Oct 2010 07:38:39 +0000 (00:38 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 31 Oct 2010 07:38:39 +0000 (00:38 -0700)
commit3493b456399bcc0ea43d28fd4105928bd8793cff
tree869bc731152146632fc55cf9df7d4d6f125e8b68
parent3f53e5daeca4d9257aef017594fd65b379b97a1e
teleterra: Add PWM audio system

This uses timers 3 and 4 to emit 8-bit 11025Hz audio using a 93.8kHz
carrier. A simple low-pass filter to eliminate the 93.8kHz signal
results in credible 8-bit audio.

There is a giant sample for testing in the ao_audio code which shouldn't
be included in a product.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/Makefile.proto
src/ao.h
src/ao_audio.c [new file with mode: 0644]
src/ao_teleterra.c
src/ao_terraui.c
src/cc1111.h
src/teleterra-v0.1/Makefile.defs [new file with mode: 0644]