Forum Discussion
Altera_Forum
Honored Contributor
22 years agoDevice drivers under niosII IDE
The altera_avalon_uart drivers under niosII IDE contains three files: altera_avalon_uart_regs.h, altera_avalon_uart.h, altera_avalon_uart.c. The source file altera_avalon_uart.c call the function IO...
Altera_Forum
Honored Contributor
22 years ago --- Quote Start --- originally posted by warine+aug 2 2004, 08:12 am--><div class='quotetop'>quote (warine @ aug 2 2004, 08:12 am)</div>
--- quote start ---
but how does the function iord_altera_avalon_uart_status() implement?[/b]
--- quote end ---
all those definitions are in altera_avalon_uart_regs.h.
<!--quotebegin-warine@Aug 2 2004, 08:12 AM if i want to develop my own device drivers, how can i manipulate the avalon bus operation? and where is the description of underlying function? --- Quote End --- Those questions are a little unclear, but what you're probably looking for is in Chapter 5 of the Nios II Software Developer's Handbook: "Developing Device Drivers for the HAL."