altos: Add pad support for new telefire versions
authorKeith Packard <keithp@keithp.com>
Fri, 18 Dec 2015 03:30:35 +0000 (19:30 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 24 Dec 2015 07:12:18 +0000 (23:12 -0800)
commitd5901b4dd25a5988d3ee3ebb17cf78f4a5bb74ad
treec5804edb727607b25d2a0c3d4f779738ad33a653
parent466917ca8bd55f68e2f26b718ed3e55fd4b6f2c7
altos: Add pad support for new telefire versions

Makes the voltage divider values configurable, and allows for pyro
channels that don't have the resistors necessary to check for a stuck
relay.

Also supports STM32L processors with wider GPIO registers, and uses
the new ao_gpio_set/clr_bits functions to fire igniters rather than
cc1111-specific code.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_pad.c
src/telefire-v0.1/ao_pins.h