[][src]Constant gba_addresses::io::IE_ADDR

pub const IE_ADDR: usize = 0x0400_0200;

Interrupt Enable

  • 0: Vertical blank
  • 1: Horizontal blank
  • 2: VCOUNT matches DISPCNT value.
  • 3: Timer 0 Overflow
  • 4: Timer 1 Overflow
  • 5: Timer 2 Overflow
  • 6: Timer 3 Overflow
  • 7: Serial Communication
  • 8: DMA 0
  • 9: DMA 1
  • 10: DMA 2
  • 11: DMA 3
  • 12: Keypad

Controls when the system will accept an interrupt from each source. If an interrupt type isn't set here, then interrupts from that source will be ignored.

Note that most sources actually send an interrupt or not based on their own control register values elsewhere.

  • Access: read/write
  • Size: 2