Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
disableirq [2019/10/07 20:18] – created neilsdisableirq [2019/12/10 07:59] (current) neils
Line 7: Line 7:
   disableirq   disableirq
      
-The ''disableirq'' command sets the CPU's interrupt flag, preventing the CPU from responding+The ''DISABLEIRQ'' command sets the CPU's interrupt flag, preventing the CPU from responding
 to IRQ interrupt events. to IRQ interrupt events.
  
 To re-enable the respond to IRQ, use ''[[ENABLEIRQ|]]'' To re-enable the respond to IRQ, use ''[[ENABLEIRQ|]]''
 +
 +**WARNING:** keyboard scanning will be disabled if you turn off interrupts. Make sure interrupts are enabled when you intend to use ''[[input|INPUT]]'' or ''[[inkey|INKEY()]]''.