Skip to main content

Part of the book series: Computer Communications and Networks ((CCN))

  • 1944 Accesses

Abstract

Measuring and controlling durations of events in the outside world is a key requirement for real-time systems.

Coverage includes the Watchdog timer to improve robustness, timer modules 0 through 3 characteristics and configuration, together with their interaction with the Enhaced Capture/Compare/PWM (ECCP) modules to measure the time an external event occurs, to generate precise event durations or to control the action of a peripheral device, such as a motor, using pulse width modulation. Also discussed is the interaction of these time-related modules with the interrupt system to give real-time capabilities.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The same can happen as a result of software bugs.

  2. 2.

    As in a Window’s® PC.

  3. 3.

    Other approaches typically are based on a retriggerable monostable.

  4. 4.

    Early PIC18 devices, such as the PIC18F452, had an 8-bit Postscaler; as did earlier families.

  5. 5.

    In earlier families, the Option register OPTION_REG was used to configure Timer 0, the WDT module and more besides.

  6. 6.

    The PIC24 family have up to nine additional timers.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sid Katzen .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag London Limited

About this chapter

Cite this chapter

Katzen, S. (2010). Time Is of the Essence. In: The Essential PIC18® Microcontroller. Computer Communications and Networks. Springer, London. https://doi.org/10.1007/978-1-84996-229-2_13

Download citation

  • DOI: https://doi.org/10.1007/978-1-84996-229-2_13

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84996-228-5

  • Online ISBN: 978-1-84996-229-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics