beautypg.com

Spw-10x spacewire router, User manual, Preliminary – Atmel SpaceWire Router SpW-10X User Manual

Page 123: 7 general purpose register, 8 time-code enable register

background image

Ref.: UoD_SpW-10X_

UserManual

Issue: 3.4

SpW-10X

SpaceWire Router

User Manual

Date: 11

th

July 2008

Preliminary

123

9.5.7 General Purpose Register

The general purpose register address is 262 (0x0000 0106).

The general purpose register contains 32-bits and may be set by a configuration write command to a
user defined value as required. It may also be read with a configuration read command. The general
purpose register has no effect on the operation of the router.

The least-significant 8-bits of the general purpose register are available on the multiplexed status pins,
see section 6.3.

9.5.8 Time-Code Enable Register

The time-code enable register address is 263 (0x0000 0107).

The time-code enable register enables the passing of time-codes out of individual ports on the router.
Bits 1 to 8 of the time-code enable register are used to enable time-code distribution through
SpaceWire ports 1 to 8 respectively. If one of these bits is set to 1 then the corresponding SpaceWire
port is enabled for time-code distribution and will send out a time-code when one is received by the
router. For example, if bit-1 in the enable register is set to 1, time-codes are passed to SpaceWire port
1, whereas if bit-1 is set to 0, time-codes are not passed to SpaceWire port 1.

Bit-9 of the time-code enable register controls time-code distribution to the external time-code
interface in a similar manner. Note that there is only one external time-code interface although there
are two External ports.

The fields of the time-code enable register are shown in Figure 9-9 and described in Table 9-14.

Reserved

31

8

External time-code interface enable

9

13

0

1

Not used

Time-code enable

12

11,10

Not used

Time-code flag mode

Figure 9-9 Time-Code Enable Register Fields