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
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