~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-FET_7135.h

  • Committer: Selene Scriven
  • Date: 2018-12-18 21:43:52 UTC
  • mto: This revision was merged to the branch mainline in revision 397.
  • Revision ID: bzr@toykeeper.net-20181218214352-gke3b4pg3ms004ei
Reworked the config file include system so it'll include the #defined value
instead of having to hard-code a bunch of specific recognized values.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef HWDEF_FET_7135_H
 
2
#define HWDEF_FET_7135_H
 
3
 
1
4
/* FET + 7135 driver layout
2
5
 *           ----
3
6
 *   Reset -|1  8|- VCC
30
33
#define FAST 0xA3           // fast PWM both channels
31
34
#define PHASE 0xA1          // phase-correct PWM both channels
32
35
 
 
36
#define LAYOUT_DEFINED
 
37
 
 
38
#endif