Forum Discussion
Altera_Forum
Honored Contributor
13 years agowhy the results i run or debug this code are different,your help would be appreciated
/* * control.c * * Created on: 2012-11-15 * Author: zhanghan */ # include "alt_types.h"# include "altera_avalon_timer_regs.h"# include "sys/alt_irq.h"# include "system.h"# ...
Altera_Forum
Honored Contributor
13 years agoif i add these codes:IOWR_ALTERA_AVALON_TIMER_PERIODH(TIMER_BASE,25000> >16);
IOWR_ALTERA_AVALON_TIMER_PERIODL(TIMER_BASE,25000 && 0xffff); the program won't work,why i have ready selected the"writable period"