class

GBA::Reg::InterruptReg

Inherits BitField < Reference < Object

Constants

FIELDS = [{vblank, Bool, 1, false, false}, {hblank, Bool, 1, false, false}, {vcounter, Bool, 1, false, false}, {timer0, Bool, 1, false, false}, {timer1, Bool, 1, false, false}, {timer2, Bool, 1, false, false}, {timer3, Bool, 1, false, false}, {serial, Bool, 1, false, false}, {dma0, Bool, 1, false, false}, {dma1, Bool, 1, false, false}, {dma2, Bool, 1, false, false}, {dma3, Bool, 1, false, false}, {keypad, Bool, 1, false, false}, {game_pak, Bool, 1, false, false}, {not_used, T, 2, true, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
SIZE = 16

Constructors

new(value : T)

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

dma0
dma0=(val : Bool) : Nil
dma1
dma1=(val : Bool) : Nil
dma2
dma2=(val : Bool) : Nil
dma3
dma3=(val : Bool) : Nil
game_pak
game_pak=(val : Bool) : Nil
hash(hasher)

See Object#hash(hasher)

hblank
hblank=(val : Bool) : Nil
keypad
keypad=(val : Bool) : Nil
not_used
not_used=(val : T) : Nil
serial
serial=(val : Bool) : Nil
timer0
timer0=(val : Bool) : Nil
timer1
timer1=(val : Bool) : Nil
timer2
timer2=(val : Bool) : Nil
timer3
timer3=(val : Bool) : Nil
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
value
value=(value : T)
vblank
vblank=(val : Bool) : Nil
vcounter
vcounter=(val : Bool) : Nil