Unused features?

Status
Not open for further replies.

MrMikey83

New Member
Using Codevision to program an ATmega32...
The features I'm not using dont need to have 0x00 written to them do they?
For example, I'm not using any Timer Interrupts so do I have to put TIMSK=0x00; or can I just delete that line and it will automatically set to 0x00?
~Mike
 
The unused special function registers will probably power up to a default state, probably 0x00, but there is no guarantee. It's a good idea to leave the initialization code in even if it just rewrites the default value.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…