Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 65
For a ring-set mechanism selecting a mode, a clockwise move will select the next mode. In setting data, a
clockwise movement will increment the data. The swap operation will have no effect for a ring-set
mechanism.
For a crown-set mechanism, a clockwise movement will select the previous mode. In setting data, a
clockwise movement will increment the data. The swap operation was meant to handle this reverse
operation to be transparent to the application.
Swap Macro Description
CORE_RESET_LOGIC_CW_AND_CCW_TO
_BOND_OPTIONS
Send the default CW and CCW events as dictated
by the bond option setting.
CORE_REVERSE_LOGIC_CW_AND_CCW
Invert the current status of sending CW and CCW
events to the application.
4.20.2 Ring/Crown Acceleration
In set operation, a typical application might use the edge events to toggle or select between a few
selections. To select from a range of numbers, the application might elect to receive pulses so it can make
use of data acceleration.
To enable pulses to be sent to the application, the kernel provides two macros to enable and disable the
pulse feature.
Request Description
CORE_ENABLE_PULSE_MODE
Sets the PulseMode flag. This will send out
CW/CCW pulse events.
CORE_DISABLE_PULSE_MODE
Clears the PulseMode flag. This will send out
CW/CCW edge events.
Acceleration converts the number of pulses generated within a window into predetermined values to allow
faster setting of the data variables when the user turns the crown or ring fast. The predetermined values are
defined such that if the ring or crown is turned slowly, it will only increment in single steps. Below is the
predefined table of values for acceleration.
Used for most application setting that increments by 1:
Table Name:
utlAccelerationTable
utlAccelerationTable1Sec
utlAccelerationTable1Min
Number of Pulses Accelerated Value
1 0x01
2 0x02
3 0x18
4 0x28
Used for application setting that increments by 5:
Table Name:
utlAccelerationTable5Min
Number of Pulses Accelerated Value