Timeout Driver
Overview
The Timeout Driver aims to provide an abstraction interface to Timer-type peripherals such as the Timer0/1/2 peripherals and their derivatives; the Signal Measurement Timer (SMT); and the Hardware Limit Timer (HLT). On top of this hardware abstraction, the application side interface allows users to create applications that need a timeout event after a specified time. The driver can register multiple timers with different callbacks that trigger different events upon their corresponding timer expiration.
Features
- In general, the Timeout driver can be used two different ways:
- Scheduled Timer mode - This mode enables users to schedule events to happen at different times. The scheduled timer can be used as a oneshot timer which runs only once, or as a periodic timer which can run repeatedly.
- Stopwatch/Cycle Counter mode - This mode enable users to measure time elapsed between or during events.
Generated Files
This driver generates the following files:
-
./mcc_generated_files/timer/src/timeout.c => This source file contains the function implementations of the Timeout Driver
-
./mcc_generated_files/timer/timeout.h => This header file contains the function prototypes of the Timeout Driver
Changelog
All notable changes to this project will be documented in this file.
[3.0.8] - 2023-12-03
New Features
- CC8SCRIP-18634 :- API Documentation Improvements
[3.0.7] - 2021-09-22
New Features
- CC8SCRIP-5125 :- Updating Readme and Release Notes for Timeout