Jump to main content
Getting Started with Timers/Counters on PIC18
Search
Introduction
1
Peripheral Overview
2
Using TMR0 in 8-bit Mode with Periodic Interrupt
2.1
MCC Generated Code
2.2
Bare Metal Code
3
Using and Operating TMR0 in 16-bit Mode while the Microcontroller is in Sleep
3.1
MCC Generated Code
3.2
Bare Metal Code
4
Using TMR0 in 8-bit Mode and to Generate an Output Signal
4.1
MCC Generated Code
4.2
Bare Metal Code
5
Using TMR1 Gate to Measure Frequency
5.1
MCC Generated Code
5.2
Bare Metal Code
6
Using TMR1 to Trigger a Special Event
6.1
MCC Generated Code
6.2
Bare Metal Code
7
Using TMR1 Gate to Measure Short vs. Long Button Press
7.1
MCC Generated Code
7.2
Bare Metal Code
8
Using TMR2 for Auto-Conversion Trigger for the ADCC Module
8.1
MCC Generated Code
8.2
Bare Metal Code
9
Using TMR4 in One-Shot Mode with External Signal as Reset
9.1
MCC Generated Code
9.2
Bare Metal Code
10
Using TMR4 as HLT to Generate an Interrupt
10.1
MCC Generated Code
10.2
Bare Metal Code
11
Using TMR2 as Alternate SPI Clock
11.1
MCC Generated Code
11.2
Bare Metal Code
12
References
13
Revision History
The Microchip Website
Product Change Notification Service
Customer Support
Microchip Devices Code Protection Feature
Legal Notice
Trademarks
Quality Management System
Worldwide Sales and Service