Datasheet

161
7728G–AVR–06/10
ATtiny87/ATtiny167
14.5.5 USIPP – USI Pin Position
Bits 7:1 – Res: Reserved Bits
These bits are reserved bits in the ATtiny87/167 and always reads as zero.
Bit 0 – USIPOS: USI Pin Position
Setting or clearing this bit changes the USI pin position.
Bit 76543210
-------USIPOSUSIPP
Read/WriteRRRRRRRR/W
Initial Value00000000
Table 14-3. USI Pin Position
USIPOS USI Pin Position
0
PortB
(Default)
DI, SDA PB0 - (PCINT8/OC1AU)
DO PB1 - (PCINT9/OC1BU)
USCK, SCL PB2 - (PCINT10/OC1AV)
1
Port A
(Alternate)
DI, SDA PA4 - (PCINT4/ADC4/ICP1/MOSI)
DO PA2 - (PCINT2/ADC2/OC0A/MISO)
USCK, SCL PA5 - (PCINT5/ADC5/T1/SCK)