Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

IORD and IOWR?

Altera_Forum
Honored Contributor II
1,714 Views

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?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
683 Views

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.

0 Kudos
Reply