MOTOROLA
MC68838 USER’S MANUAL
3- 29
register 2D are always read as zeros even though the timer itself is stored in twos
complement value. The TRT counter holds the twos complement of the time remaining in
80-ns units. For example, if register 2C held FF3C (196 in decimal) and register 2D held
FFFE (1 in decimal with a weighting of 216), then the time remaining would be (196
× 80
) +
(65536
×
80) = 15.68 + 5242.88 = 5258.56
µ
s.
1F
1E
1D
1C
1B
1A
19
18
0
0
0
0
0
0
0
0
17
16
15
14
13
12
11
10
TRT_TIMER (MOST SIGNIFICANT)
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
TRT_TIMER (LEAST SIGNIFICANT)
3.6.3 THT Timer, Sent Count Registers (THT_TIMER_A, THT_TIMER_B/
SENT_COUNT)
Since the THT timer is 24-bits wide, the NP may need to read it in two consecutive reads
(only when T_Opr is > = 5.242880 ms). Because this register can (and usually will) change
between the two read operations, care must be taken to get a consistent value.
The least significant 16 bits of the THT timer occupy register address 2E, and the most
significant 8 bits of the THT timer occupy bits 7–0 of register 2F. Bits 15 and 7 are the
least significant, and bit 0 is the most significant in each register. The THT counter holds
the twos complement of the time remaining in 80-ns units.
The upper 8 bits of register 2F holds the 8 MSBs of the 10-bit SENT_COUNT register as
an unsigned integer between 0 and 255 inclusive. The SENT_COUNT is the count of
outstanding frames, up to 1023 frames—i.e., the number of frames transmitted
(incremented two BYTCLK cycles after the frame's FS is sent) minus the number
of frames received (decremented when a frame's T-symbol has been received). The
granularity of this register is four, so the number of outstanding frames is the value of
SENT_COUNT times four. SENT_COUNT is used in BRIDGE_STRIP mode to determine
whether a frame was sent by this station or not. All data frames as well as special void
frames are counted. Claim and beacon frames are not counted. This count is cleared by
the receiver upon receipt of a LOWER_CLAIM, MY_CLAIM, HIGHER_CLAIM,
OTHER_CLAIM, OTHER_BEACON, MY_BEACON, special void frame, or token. lt is also
cleared when RING_OPERATIONAL is false or when the MAC is turned off (MAC_ON =
0).
ARCHIVE INFORMA
TION
ARCHIVE INFORMA
TION
Summary of Contents for MC68838
Page 20: ...2 8 MC68838 USER S MANUAL MOTOROLA ARCHIVE INFORMATION ARCHIVE INFORMATION ...
Page 63: ...5 4 MC68838 USER S MANUAL MOTOROLA ARCHIVE INFORMATION ARCHIVE INFORMATION ...
Page 65: ...6 2 MC68838 USER S MANUAL MOTOROLA ARCHIVE INFORMATION ARCHIVE INFORMATION ...
Page 82: ...9 6 MC68838 USER S MANUAL MOTOROLA ARCHIVE INFORMATION ARCHIVE INFORMATION ...
Page 86: ...10 4 MC68838 USER S MANUAL MOTOROLA ARCHIVE INFORMATION ARCHIVE INFORMATION ...
Page 98: ...12 6 MC68838 USER S MANUAL MOTOROLA ARCHIVE INFORMATION ARCHIVE INFORMATION ...