Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: TX FIFO

2004-07-30 by johnthomasedwardtimm

Is there a way to disable interrupts at the VIC or does it have to be 
through the CPSR?  I tried something like this:

unsigned save;

save = VICIntEnable;
VICIntEnClr = 0xffffffff;

// interrupts disable here

VICIntEnable = save;

This method definitely does not work as expected.  Any ideas?

Thanks,

JT

--- In lpc2000@yahoogroups.com, "Bill Knight" <BillK@t...> wrote:
> That is the reason but has been in the code for some time.
> This was discussed in length on this forum a while back.
> You might want to check the archives for more details.
> 
> -Bill
> 
> 
> 
> On Fri, 30 Jul 2004 19:15:54 -0000, Leighton Rowe wrote:
> 
> The code is actually Bill's, so it's better that u ask him. 
> 
> Maybe the global disable/enable part prevents any spurious events 
> from occuring while changing the uart interrupt enable registers.
> 
> 
> 
> 
> --- In lpc2000@yahoogroups.com, "johnthomasedwardtimm" 
<area51@a...> 
> wrote:
> > Leighton:
> > 
> > I noticed that you made a revision to your interrupt-driven UART 
> > routines to disable/restore global interrupts around the 
> > disabling/enabling of the transmit and receive interrupts.  What 
> was 
> > your rationale for making this change?
> > 
> > Thanks,
> > 
> > JT

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.