[ Log In ]
Image of the Atmega324p

Atmega324P

$8.50
Qty:
Microcontroller Kit with DVD

Microcontroller Beginner Kit with Beginning Microcontrollers DVD

$49.95
Qty:
USB AVR programmer

USB AVR Programmer

$9.95
Qty:
Microcontroller Beginner Kit

Microcontroller Beginner Kit

$39.95
Qty:
Microcontroller Intermediate Kit

Microcontroller Intermediate Kit

$79.95
Qty:
Microcontroller Intermediate Kit with DVD

Microcontroller Intermediate Kit with DVD

$89.95
Qty:
Microcontroller Advanced Kit

Microcontroller Advanced Kit

$119.95
Qty:
Microcontroller Advanced Kit with DVD

Microcontroller Advanced Kit with DVD

$129.95
Qty:
Microcontroller Kit
Microcontroller Tutorial DVD

Beginning Microcontrollers Tutorial

$14.99
Qty:

Datasheet: Understanding the AVR Timer/Counter

The control register of the timer/counter is TCCR1A and TCCR1B since the register is 16-bit, two 8-bit register designations are made. Each bit of the register is like a switch to turn on or off to control some aspect of the timer/counter.

TCCR1A has these switches: COM1A1, COM1A0, COM1B1, COM1B0, FOC1A, FOC1B, WGM11, WGM10.

To start the times, we will use the Clock Select CS12, CS11 and CS10. These control the prescaling of the clock source (i.e. how many actual clock ticks to ignore when counting). Setting only CS10 to 1 or high, this will set the timer/count to count with the clock source with no prescaling.

Comments and Additional Information

Have some code to share? Or additional information? Respond here:

You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.

Description:

Code (optional):