ATTINY261A-PU Atmel, ATTINY261A-PU Datasheet - Page 83
![IC, MCU, 8BIT, 2K FLASH, 20PDIP](/photos/19/6/190670/ge20pdip05-40_sml.jpg)
ATTINY261A-PU
Manufacturer Part Number
ATTINY261A-PU
Description
IC, MCU, 8BIT, 2K FLASH, 20PDIP
Manufacturer
Atmel
Datasheet
1.ATTINY461A-MU.pdf
(292 pages)
Specifications of ATTINY261A-PU
Controller Family/series
ATtiny
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
128Byte
Cpu Speed
20MHz
No.
RoHS Compliant
Core Size
8bit
Program Memory Size
2KB
Oscillator Type
External, Internal
Rohs Compliant
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY261A-PU
Manufacturer:
Atmel
Quantity:
1 462
- Current page: 83 of 292
- Download datasheet (9Mb)
11.10.2
11.10.3
8197B–AVR–01/10
TCCR0B – Timer/Counter0 Control Register B
TCNT0L – Timer/Counter0 Register Low Byte
• Bit 4 – TSM: Timer/Counter Synchronization Mode
Writing the TSM bit to one activates the Timer/Counter Synchronization mode. In this mode, the
value that is written to the PSR0 bit is kept, hence keeping the Prescaler Reset signal asserted.
This ensures that the Timer/Counter is halted and can be configured without the risk of advanc-
ing during configuration. When the TSM bit is written to zero, the PSR0 bit is cleared by
hardware, and the Timer/Counter start counting.
• Bit 3 – PSR0: Prescaler Reset Timer/Counter0
When this bit is one, the Timer/Counter0 prescaler will be Reset. This bit is normally cleared
immediately by hardware, except if the TSM bit is set.
• Bits 2, 1, 0 – CS02, CS01, CS00: Clock Select0, Bit 2, 1, and 0
The Clock Select0 bits 2, 1, and 0 define the prescaling source of Timer0.
Table 11-4.
If external pin modes are used for the Timer/Counter0, transitions on the T0 pin will clock the
counter even if the pin is configured as an output. This feature allows software control of the
counting.
The Timer/Counter0 Register Low Byte, TCNT0L, gives direct access, both for read and write
operations, to the Timer/Counter unit 8-bit counter. Writing to the TCNT0L Register blocks (dis-
ables) the Compare Match on the following timer clock. Modifying the counter (TCNT0L) while
the counter is running, introduces a risk of missing a Compare Match between TCNT0L and the
OCR0x Registers. In 16-bit mode the TCNT0L register contains the lower part of the 16-bit
Timer/Counter0 Register.
Bit
0x33 (0x53)
Read/Write
Initial Value
Bit
0x32 (0x52)
Read/Write
Initial Value
CS02
0
0
0
0
1
1
1
1
CS01
0
0
1
1
0
0
1
1
Clock Select Bit Description
R
7
0
-
R/W
7
0
CS00
0
1
0
1
0
1
0
1
R
0
6
-
R/W
6
0
Description
No clock source (Timer/Counter stopped)
clk
clk
clk
clk
clk
External clock source on T0 pin. Clock on falling edge.
External clock source on T0 pin. Clock on rising edge.
I/O
I/O
I/O
I/O
I/O
R
5
0
R/W
-
/(No prescaling)
/8 (From prescaler)
/64 (From prescaler)
/256 (From prescaler)
/1024 (From prescaler)
5
0
TSM
R/W
R/W
4
0
4
0
TCNT0L[7:0]
PSR0
R/W
R/W
3
0
3
0
CS02
R/W
R/W
2
0
2
0
CS01
R/W
R/W
1
0
1
0
CS01
R/W
R/W
0
0
0
0
TCNT0L
TCCR0B
83
Related parts for ATTINY261A-PU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny26](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY26-16MU](/photos/12/13/121313/attiny26-16mu_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ IND 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16SU](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ IND 20-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16PU](/photos/6/80/68043/313-20-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ IND 20-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16MI](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ IND 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16PI](/photos/6/80/68043/313-20-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ IND 20-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16SC](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ COM 20-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16SI](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ IND 20-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16MJ](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
ID MCU AVR 2K 5V 16MHZ 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16MQ](/photos/30/99/309943/qfn-32_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) AVR 2K FLASH 128B EE 128B SRAM ADC
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16MC](/photos/12/13/121302/attiny26-16mc_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ COM 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16PC](/photos/6/80/68043/313-20-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 16MHZ COM 20-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16PJ](/photos/6/80/68043/313-20-dip_tmb.jpg)
Part Number:
Description:
ID MCU AVR 2K 5V 16MHZ 20-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY26-16SJ](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
ID MCU AVR 2K 5V 16MHZ 20-SOIC
Manufacturer:
Atmel
Datasheet: