diff options
| author | Keith Packard <keithp@keithp.com> | 2018-09-11 11:57:50 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:23:25 -0700 |
| commit | 2cdb1f30c49ba460b0850d23ba9c85e0336af290 (patch) | |
| tree | 880abd83761ec7ce5511b30ee621057eeb8412d8 /src/attiny/ao_arch.h | |
| parent | cdaa0d7b272505c49017f409b7c0b8e3240608f0 (diff) | |
altos: Add generic LED driver.
This driver uses the generic GPIO functions and allows per-LED port
and pin configuration. It supports up to 32 LEDs.
Rename SoC-specific LED drivers.
Remove enabled parameter to ao_led_init
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/attiny/ao_arch.h')
| -rw-r--r-- | src/attiny/ao_arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/attiny/ao_arch.h b/src/attiny/ao_arch.h index 84a94be7..a9c450fc 100644 --- a/src/attiny/ao_arch.h +++ b/src/attiny/ao_arch.h @@ -34,6 +34,8 @@ #define AO_PORT_TYPE uint8_t +#define AO_LED_TYPE uint8_t + /* Various definitions to make GCC look more like SDCC */ #define ao_arch_naked_declare __attribute__((naked)) |
