Register summary, Attiny28l/v – Rainbow Electronics ATtiny28L User Manual
Page 68
68
ATtiny28L/V
1062E–10/01
Notes:
1. For compatibility with future devices, reserved bits should be written to zero if accessed. Reserved I/O memory addresses
should never be written.
2. Some of the status flags are cleared by writing a logical “1” to them. Note that the CBI and SBI instructions will operate on all
bits in the I/O register, writing a one back into any flag read as set, thus clearing the flag. The CBI and SBI instructions work
with registers $00 to $1F only.
Register Summary
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
$3F
SREG
I
T
H
S
V
N
Z
C
$3E
Reserved
...
Reserved
$20
Reserved
$1F
Reserved
$1E
Reserved
$1D
Reserved
$1C
Reserved
$1B
PORTA
-
-
-
-
PORTA3
PORTA2
PORTA1
PORTA0
$1A
PACR
-
-
-
-
DDA3
PA2HC
DDA1
DDA0
$19
PINA
-
-
-
-
PINA3
-
PINA1
PINA0
$18
Reserved
$17
Reserved
$16
PINB
PINB7
PINB6
PINB5
PINB4
PINB3
PINB2
PINB1
PINB0
$15
Reserved
$14
Reserved
$13
Reserved
$12
PORTD
PORTD7
PORTD6
PORTD5
PORTD4
PORTD3
PORTD2
PORTD1
PORTD0
$11
DDRD
DDD7
DDD6
DDD5
DDD4
DDD3
DDD2
DDD1
DDD0
$10
PIND
PIND7
PIND6
PIND5
PIND4
PIND3
PIND2
PIND1
PIND0
$0F
Reserved
$0E
Reserved
$0D
Reserved
$0C
Reserved
$0B
Reserved
$0A
Reserved
$09
Reserved
$08
ACSR
ACD
-
ACO
ACI
ACIE
-
ACIS1
ACIS0
$07
MCUCS
PLUPB
-
SE
SM
WDRF
-
EXTRF
PORF
$06
ICR
INT1
INT0
LLIE
TOIE0
ISC11
ISC10
ISC01
ISC00
$05
IFR
INTF1
INTF0
-
TOV0
-
-
-
-
$04
TCCR0
FOV0
-
-
OOM01
OOM00
CS02
CS01
CS00
$03
TCNT0
Timer/Counter0 (8-bit)
$02
MODCR
ONTIM4
ONTIM3
ONTIM2
ONTIM1
ONTIM0
MCONF2
MCONF1
MCONF0
$01
WDTCR
-
-
-
WDTOE
WDE
WDP2
WDP1
WDP0
$00
OSCCAL
Oscillator Calibration Register