~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-noctigon-kr4.h

  • Committer: Selene ToyKeeper
  • Date: 2023-07-23 00:08:12 UTC
  • mto: (483.1.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 491.
  • Revision ID: bzr@toykeeper.net-20230723000812-lae16ybrvfm1lvlf
converted noctigon-dm11-* builds to multi-channel
(but I could only test dm11-boost on actual hardware)
(also, it looks like dm11-sbt90 is almost identical to the base kr4 build,
 so I removed its hwdef)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
/*
7
7
 * Pin / Name / Function
8
 
 *   1    PA6   FET PWM (direct drive) (PWM1B)
 
8
 *   1    PA6   FET PWM (direct drive) (PWM1B) (on some models)
9
9
 *   2    PA5   R: red aux LED (PWM0B)
10
10
 *   3    PA4   G: green aux LED
11
11
 *   4    PA3   B: blue aux LED
12
 
 *   5    PA2   button LED (D4V2.5 only)
 
12
 *   5    PA2   L: button LED (on some models)
13
13
 *   6    PA1   (none)
14
14
 *   7    PA0   (none)
15
15
 *   8    GND   GND
29
29
 *
30
30
 * Main LED power uses one pin to turn the Opamp on/off,
31
31
 * and one pin to control Opamp power level.
 
32
 * Linear brightness control uses the power level pin, with dynamic PWM.
32
33
 * The on/off pin is only used to turn the main LED on and off,
33
34
 * not to change brightness.
34
35
 * Some models also have a direct-drive FET for turbo.