Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

IORD and IOWR?

Can IORD and IOWR be used to access any of the registers in the 'Embedded Peripherals IP User Guide'?

Do they always return a 16 bit Int?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Those macros can be used to access any register, all they do is a memory access bypassing the data cache. They use/return 32 bit integers.