Tt Time Mark Register (Addresses 0X6D & 0X6C); Tt Gap Control Register (Addresses 0X6F & 0X6E) - Bosch TTCAN User Manual

Ttcan ip module user's manual
Table of Contents

Advertisement

TTCAN
3.5.22 TT Time Mark Register (addresses 0x6D & 0x6C)
15
14
13
TMark
Time Mark
0x0000-0xFFFF An interrupt is generated when the time base indicated by TMC
Note : The Time Mark register can only be written while the time mark interrupt is disabled by TMC
3.5.23 TT Gap Control Register (addresses 0x6F & 0x6E)
15
14
13
EPE
Event Pin Enable
one
zero
TMG
Time Mark Gap
one
zero
FGp
Finish Gap
one
zero
Gap
Now is Gap
one
zero
GpH
Gap Herald
one
zero
NiG
Next is Gap
one
zero
The time master writes NiG to '1' to initiate a Gap. The Next_is_Gap bit will be transmitted as
'1' in the next Reference Message. As soon as that Reference Message is completed, the
GpH bit will announce the Gap to the time master as well as to the time slaves. The current
BOSCH
User's Manual
12
11
10
9
rw
(Cycle Time, Local Time, or Global Time) has the same value as
Time Mark.
12
11
10
9
res
r
The EVENT_TRIGGER pin controls the Gaps.
The application program controls the Gaps.
The next Reference Message is started when the Time Mark
Interrupt TMI becomes active.
The bit is reset automatically at each Reference Message.
The next Reference Message is started immediately when
Gap = '1' or else at the next Tx_Ref_Trigger. This bit is set in
TTMODE_3 by the CPU, by a Time Mark Interrupt if TMG = '1',
or by EVENT_TRIGGER pin = '0' if EPE = '1'.
The bit is reset automatically at each Reference Message.
The Gap time after the Basic Cycle has started and TTMODE_3.
No Gap in Schedule, this bit is reset automatically at each Refer-
ence Message and in nodes that are time slaves.
Next_is_Gap = '1' in Reference Message and TTMODE_3.
No Gap announced, this bit is reset automatically at each Refer-
ence Message with Next_is_Gap = '0'.
Next_is_Gap = '1' will be transmitted in next Reference Mes-
sage(s). This bit can only be set by the CPU in a node that is the
actual time master operating in TTMODE_3.
No action. The bit is reset automatically when any Reference
Message transmitted by another node is received.
8
7
6
TMark
8
7
6
EPE
res TMG FGp
rw
r
rw
- 39/77 -
5
4
3
2
rw
5
4
3
2
Gap GpH NiG
res
rw
r
r
Revision 1.6
1
0
0.
=
1
0
r
rw
11.11.02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents