Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit a2bd42f

Browse files
authored
v1.3.0
### Releases v1.3.0 1. Add [**NRF52_MBED_TimerInterrupt Library**](https://github.com/khoih-prog/NRF52_MBED_TimerInterrupt) to support **NRF52840-based board using mbed-RTOS such as Nano-33-BLE.** 2. Add support for UNO, Nano, Mini, Arduino Ethernet, Fio, BT, LilyPad, Pro, Pro Mini, NG, UNO WiFi.
1 parent 81efdd4 commit a2bd42f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+20091
-310
lines changed

README.md

+678-259
Large diffs are not rendered by default.

keywords.txt

+81
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
# Datatypes (KEYWORD1)
33
#######################################
44

5+
##############################
6+
# Class TimerInterrupt
7+
##############################
8+
9+
TimerInterrupt KEYWORD1
10+
11+
ITimer1 KEYWORD1
12+
ITimer2 KEYWORD1
13+
ITimer3 KEYWORD1
14+
ITimer4 KEYWORD1
15+
ITimer5 KEYWORD1
16+
517
##############################
618
# Class ESP32TimerInterrupt
719
##############################
@@ -63,6 +75,18 @@ TeensyTimerInterrupt KEYWORD1
6375
STM32Timer KEYWORD1
6476
timerCallback KEYWORD1
6577

78+
#################################
79+
# Class NRF52_MBED_TimerInterrupt
80+
#################################
81+
82+
NRF52_MBED_TimerInterrupt KEYWORD1
83+
NRF52_MBED_Timer KEYWORD1
84+
NRF52_MBED_ISRTimer KEYWORD1
85+
NRF52_MBED_ISR_Timer KEYWORD1
86+
NRF52_MBED_TimerNumber KEYWORD1
87+
timerCallback KEYWORD1
88+
timerCallback_p KEYWORD1
89+
6690
##############################
6791
# Class ISR_Timer
6892
##############################
@@ -76,6 +100,47 @@ ISR_Timer KEYWORD1
76100
# Methods and Functions (KEYWORD2)
77101
#######################################
78102

103+
##############################
104+
# Class TimerInterrupt
105+
##############################
106+
107+
init KEYWORD2
108+
set_OCR KEYWORD2
109+
callback KEYWORD2
110+
setFrequency KEYWORD2
111+
setInterval KEYWORD2
112+
attachInterrupt KEYWORD2
113+
attachInterruptInterval KEYWORD2
114+
detachInterrupt KEYWORD2
115+
disableTimer KEYWORD2
116+
reattachInterrupt KEYWORD2
117+
enableTimer KEYWORD2
118+
pauseTimer KEYWORD2
119+
resumeTimer KEYWORD2
120+
stopTimer KEYWORD2
121+
restartTimer KEYWORD2
122+
getTimer KEYWORD2
123+
getCount KEYWORD2
124+
setCount KEYWORD2
125+
get_OCRValue KEYWORD2
126+
get_OCRValueRemaining KEYWORD2
127+
adjust_OCRValue KEYWORD2
128+
reload_OCRValue KEYWORD2
129+
checkTimerDone KEYWORD2
130+
run KEYWORD2
131+
setTimeout KEYWORD2
132+
setTimer KEYWORD2
133+
changeInterval KEYWORD2
134+
deleteTimer KEYWORD2
135+
isEnabled KEYWORD2
136+
enable KEYWORD2
137+
disable KEYWORD2
138+
enableAll KEYWORD2
139+
disableAll KEYWORD2
140+
toggle KEYWORD2
141+
getNumTimers KEYWORD2
142+
getNumAvailableTimers KEYWORD2
143+
79144
##############################
80145
# Class ESP32TimerInterrupt
81146
##############################
@@ -223,6 +288,22 @@ enableTimer KEYWORD2
223288
stopTimer KEYWORD2
224289
restartTimer KEYWORD2
225290

291+
##############################
292+
# Class NRF52_MBED_TimerInterrupt
293+
##############################
294+
295+
setFrequency KEYWORD2
296+
setInterval KEYWORD2
297+
attachInterrupt KEYWORD2
298+
attachInterruptInterval KEYWORD2
299+
detachInterrupt KEYWORD2
300+
disableTimer KEYWORD2
301+
reattachInterrupt KEYWORD2
302+
enableTimer KEYWORD2
303+
stopTimer KEYWORD2
304+
restartTimer KEYWORD2
305+
getCallback KEYWORD2
306+
getTimerIRQn KEYWORD2
226307

227308
##############################
228309
# Class ISR_Timer

library.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "TimerInterrupt_Generic",
3-
"version": "1.2.0",
4-
"keywords": "timing,device,control,timer,interrupt,hardware,avr,esp8266,esp32,due,sam-due,samd,nrf52,teensy,stm32,mission-critical,precise,non-blocking,isr",
3+
"version": "1.3.0",
4+
"keywords": "timing,device,control,timer,interrupt,hardware,avr,esp8266,esp32,due,sam-due,samd,nrf52,teensy,stm32,mission-critical,precise,non-blocking,isr,mbed,nano-33-ble",
55
"description": "This library enables you to use Interrupt from Hardware Timers on a supported board. These hardware timers, using interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's necessary if you need to measure some data requiring better accuracy.",
66
"authors":
77
{

library.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name=TimerInterrupt_Generic
22
version=1.2.0
33
author=Khoi Hoang <[email protected]>
44
maintainer=Khoi Hoang <[email protected]>
5-
sentence=This library enables you to use Interrupt from Hardware Timers on supported Arduino boards such as AVR, ESP8266, ESP32, SAMD, SAM DUE, nRF52, STM32F/L/H/G/WB/MP1, Teensy, etc.
5+
sentence=This library enables you to use Interrupt from Hardware Timers on supported Arduino boards such as AVR, ESP8266, ESP32, SAMD, SAM DUE, nRF52, STM32F/L/H/G/WB/MP1, Teensy, Nano-33-BLE, etc.
66
paragraph=These Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's mandatory if you need to measure some data requiring better accuracy. It now supports 16 ISR-based Timers, while consuming only 1 Hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based Timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks.
7-
category=Timing,Control,Device,Time,Timer,AVR,SAM-DUE,ESP32,ESP8266,SAMD,NRF52,STM32,Teensy,interrupt
7+
category=Timing,Control,Device,Time,Timer,AVR,SAM-DUE,ESP32,ESP8266,SAMD,NRF52,STM32,Teensy,MBED,Nano-33-BLE,interrupt
88
url=https://github.com/khoih-prog/TimerInterrupt_Generic
99
architectures=*
1010
repository=https://github.com/khoih-prog/TimerInterrupt_Generic

0 commit comments

Comments
 (0)