beautypg.com

7 control and status space register descriptions – Rainbow Electronics ATtiny10 User Manual

Page 105

background image

105

8127B–AVR–08/09

ATtiny4/5/9/10

14.7

Control and Status Space Register Descriptions

The control and status registers of the Tiny Programming Interface are mapped in the Control
and Status Space (CSS) of the interface. These registers are not part of the I/O register map
and are accessible via SLDCS and SSTCS instructions, only. The control and status registers
are directly involved in configuration and status monitoring of the TPI.

A summary of CSS registers is shown in

Table 14-11

.

14.7.1

TPIIR – Tiny Programming Interface Identification Register

• Bits 7:0 – TPIIC: Tiny Programming Interface Identification Code

These bits give the identification code for the Tiny Programming Interface. The code can be
used be the external programmer to identify the TPI. The identification code of the Tiny Pro-
gramming Interface is shown in

Table 14-12

..

14.7.2

TPIPCR – Tiny Programming Interface Physical Layer Control Register

• Bits 7:3 – Res: Reserved Bits

These bits are reserved and will always read zero.

Table 14-11. Summary of Control and Status Registers

Addr.

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0x0F

TPIIR

Tiny Programming Interface Identification Code

0x0E

...

0x03

Reserved

0x02

TPIPCR

GT2

GT1

GT0

0x01

Reserved

0x00

TPISR

NVMEN

Bit

7

6

5

4

3

2

1

0

CSS: 0x0F

Programming Interface Identification Code

TPIIR

Read/Write

R

R

R

R

R

R

R

R

Initial Value

0

0

0

0

0

0

0

0

Table 14-12. Identification Code for Tiny Programming Interface

Code

Value

Interface Identification

0x80

Bit

7

6

5

4

3

2

1

0

CSS: 0x02

GT2

GT1

GT0

TPIPCR

Read/Write

R

R

R

R

R

R/W

R/W

R/W

Initial Value

0

0

0

0

0

0

0

0