X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_phase.h;fp=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_phase.h;h=572029305ed0dc8ee550aa9b5e028a2998620725;hb=a256e501c16b63a423267f8621d6bdcda20d3f3a;hp=0000000000000000000000000000000000000000;hpb=316505254b7c56603441d01182c5e71470f1a3ff;p=bertos.git diff --git a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_phase.h b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_phase.h new file mode 100644 index 00000000..57202930 --- /dev/null +++ b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_phase.h @@ -0,0 +1,56 @@ +/** + * \file + * + * + * \brief Configuration file for phase module. + * + * \version $Id$ + * \author Daniele Basile + */ + +#ifndef CFG_PHASE_H +#define CFG_PHASE_H + +/** + * Max value of the duty cycle on triac. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_TRIAC_MAX_DUTY 100 + +/** + * Max value of the triac power. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_TRIAC_MAX_POWER 100 + +#endif /* CFG_PHASE_H */