ATtiny261 Atmel Corporation, ATtiny261 Datasheet - Page 118

no-image

ATtiny261

Manufacturer Part Number
ATtiny261
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny261

Flash (kbytes)
2 Kbytes
Pin Count
20
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny261-15MAZ
Manufacturer:
TI
Quantity:
15
Part Number:
ATtiny261-15MZ
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
ATtiny261-15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny261-15XZ
Manufacturer:
Micrel
Quantity:
116
Part Number:
ATtiny261-20MU
Manufacturer:
AVNET
Quantity:
20 000
Part Number:
ATtiny261-20PU
Manufacturer:
ATMEL
Quantity:
256
Part Number:
ATtiny261-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny261-XZ
Manufacturer:
ATMEL
Quantity:
5
Company:
Part Number:
ATtiny261A-SU
Quantity:
7 000
Company:
Part Number:
ATtiny261V-10MU
Quantity:
496
Part Number:
ATtiny261V-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
12.12.4
118
ATtiny261/461/861
TCCR1D – Timer/Counter1 Control Register D
Table 12-20
set to Phase and Frequency Correct PWM Mode.
Table 12-20. Compare Output Mode, Phase and Frequency Correct PWM Mode
• Bit 1 – FOC1D: Force Output Compare Match 1D
The FOC1D bit is only active when the PWM1D bit specify a non-PWM mode.
Writing a logical one to this bit forces a change in the Waveform Output (OCW1D) and the Out-
put Compare pin (OC1D) according to the values already set in COM1D1 and COM1D0. If
COM1D1 and COM1D0 written in the same cycle as FOC1D, the new settings will be used. The
Force Output Compare bit can be used to change the output pin value regardless of the timer
value. The automatic action programmed in COM1D1 and COM1D0 takes place as if a compare
match had occurred, but no interrupt is generated. The FOC1D bit is always read as zero.
• Bit 0 – PWM1D: Pulse Width Modulator D Enable
When set (one) this bit enables PWM mode based on comparator OCR1D.
• Bit 7 – FPIE1: Fault Protection Interrupt Enable
Setting this bit (to one) enables the Fault Protection Interrupt.
• Bit 6 – FPEN1: Fault Protection Mode Enable
Setting this bit (to one) activates the Fault Protection Mode.
• Bit 5 – FPNC1: Fault Protection Noise Canceler
Setting this bit activates the Fault Protection Noise Canceler. When the noise canceler is acti-
vated, the input from the Fault Protection Pin (INT0) is filtered. The filter function requires four
successive equal valued samples of the INT0 pin for changing its output. The Fault Protection is
therefore delayed by four Oscillator cycles when the noise canceler is enabled.
• Bit 4 – FPES1: Fault Protection Edge Select
This bit selects which edge on the Fault Protection pin (INT0) is used to trigger a fault event.
When the FPES1 bit is written to zero, a falling (negative) edge is used as trigger, and when the
FPES1 bit is written to one, a rising (positive) edge will trigger the fault.
Bit
0x26 (0x46)
Read/Write
Initial value
COM1D1:0
00
01
10
11
shows the COM1D1:0 bit functionality when the PWM1D and WGM11:10 bits are
FPIE1
OCW1D Behaviour
Normal port operation.
Cleared on Compare Match when up-counting.
Set on Compare Match when down-counting.
Cleared on Compare Match when up-counting.
Set on Compare Match when down-counting.
Set on Compare Match when up-counting.
Cleared on Compare Match when down-counting.
R/W
7
0
FPEN1
R/W
6
0
FPNC1
R/W
5
0
FPES1
R/W
4
0
FPAC1
R/W
3
0
FPF1
R/W
2
0
OC1D Pin
Disconnected
Connected
Connected
Connected
WGM11
R/W
1
0
WGM10
R/W
OC1D Pin
Disconnected
Connected
Disconnected
Disconnected
0
0
2588E–AVR–08/10
TCCR1D

Related parts for ATtiny261