diff options
| author | Selene ToyKeeper | 2023-04-17 00:08:32 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-04-17 00:08:32 -0600 |
| commit | 583854e37efde7f461e073e735a1736b02d28c70 (patch) | |
| tree | 48ed76e428e3ddb126f88f8b0028f39391d84d9f /hwdef-thefreeman-lin16dac.h | |
| parent | reduced ROM by ~600 bytes by moving all eeprom config values to a "cfg" struct (diff) | |
| download | anduril-583854e37efde7f461e073e735a1736b02d28c70.tar.gz anduril-583854e37efde7f461e073e735a1736b02d28c70.tar.bz2 anduril-583854e37efde7f461e073e735a1736b02d28c70.zip | |
switched the rest of FSM + Anduril to use SPDX license headers
instead of full GPL headers (or all too often, nothing at all)
There are a few "FIXME" entries where I'm not sure about the correct copyright.
Diffstat (limited to 'hwdef-thefreeman-lin16dac.h')
| -rw-r--r-- | hwdef-thefreeman-lin16dac.h | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/hwdef-thefreeman-lin16dac.h b/hwdef-thefreeman-lin16dac.h index 9d6b145..36e3929 100644 --- a/hwdef-thefreeman-lin16dac.h +++ b/hwdef-thefreeman-lin16dac.h @@ -1,17 +1,16 @@ -#ifndef HWDEF_THEFREEMAN_LIN18_H -#define HWDEF_THEFREEMAN_LIN18_H - -/* thefreeman's Linear 16 driver using DAC control - -PA6 - DAC for LED brightness control -PA7 - Op-amp enable pin -PB5 - Aux LED -PB4 - Switch pin, internal pullup -PB3 - HDR control, set High to enable the high power channel, set Low for low power -Read voltage from VCC pin, has PFET so no drop - -*/ - +// thefreeman's Linear 16 driver using DAC control +// Copyright (C) 2021-2023 (FIXME) +// SPDX-License-Identifier: GPL-3.0-or-later +#pragma once + +/* + * PA6 - DAC for LED brightness control + * PA7 - Op-amp enable pin + * PB5 - Aux LED + * PB4 - Switch pin, internal pullup + * PB3 - HDR control, set High to enable the high power channel, set Low for low power + * Read voltage from VCC pin, has PFET so no drop + */ #define LAYOUT_DEFINED @@ -105,5 +104,3 @@ inline void hwdef_setup() { } - -#endif |
