Forum Discussion
Altera_Forum
Honored Contributor
20 years agoaccessing uart
hi guyz... i am using quartus-V5.0 and NIOSII IDE for my design on UP3kit... i want to access UART and i used the function in HAL library for NIOSII IDE altera_uart_read(alt_fd* fd, char* p...
Altera_Forum
Honored Contributor
20 years agoI can not find the function altera_uart_read on my system, but I guess it is the same as alt_avalon_uart_read.
This function is part of the hal device driver for the uart (please correct me if I am wrong). To access files or character-mode devices you should use the newlib functions or the unix-style interface provided by the HAL. Refer to "Nios II Software Developer's Handbook" and "Altera Embedded Peripherals Handbook" for more information. --Wolf