17.11.2014 Views

Designing a Low-Cost USB Mouse with the Cypress Semiconductor ...

Designing a Low-Cost USB Mouse with the Cypress Semiconductor ...

Designing a Low-Cost USB Mouse with the Cypress Semiconductor ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Designing</strong> a <strong>Low</strong>-<strong>Cost</strong> <strong>USB</strong> <strong>Mouse</strong><br />

Remote Wake-Up<br />

Clear Cext<br />

Compare Port 0 value<br />

to stored Port 0 value<br />

Check for mouse or a button press<br />

Same<br />

Y<br />

If same, no mouse movement<br />

N<br />

Write RESUME bit<br />

03h to <strong>USB</strong> Status and<br />

Control reg.<br />

If different, wake-up host<br />

Loop for 10 ms<br />

(remember to reset<br />

WD timer)<br />

Send resume signal for 10 ms<br />

Clear RESUME bit<br />

write 00h to <strong>USB</strong> Status<br />

and Control reg<br />

Set Cext to High Z<br />

Return<br />

Figure 17. Remote Wake-Up Interrupt<br />

© <strong>Cypress</strong> <strong>Semiconductor</strong> Corporation, 1997. The information contained herein is subject to change <strong>with</strong>out notice. <strong>Cypress</strong> <strong>Semiconductor</strong> Corporation assumes no responsibility for <strong>the</strong> use<br />

of any circuitry o<strong>the</strong>r than circuitry embodied in a <strong>Cypress</strong> <strong>Semiconductor</strong> product. Nor does it convey or imply any license under patent or o<strong>the</strong>r rights. <strong>Cypress</strong> <strong>Semiconductor</strong> does not authorize<br />

its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to <strong>the</strong> user. The inclusion of <strong>Cypress</strong><br />

<strong>Semiconductor</strong> products in life-support systems application implies that <strong>the</strong> manufacturer assumes all risk of such use and in doing so indemnifies <strong>Cypress</strong> <strong>Semiconductor</strong> against all charges.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!