Am I correct that to disable the reset pin of Attiny85, and use it as an IO pin, I need to disable the reset fuse bit(RSTDSBL)?

If so, should my RSTDSBL bit be 1 (assuming 1 = yes, disable)?

I am a little confused, because it looks like my reset pin got disabled only after I set the RSTDSBL bit to 0 (which is reverse of the logic I expected).

  • 1
    Please not that after programming the fuse you CAN NOT use an in-circuit programmer any more. – Vorac Nov 9 '15 at 13:27
up vote 8 down vote accepted

AVR fuses use negative logic; 1 means the fuse is unprogrammed/unset, while 0 means it's programmed/set. Thus, if the documentation says to program RSTDISBL, that means you should set it to 0.

  • Thanks for the response. Now it makes all sense and can go to bed! (I wilt accept it as the answer in 8 min; apparently I can't accept it so soon). – Adam Lee Nov 9 '15 at 11:43

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.