X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_tcp_server%2Fcfg%2Fcfg_phase.h;fp=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_tcp_server%2Fcfg%2Fcfg_phase.h;h=1ed5107679a9f6bada7acbd833c8690eeae9e965;hb=68cde3a340e6684e7f43bb2889d8625f8a4608a4;hp=0000000000000000000000000000000000000000;hpb=aea9d17572b7fa5f8e05aae6639a3deff4f79aaf;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_tcp_server/cfg/cfg_phase.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_tcp_server/cfg/cfg_phase.h new file mode 100644 index 00000000..1ed51076 --- /dev/null +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_tcp_server/cfg/cfg_phase.h @@ -0,0 +1,55 @@ +/** + * \file + * + * + * \brief Configuration file for phase module. + * + * \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 */