I have been working on a project where I use timer controlled interrupts. One of the things necessary for that is to reset the respective bits in the GPT Status Register. Reading a value from that register via
or writing to it viaCode:uint32_t value = GPT1_SR;
takes both about 170 ns. Why is this so slow and is there any way to improve this?Code:GPT1_SR = 0x00000001;