Hey. I'm new to Teensy and using some code that accesses GPIO9_DR. Using the Arduino IDE, I'd like to ensure the definition includes volatile so things like
while ( (GPIO9_DR&0x80000000) != 0) {}
Don't get optimized out.
I've been unable to find the definition of GPIO9_DR to answer this question myself. So ---
1. Does GPIO9_DR include volatile in its definition?
2. To help a new guy, where would I find this answer so I don't need to ask in the future?
Thanks
while ( (GPIO9_DR&0x80000000) != 0) {}
Don't get optimized out.
I've been unable to find the definition of GPIO9_DR to answer this question myself. So ---
1. Does GPIO9_DR include volatile in its definition?
2. To help a new guy, where would I find this answer so I don't need to ask in the future?
Thanks