Maxim Integrated 11-8
MAX31782 User’s Guide
Revision 0; 8/11
11.4 GPIO Code Example
//setpin6.4asahighoutput
PD6|=0x10; //setdirectionPD6.4to1foranoutput
PO6|=0x10; //settheoutputPO6.4high
//setpin6.4asahigh-impedanceinput
PD6&=~0x10; //setdirectionPD6.4to0forinput
PO6&=~0x10; //setPO6.4lowtodisableweakpullup
//enablethepin6.4weakpullup
PD6&=~0x10; //setdirectionPD6.4to0forinput
PO6|=0x10; //setPO6.4hightoenableweakpullup
Comentários a estes Manuais