X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3n-ek%2Fexamples%2Fsam3n-ek_display%2Fcfg%2Fcfg_phase.h;fp=boards%2Fsam3n-ek%2Fexamples%2Fsam3n-ek_display%2Fcfg%2Fcfg_phase.h;h=1ed5107679a9f6bada7acbd833c8690eeae9e965;hb=f20fc356270e0e09672f272b923867b7e9e87de7;hp=0000000000000000000000000000000000000000;hpb=a646f247a4733ae12b2a5372c23e367e3048efaf;p=bertos.git diff --git a/boards/sam3n-ek/examples/sam3n-ek_display/cfg/cfg_phase.h b/boards/sam3n-ek/examples/sam3n-ek_display/cfg/cfg_phase.h new file mode 100644 index 00000000..1ed51076 --- /dev/null +++ b/boards/sam3n-ek/examples/sam3n-ek_display/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 */