Yahoo Groups archive

Lpc2000

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

Message

What's Best Way to Globally Disable Interrupts

2005-05-02 by kaiandxiulpc2000

If my user application is running with interrupts occurring, then I 
need to disable all interrupts for a bit of time:

1) Should I use the C command "VICIntEnable=0x00000000"?
OR
2) Set the IRQ and FIQ bits in the cpsr?  Also, then do I have to be
in 
non-user mode (i.e. privileged mode) to enable/disable the IRQ/FIQ
bits 
in the cpsr?

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.