Forum Discussion
Altera_Forum
Honored Contributor
22 years agoCompact Flash Card problem
I am trying to implemnent the CF Card in my Nios system. But there is not any reference about it. Should I write a driver for it and prepare the subroutine? or there is already one? http:...
Altera_Forum
Honored Contributor
21 years agoIn the source code for ideutils.c There is the following....
# define ctl_base (int*)CF_CTL_BASE# define ctl_irq (int)CF_CTL_IRQ# define ide_base (int*)CF_IDE_BASE# define ide_irq (int)CF_IDE_IRQ whereas in the documentation it says simple... # define ide_base <SOPC-name>_IDE_BASE# define ide_irq <SOPC-name>_IDE_IRQ# define ctl_base <SOPC-name>_CTL_BASE# define ctl_irq <SOPC-name>_CTL_IRQ why the (int*) cast?