Modifying the HKCC for no readily apparent reason

Dependencies:   FastPWM3

Committer:
benkatz
Date:
Fri Mar 31 18:24:46 2017 +0000
Revision:
22:60276ba87ac6
Parent:
20:bf9ea5125d52
Child:
27:501fee691e0e
Encoder autocalibration for dc offset and harmonics

Who changed what in which revision?

UserRevisionLine numberNew contents of line
benkatz 20:bf9ea5125d52 1 #ifndef HW_CONFIG_H
benkatz 20:bf9ea5125d52 2 #define HW_CONFIG_H
benkatz 20:bf9ea5125d52 3
benkatz 20:bf9ea5125d52 4 #define PIN_U PA_10
benkatz 20:bf9ea5125d52 5 #define PIN_V PA_9
benkatz 20:bf9ea5125d52 6 #define PIN_W PA_8
benkatz 22:60276ba87ac6 7 #define ENABLE_PIN PA_11 // Enable gate drive pin
benkatz 22:60276ba87ac6 8 #define I_SCALE 0.02014160156f // Amps per A/D Count
benkatz 22:60276ba87ac6 9 #define DTC_MAX 0.95f // Max phase duty cycle
benkatz 22:60276ba87ac6 10 #define DTC_MIN 0.05f // Min phase duty cycle
benkatz 20:bf9ea5125d52 11
benkatz 20:bf9ea5125d52 12
benkatz 20:bf9ea5125d52 13 #endif