Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
6b33cbb6
Unverified
Commit
6b33cbb6
authored
Dec 14, 2022
by
Pedro Minatel
Committed by
GitHub
Dec 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the countUp description (#7590)
parent
1d595fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
docs/source/api/timer.rst
docs/source/api/timer.rst
+5
-7
No files found.
docs/source/api/timer.rst
View file @
6b33cbb6
#####
#####
#####
Timer
#####
#####
#####
About
-----
...
...
@@ -19,7 +19,7 @@ ESP32-S3 4
========= ================
Arduino-ESP32 Timer API
-----------------------
-----
-----------------------
timerBegin
**********
...
...
@@ -31,11 +31,9 @@ This function is used to configure the timer. After successful setup the timer w
hw_timer_t * timerBegin(uint8_t num, uint16_t divider, bool countUp);
* ``num`` select timer number.
* ``divider`` select timer divider.
* ``
resolution`` select timer resolution
.
* ``divider`` select timer divider.
Sets how quickly the timer counter is “ticking”.
* ``
countUp`` select timer direction. Sets if the counter should be incrementing or decrementing
.
* range is 1-14 bits (1-20 bits for ESP32).
This function will return ``timer`` structure if configuration is successful.
If ``NULL`` is returned, error occurs and the timer was not configured.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment