Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHello, me again.
I just figured out there is a function called: alt_up_rs232_dev* alt_up_rs232_open_dev(const char *name) which does exactly what I asked here - it returns the pointer to a RS232 device structure. My problem now is the parameter name of the 'open' function. My uart module in the SOPC builder is called uart_0, but when I run this function after pointing *name to 'uart_0' I get error. Does anybody maybe have a working example of these functions? Thank you.