The default behavior for multichannel readings using
Msp430Adc12MultiChannel does an auto-configure of the i/o
pins every time the programmer does a read.  My sensors
don't like this much, so I would like to avoid it.

so it looks like I should be able to call the following functions
after the a/d resource is granted for a given input channel (inch):
HplMsp430GeneralIOC.Port6(inch).selectModuleFunc()
HplMsp430GeneralIOC.Port6(inch).makeInput()

Obviously, I would have to undefine ADC12_P6PIN_AUTO_CONFIGURE
in Msp430Adc12.h

Am I missing some side effects from this?
Eric
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to