Note that there is a high-level API for the ESP32 RMT peripheral in esp-idf. So you might not need to fiddle with memory mapped registers, at least for that purpose. See https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/rmt.html