Difference between TCCR and TCNT

dhruvrai23

Aug 21, 2012
2
Joined
Aug 21, 2012
Messages
2
Hi
Can anyone tell me the difference between TCCR and TCNT?
I am new to electronics, and not very familiar with complex things like this, it would be helpful if the explanation is for a newbie/rookie.
:)
 

GreenGiant

Feb 9, 2012
842
Joined
Feb 9, 2012
Messages
842
Can you elaborate on where you got those initialisms?

I just googled them and still have no idea what you are referring to, closest I could come was with the TCCR (T Cell Cytokine Receptor) but it sounds more like a biological thing than anything.
 

dhruvrai23

Aug 21, 2012
2
Joined
Aug 21, 2012
Messages
2
TCCR - timer counter control register
TCNT - i guess thats timer and counter

I just graduated from arduino to direct avr programming, and I am not an electronics engineer.
Also, It would be great if you could elaborate on what registers really are?
Thanx
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
TCCR - timer counter control register
TCNT - i guess thats timer and counter

Sounds like the names of registers?

Also, It would be great if you could elaborate on what registers really are?
Thanx

A register is simply a place that a value is stored (or latched)

In some cases it's like a memory location but faster (internal to the CPU), in other cases it's related to hardware status (could be called a port) and may be quite slow to access. They could also be memory mapped but have symbolic names.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
14,311
Joined
Nov 17, 2011
Messages
14,311
These registers are explained here.
You need to study the datasheet of the particular AVR. ALso I recommend you have a look at Atmel's application notes for that particular AVR.
You will come across many more of these "obscure" register names.
 
Top