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++
12600 Discussions

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

Altera_Forum
Honored Contributor II
1,358 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
490 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
490 Views

Thank Cris72!

0 Kudos
Reply