Mouse Transmitter Firmware
Power Management for the Mouse
DRM050 — Rev 0
Designer Reference Manual
MOTOROLA
Mouse Transmitter Firmware
23
The main program continually checks the registers of the sensor to see
if any XY movement happened. If any XY movement is detected, it gets
the X and Y displacements from the sensor registers, puts them in the
FIFO buffer and sets the corresponding flags. For every ms timer tick, it
checks the Z movement and the buttons’ status. If new mouse data has
been detected, JB8 will initiate the RF data transmission through the
baseband RFW-D100 IC.
Apart from serving the interrupt events from the baseband D100 IC
during normal operation, IRQ serves as the periodical wakeup signal
when JB8 is in sleep mode. The JB8 must check whether there is any
new movement or if the buttons’ status changed. IRQ ISR firmware will
determine what appropriate actions must be taken.
4.3 Power Management for the Mouse
Figure 4-2. Power Management
Sensor turned on every
25ms, ZLED turned on
for every 700us
POWER SAVING
(STARTUP)
Sensor turned on every
25ms, ZLED turned on
for every 700us
POWER SAVING
(STARTUP)
Sensor fully turned on
ZLED turned on
for every 700us
HIGH CURRENT
Sensor fully turned on
ZLED turned on
for every 700us
HIGH CURRENT
Sensor and ZLED turned
on for every 250ms
SLEEP
xy no movement
for 5s
xyz no movement
and
no button for 50s
xy movement
xy movement
z movement
or button
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..