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 ago --- Quote Start --- originally posted by pfab@Nov 15 2005, 06:08 AM i 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
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10994)
--- quote end ---
--- Quote End --- thanku Mr.Wolf .. yes it is alt_avalon_uart_read...i was mistaken.... i will try as you said .... thanks....