- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have set one i/o pin to bidirectional(tri-state) I/O port,and finished the hardware compile.
but in the nios II IDE ,how to set the bidirectional(tri-state) I/O port to out por.what should i write in the programme? thanks!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi wbqyy,
The PIO has a direction register where you can define if its a in- or output. For accessing the PIO registers there are some macros from Altera. Take a look at this thread: http://forum.niosforum.com/forum/index.php...pic=2978&hl=pio (http://forum.niosforum.com/forum/index.php?showtopic=2978&hl=pio) regards revolt- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by wbqyy@Dec 14 2005, 08:12 PM i have set one i/o pin to bidirectional(tri-state) i/o port,and finished the hardware compile.
but in the nios ii ide ,how to set the bidirectional(tri-state) i/o port to out por.what should i write in the programme?
thanks!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11542)
--- quote end ---
--- Quote End --- thanks but i still have a few question ihave write it with a new topic
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page