Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

Back
Top