Volatile variable

I

idkfaidkfaidkfa

I've found this code:

void function(void) {
volatile unsigned long * pAdd, *pCntl;
........
for(i = 0, pCntl = &VICPRIORITY0, pAdd = &VICTADDR0; i < 32; ++i)
{
*pCntl++ = *pAdd++ = 0;
}
}

It's the first time that i've found volatile variable: what does it
mean?if pointers are not declared as volatile, what happens?
thanks in advance
 
I

Ian Collins

It's the first time that i've found volatile variable: what does it
mean?if pointers are not declared as volatile, what happens?

What does your text book or a scan through the recent history of this
group tell you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top