+ DAC12_0DAT = 0xFFF; //Max voltage 0xfff\r
+ DAC12_1CTL = DAC12IR + DAC12AMP_5 + DAC12ENC; // Int ref gain 1\r
+ DAC12_1DAT = 0x000; //Min voltage 0x000\r
+#endif\r
+ \r
+ /** FIXME\r
+ \r
+ This part is really ugly. GSEL (P5.7) must be high to select\r
+ normal voltage, but a lot of applications light to swing it low\r
+ to be a nuissance. To get around this, we assume that anyone\r
+ with a glitching FET will also have a DAC, then we set that DAC\r
+ to a high voltage.\r
+ \r
+ At some point, each target must be sanitized to show that it\r
+ doesn't clear P5OUT or P5DIR.\r
+ */\r
+ P5DIR|=BIT7; P5OUT=BIT7; //Normal Supply\r
+ P5DIR&=~BIT7; //Glitch Supply\r