class GBA::Reg::InterruptReg
- GBA::Reg::InterruptReg
- BitField(UInt16)
- Reference
- Object
Defined in:
crab/gba/reg.crConstant Summary
-
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
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #dma0 : Bool
- #dma0=(val : Bool) : Nil
- #dma1 : Bool
- #dma1=(val : Bool) : Nil
- #dma2 : Bool
- #dma2=(val : Bool) : Nil
- #dma3 : Bool
- #dma3=(val : Bool) : Nil
- #game_pak : Bool
- #game_pak=(val : Bool) : Nil
-
#hash(hasher)
See
Object#hash(hasher)
- #hblank : Bool
- #hblank=(val : Bool) : Nil
- #keypad : Bool
- #keypad=(val : Bool) : Nil
- #not_used : UInt16
- #not_used=(val : UInt16) : Nil
- #serial : Bool
- #serial=(val : Bool) : Nil
- #timer0 : Bool
- #timer0=(val : Bool) : Nil
- #timer1 : Bool
- #timer1=(val : Bool) : Nil
- #timer2 : Bool
- #timer2=(val : Bool) : Nil
- #timer3 : Bool
- #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.
- #value : T
- #value=(value : T)
- #vblank : Bool
- #vblank=(val : Bool) : Nil
- #vcounter : Bool
- #vcounter=(val : Bool) : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def to_s(io : IO) : Nil
#
Description copied from class Reference
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>