esp-idf/components/hal/platform_port/include/hal
Darian Leung 14fe6dcaaf HAL: Fix Force U32 macros for C++ typeof()
When using the Force U32 macros in C++, the peripheral structs will not
have copy constructors due to them being volatile. Thus, doing temp_reg = reg
via typeof() will not work and cause a "ambiguous overload of operator=" error.

This commit fixes the macros by reading the reg into a uint32_t value first.
2021-09-07 11:23:06 +08:00
..
assert.h
check.h
log.h
misc.h HAL: Fix Force U32 macros for C++ typeof() 2021-09-07 11:23:06 +08:00