esp_dport_access_reg_read() function
Read value from register, SMP-safe version. This method uses the pre-reading of the APB register before reading the register of the DPORT. This implementation is useful for reading DORT registers for single reading without stall other CPU. There is disable/enable interrupt.
Syntax
uint32_t esp_dport_access_reg_read(uint32_t reg); Return value
Value
Notes
Should be placed in IRAM.