Forum Discussion
Altera_Forum
Honored Contributor
19 years agona_pio
When I read some driver code of led, I find the structrue na_pio was used, but I can't see any clew of including the relative .h file, so I wander why does this structrue can be used freely when writing drivers?
2 Replies
- Altera_Forum
Honored Contributor
take a look at your nios2_system.h. i guess you are including this file. Look for:
#ifndef __ASSEMBLY__# include <asm/pio_struct.h># endif - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by helmchen@Oct 14 2006, 04:33 PM take a look at your nios2_system.h. i guess you are including this file. look for:#ifndef __assembly__# include <asm/pio_struct.h># endif<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18682)</div> --- Quote End --- yes, I see..Thank you so much.