Can I make a variable temporarily volatile?
问题 In PSoC, one can declare variables in memory space mapped to flash. Since flash reads are slower than RAM reads, the program would benefit from compiler optimizations - allow the values to be stored in registers or otherwise cached. Except for when one modifies the value of the flash. This can be done on the fly and the programmer knows the precise moments that happens. This also is done relatively rarely (to protect flash from write wear) and takes relatively long time. In case of such a