16F684 weak pull-ups?
Posted: Mon May 04, 2009 12:55 pm
Hi,
I'm trying to activate the internal A-reg weak pull-ups in an 16F684. I have the following C-code block:
//enable weak pullups
//C Code:
option_reg = option_reg & 0b01111111; //enable wpua
//weak pullup on A
//C Code:
wpua = 0b00110111; //wpua on all
The wpua... line generates a compiler error. I checked the 16F684.fcd and didn't find anything on the weak pullup register. Is this not implemented in the F684?
Thanks,
Jan Didden
I'm trying to activate the internal A-reg weak pull-ups in an 16F684. I have the following C-code block:
//enable weak pullups
//C Code:
option_reg = option_reg & 0b01111111; //enable wpua
//weak pullup on A
//C Code:
wpua = 0b00110111; //wpua on all
The wpua... line generates a compiler error. I checked the 16F684.fcd and didn't find anything on the weak pullup register. Is this not implemented in the F684?
Thanks,
Jan Didden