> From: Yong Chen Tan
>
> Hi, thanks for your valuable advice you have given.
>
> Is it possible to shut off interrupts entirely?
Sure.
CYG_INTERRUPT_STATE old;
HAL_DISABLE_INTERRUPTS(old);
// do something uninterruptable
HAL_RESTORE_INTERRUPTS(old);
But unless there's no way to get your DSYNC signal to generate an interrupt,
or this is just some kluge that will never make it into a product anyway,
you really ought to consider learning how to use interrupts.
--
Ciao, Paul D. DeRocco
Paul mailto:[EMAIL PROTECTED]
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss