77 lines
1.4 KiB
Plaintext
77 lines
1.4 KiB
Plaintext
menu "This project config"
|
|
menu "Pins definition"
|
|
config OUT_VOLT_PIN
|
|
int "Output voltage"
|
|
default 2
|
|
help
|
|
Output voltage measurement pin
|
|
|
|
config OUT_OVERVOLT_PIN
|
|
int "Output Overvoltage"
|
|
default 5
|
|
help
|
|
Output overvoltage signal pin
|
|
|
|
config OUT_EN_PIN
|
|
int "Output enable"
|
|
default 9
|
|
help
|
|
Output enable signal pin
|
|
|
|
config nOUT_EN_PIN
|
|
int "Output disable"
|
|
default 10
|
|
help
|
|
Output disable signal pin
|
|
|
|
config OUT_CURR_PIN
|
|
int "Output current"
|
|
default 1
|
|
help
|
|
Output current measurement pin
|
|
|
|
menu "Phases current measurement pins"
|
|
config PHASE1_CURR_PIN
|
|
int "Phase 1"
|
|
default 0
|
|
config PHASE2_CURR_PIN
|
|
int "Phase 2"
|
|
default 3
|
|
config PHASE3_CURR_PIN
|
|
int "Phase 3"
|
|
default 4
|
|
endmenu
|
|
|
|
menu "Phases control signal pins"
|
|
config PHASE1_CON_PIN
|
|
int "Phase 1"
|
|
default 6
|
|
config PHASE2_CON_PIN
|
|
int "Phase 2"
|
|
default 7
|
|
config PHASE3_CON_PIN
|
|
int "Phase 3"
|
|
default 8
|
|
endmenu
|
|
endmenu
|
|
|
|
menu "Controller parameters"
|
|
config SW_FREQ
|
|
int "Switching frequency"
|
|
default 800000
|
|
help
|
|
Controller switching frequency
|
|
|
|
config SW_RES
|
|
int "Switching resolution (bits)"
|
|
default 6
|
|
help
|
|
Controller switching resolution in bits (depends on the frequency)
|
|
|
|
config UPD_DELAY
|
|
int "Update delay (ms)"
|
|
default 100
|
|
help
|
|
Time between controller update
|
|
endmenu
|
|
endmenu |