attiny167-esxz ATMEL Corporation, attiny167-esxz Datasheet - Page 83

no-image

attiny167-esxz

Manufacturer Part Number
attiny167-esxz
Description
8-bit Avr 8-bit Microcontroller Microcontroller With 16k Bytes In-system Programmable Flash And Lin Controller
Manufacturer
ATMEL Corporation
Datasheet
10. 8-bit Timer/Counter0 and Asynchronous Operation
10.1
10.2
7728A–AUTO–07/08
Features
Overview
Timer/Counter0 is a general purpose, single channel, 8-bit Timer/Counter module. The main
features are:
Many register and bit references in this section are written in general form.
A simplified block diagram of the 8-bit Timer/Counter is shown in
placement of I/O pins, refer to
including I/O bits and I/O pins, are shown in bold. The device-specific I/O Register and bit loca-
tions are listed in the
• A lower case “n” replaces the Timer/Counter number, in this case 0. However, when using
• A lower case “x” replaces the Output Compare unit channel, in this case A. However, when
Single Channel Counter
Clear Timer on Compare Match (Auto Reload)
Glitch-free, Phase Correct Pulse Width Modulator (PWM)
Frequency Generator
10-bit Clock Prescaler
Overflow and Compare Match Interrupt Sources (TOV0 and OCF0A)
Allows Clocking from External Crystal (i.e. 32 kHz Watch Crystal) Independent of the I/O Clock
the register or bit defines in a program, the precise form must be used, i.e., TCNT0 for
accessing Timer/Counter0 counter value and so on.
using the register or bit defines in a program, the precise form must be used, i.e., OCR0A for
accessing Timer/Counter0 output compare channel A value and so on.
”8-bit Timer/Counter Register Description” on page
”Pin Configuration” on page
4. CPU accessible I/O Registers,
Figure
96.
10-1. For the actual
ATtiny167
83

Related parts for attiny167-esxz