Skip to content

Commit

Permalink
USE_US_TIMER not applicable to Esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jul 4, 2024
1 parent 85ba5e7 commit d513615
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Sming/Arch/Esp32/Components/driver/hw_timer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,6 @@ hw_timer: Hardware Timers

Driver for hardware timers.

Variables
---------

.. envvar:: USE_US_TIMER

0 (default): Use default /256 prescale for Timer2
1: Use /16 prescale

The following functions depend on Timer2:
- NOW() return value, the Timer2 tick count
- Software timers
- System time

Software timers are driven by Timer2, which by default uses a /256 prescale
providing a resolution of 3.2us and a range of 1' 54".

Enabling this setting increases the resolution to 200ns but reduces the maximum
software timer to 7" 9.5s.

API Documentation
-----------------

Expand Down

0 comments on commit d513615

Please sign in to comment.