How do you keep hardware registers from being cached?
Anonymous
Use the volatile keyword when memory mapping the hardware register to a variable. This way software always 'sees' the unchached value of the register.
Check out your Company Bowl for anonymous work chats.