Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
12497 Discussions

Where can i find the prototype of IOWR(base, ALTERA_AVALON_UART_RXDATA_REG,data)?

Altera_Forum
Honored Contributor II
1,060 Views

Hi, all 

 

During the APP software developing based on NiosII cpu SOPC system, I can call the function IOWR_ALTERA_AVALON_UART_RXDATA(base, data) based on the macro-definition in xxx_BSP/driver/inc/altera_avalon_uart_regs.h.  

The macro-definition is followed: 

 

# define IOWR_ALTERA_AVALON_UART_RXDATA(base, data)  

IOWR(base, ALTERA_AVALON_UART_RXDATA_REG, data) 

 

My trouble is where can i find the prototype of IOWR(base,  

ALTERA_AVALON_UART_RXDATA_REG, data) ? 

 

It is appreciated to reply with key!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
192 Views

IOWR is defined in io.h which should be included by altera_avalon_uart_regs.h

Altera_Forum
Honored Contributor II
192 Views

Thank Cris72!

Reply