Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 40
5 Second data Running seconds data in BCD format
6 Minute data Running minute data in BCD format
7 Hour data Running hours data in BCD format
8 Linked TMR ID Index Link to TMR Resource
9 Linked STP ID Index Link to STP Resource
Resource flag bit definitions:
Bit Name Description
0
bKReserved
Resource is owned
1
bKActive
Resource is active
2
bKDispUpdRequest
Display update request
3
bKTMRLink
Link to a timer resource
4
bKSTPLink
Link to a stopwatch resource
5
bKNotReset
Indicates resource is not in reset state
6
bKGeneratePopup
Popup Request for resource events
7
bKGenerateEvent
Event Request for resource events
Update flag bit definitions:
Bit Name Description
0
bKSTPSecondUpd
Seconds data has been updated
1
bKSTPMinuteUpd
Minute data has been updated
2
bKSTPHourUpd
Hour data has been updated
3
Unused
4
Unused
5
Unused
6
Unused
7
BKSTPRunout
Indicates if stopwatch resource has run out
0 = not reached maximum time
1 = reached maximum time (100 Hours)
INVOKING A SYNCHRO RESOURCE
A synchro resource is automatically started if a stopwatch resource is started from reset. The
application will not do anything to make this happen. The synchro resource now keeps track of
the application that started it. When the stopwatch resource is stopped, the synchro stoppage timer
will automatically started. If started again, the synchro stoppage timer will stop.
4.6.8 Synchro Resource
The Synchro resource is a special type of stopwatch resource that is always linked to start when a timer or
stopwatch resource is started from reset. The resource will activate its stoppage counters when the timer or
stopwatch resource that started it is stopped by the user.
The synchro resource can only be reset under application control.
If a synchro resource is currently active and a stopwatch or timer resource is started from reset, the synchro
resource is reset and started from 0:00.00.
The following tables show the data structure of the synchro resource.
SYNCHRO Resource Data Structure:
Offset Data Type Description