[][src]Constant gba_addresses::io::IF_ADDR

pub const IF_ADDR: usize = 0x0400_0202;

Interrupt Flags

These bits are set during an interrupt. To acknowledge an interrupt during the interrupt handler, write a "1" to one or more bits within this register.

Note that if you're acknowledging an interrupt within IntrWait/VBlankIntrWait then you must also BIT_OR your changes to the IF address to the IRQ_INTR_WAIT_CHECK_FLAG_ADDR.

  • Access: read/write
  • Size: 2