@mchp-mcc/timer-timeout-driver

- Download & Install [nodejs](https://nodejs.org/en/download/) - Download & Install npm - Setup node & npm in enviroment path

Usage no npm install needed!

<script type="module">
  import mchpMccTimerTimeoutDriver from 'https://cdn.skypack.dev/@mchp-mcc/timer-timeout-driver';
</script>

README

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.7] - 2021-09-22

New Features

  • CC8SCRIP-5125 :- Updating Readme and Release Notes for Timeout