Skip to Content
Programming with STM32: Getting Started with the Nucleo Board and C/C++
book

Programming with STM32: Getting Started with the Nucleo Board and C/C++

by Donald Norris
March 2018
Intermediate to advanced
304 pages
7h 3m
English
McGraw-Hill Education TAB
Content preview from Programming with STM32: Getting Started with the Nucleo Board and C/C++

7

Timers

Timer peripherals are very important components within a MCU. Many embedded applications are time or temporal dependent and timers are the primary means by which the MCU controls the application. While it is certainly possible to use a MCU to directly time processes, it would be great waste of processing power and highly inefficient approach. Using hardware timers along with interrupts is really the only practical way to implement embedded time-dependent applications. Fortunately, there is a powerful timer variety provided by STM in its line of MCUs.

STM Timer Peripherals

A timer is simply a free-running counter that counts pulses from a clock source. Since the pulse train from a clock source has a known period or interval between ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bare-Metal Embedded C Programming

Bare-Metal Embedded C Programming

Israel Gbati

Publisher Resources

ISBN: 9781260031324