~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-Wurkkos_TS10.h

  • Committer: Selene ToyKeeper
  • Date: 2023-04-17 06:08:32 UTC
  • mto: (483.1.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 491.
  • 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_BLF_Q8_T1616_H
2
 
#define HWDEF_BLF_Q8_T1616_H
3
 
 
4
 
/* BLF Q8 driver layout using the Attiny1616
5
 
 
6
 
Driver pinout:
 
1
// Wurkkos TS10 driver layout
 
2
// Copyright (C) 2022-2023 (FIXME)
 
3
// SPDX-License-Identifier: GPL-3.0-or-later
 
4
#pragma once
 
5
 
 
6
/*
 
7
 * (based on BLF Q8-t1616 driver layout)
 
8
 * Driver pinout:
7
9
 * eSwitch:    PA5
8
10
 * Aux LED:    PB5
9
11
 * PWM FET:    PB0 (TCA0 WO0)
10
12
 * PWM 1x7135: PB1 (TCA0 WO1)
11
13
 * Voltage:    VCC
12
 
 
13
 
*/
14
 
 
 
14
 */
15
15
 
16
16
#define LAYOUT_DEFINED
17
17
 
113
113
    TCA0.SINGLE.CTRLA = TCA_SINGLE_CLKSEL_DIV1_gc | TCA_SINGLE_ENABLE_bm;
114
114
}
115
115
 
116
 
 
117
 
#endif