~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-Sofirn_SP10-Pro.h

  • Committer: Selene ToyKeeper
  • Date: 2023-04-17 06:08:32 UTC
  • mto: (188.22.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 250.
  • Revision ID: bzr@toykeeper.net-20230417060832-m50gul6mz47puwbp
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef HWDEF_SOFIRN_SP10_H
2
 
#define HWDEF_SOFIRN_SP10_H
3
 
 
4
 
/* Sofirn SP10 Pro pinout
5
 
 
6
 
ATTINY1616 Mapping:
7
 
PB5 : PWM small channel (TCA0 - WO2 Alternate MUX)
8
 
PB3 : eSwitch
9
 
PB0 : PWM big channel (TCA0 - WO0)
10
 
PB4 : Voltage divider (ADC0 - AIN9)
11
 
PA1 : Boost Enable
12
 
 
13
 
*/
 
1
// Sofirn SP10 Pro pinout
 
2
// Copyright (C) 2022-2023 (FIXME)
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
 
4
#pragma once
 
5
 
 
6
/*
 
7
 * ATTINY1616 Mapping:
 
8
 * PB5 : PWM small channel (TCA0 - WO2 Alternate MUX)
 
9
 * PB3 : eSwitch
 
10
 * PB0 : PWM big channel (TCA0 - WO0)
 
11
 * PB4 : Voltage divider (ADC0 - AIN9)
 
12
 * PA1 : Boost Enable
 
13
 */
14
14
 
15
15
 
16
16
#define LAYOUT_DEFINED
140
140
    .BOOTEND = FUSE_BOOTEND_DEFAULT,  // Boot Section End
141
141
};
142
142
 
143
 
 
144
 
#endif