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