beautypg.com

Scsi destination id (sdid), Register: 0x06, Register: 0x07 – Avago Technologies LSI53C1010R User Manual

Page 154

background image

4-36

Registers

Version 2.2

Copyright © 2000–2003 by LSI Logic Corporation. All rights reserved.

Register: 0x06

SCSI Destination ID (SDID)
Read/Write

R

Reserved

[7:4]

ENC

Encoded Destination SCSI ID

[3:0]

Writing these bits sets the SCSI ID of the intended
initiator or target during SCSI reselection or selection
phases, respectively. When executing SCRIPTS, the
SCRIPTS processor writes the destination SCSI ID to
this register. The SCSI ID is defined by the user in a
SCRIPTS Select or Reselect instruction. The value
written is the binary-encoded ID. The priority of the
16 possible IDs, in descending order, is:

Register: 0x07

General Purpose (GPREG)
Read/Write

A write to this register causes the data written to be output to the
appropriate GPIO pin if it is set to output mode in that function’s

General Purpose Pin Control (GPCNTL)

register.

To set the GPIO registers, follow these steps:

1.

Read the contents of the GPCNTL register.

2.

Read the contents of the GPREG register.

3.

Write the GPREG register.

4.

Write the GPCNTL register to control the pin for output/input.

7

4

3

0

R

ENC

x

x

x

x

0

0

0

0

Highest

Lowest

7

6

5

4

3

2

1

0 15 14 13 12 11 10 9

8

7

5

4

0

R

GPIO

x

x

x

0

x

x

x

x