Fixes: https://github.com/espressif/arduino-esp32/issues/227
Implementation for Timers 0-4 (no locks yet)