ATTINY26-16PI Atmel, ATTINY26-16PI Datasheet - Page 81
![IC AVR MCU 2K 16MHZ IND 20-DIP](/photos/6/80/68043/313-20-dip_sml.jpg)
ATTINY26-16PI
Manufacturer Part Number
ATTINY26-16PI
Description
IC AVR MCU 2K 16MHZ IND 20-DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY26-16PI
Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
- Current page: 81 of 182
- Download datasheet (3Mb)
Register
Descriptions
USI Data Register –
USIDR
USI Status Register –
USISR
1477K–AVR–08/10
The USI uses no buffering of the serial register, i.e., when accessing the Data Register (USIDR)
the serial register is accessed directly. If a serial clock occurs at the same cycle the register is
written, the register will contain the value written and no shift is performed. A (left) shift operation
is performed depending of the USICS1..0 bits setting. The shift operation can be controlled by
an external clock edge, by a Timer/Counter0 overflow, or directly by software using the USICLK
strobe bit. Note that even when no wire mode is selected (USIWM1..0 = 0) both the external
data input (DI/SDA) and the external clock input (SCK/SCL) can still be used by the Shift
Register.
The output pin in use, DO or SDA depending on the wire mode, is connected via the output latch
to the most significant bit (bit 7) of the Data Register. The output latch is open (transparent) dur-
ing the first half of a serial clock cycle when an external clock source is selected (USICS1 = 1),
and constantly open when an internal clock source is used (USICS1 = 0). The output will be
changed immediately when a new MSB written as long as the latch is open. The latch ensures
that data input is sampled and data output is changed on opposite clock edges.
Note that the corresponding Data Direction Register (DDRB2/1) to the pin must be set to one for
enabling data output from the Shift Register.
The Status Register contains interrupt flags, line status flags and the counter value.
Note that doing a Read-Modify-Write operation on USISR Register, i.e., using the SBI or CBI
instructions, will clear pending interrupt flags. It is recommended that register contents is altered
by using the OUT instruction only.
• Bit 7 – USISIF: Start Condition Interrupt Flag
When Two-wire mode is selected, the USISIF flag is set (to one) when a start condition is
detected. When output disable mode or Three-wire mode is selected and (USICSx = 0b11 &
USICLK = 0) or (USICS = 0b10 & USICLK = 0), any edge on the SCK pin sets the flag.
An interrupt will be generated when the flag is set while the USISIE bit in USICR and the Global
Interrupt Enable Flag are set. The flag will only be cleared by writing a logical one to the USISIF
bit. Clearing this bit will release the start detection hold of SCL in Two-wire mode.
A start condition interrupt will wakeup the processor from all four sleep modes.
• Bit 6 – USIOIF: Counter Overflow Interrupt Flag
This flag is set (one) when the 4-bit counter overflows (i.e., at the transition from 15 to 0). An
interrupt will be generated when the flag is set while the USIOIE bit in USICR and the Global
Interrupt Enable Flag are set. The flag will only be cleared if a one is written to the USIOIF bit.
Clearing this bit will release the counter overflow hold of SCL in Two-wire mode.
A counter overflow interrupt will wakeup the processor from Idle sleep mode.
Bit
$0F ($2F)
Read/Write
Initial Value
Bit
$0E ($2E)
Read/Write
Initial Value
USISIF
R/W
MSB
R/W
7
0
7
0
USIOIF
R/W
6
0
R/W
6
0
USIPF
R/W
5
0
R/W
5
0
USIDC
R
4
0
R/W
4
0
USICNT3
R/W
3
0
R/W
3
0
USICNT2
R/W
2
0
R/W
2
0
USICNT1
R/W
R/W
1
0
1
0
USICNT0
LSB
R/W
R/W
0
0
0
0
USIDR
USISR
81
Related parts for ATTINY26-16PI
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-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:
![ATTINY26-16SUR](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K 16MHZ IND 20SOIC
Manufacturer:
Atmel
Datasheet: