- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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!Lien copié
2 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
--- 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

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable