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
..
2021-06-22 11:28:01 +08:00
2021-06-22 11:28:01 +08:00
2021-09-01 13:58:47 +08:00