This refactoring brings a private API for the TWDT implementation, which can now use a hardware timer (Timer Group) or a software timer (esp_timer)