This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC23xx gpio code

Hello,
Can someone explain what it means??

#define IOPIN0 (*(volatile unsigned long *)(GPIO_BASE_ADDR + 0x00))

The controller using is LPC23xx/24xx.

BR Chethan

Parents
  • (making allowances for English as a foreign language)

    Well, one common use of the 'volatile' qualifier is to indicate that memory content may bechanged by "another file".

    So think how a hardware SFR (special function register) might have similar issues...

Reply
  • (making allowances for English as a foreign language)

    Well, one common use of the 'volatile' qualifier is to indicate that memory content may bechanged by "another file".

    So think how a hardware SFR (special function register) might have similar issues...

Children