GBA::Reg::DMACNT
Inherits GBA::Reg::Base16 < BitField < Reference < Object
Constants
FIELDS = [{not_used, T, 5, true, false}, {dest_control, T, 2, false, false}, {source_control, T, 2, false, false}, {repeat, Bool, 1, false, false}, {type, T, 1, false, false}, {game_pak, Bool, 1, false, true}, {start_timing, T, 2, false, false}, {irq_enable, Bool, 1, false, false}, {enable, Bool, 1, false, 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?.
dest_control
dest_control=(val : T) : Nil
enable
game_pak
hash(hasher)
See Object#hash(hasher)
irq_enable
not_used
not_used=(val : T) : Nil
repeat
source_control
source_control=(val : T) : Nil
start_timing
start_timing=(val : T) : 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>
type
type=(val : T) : Nil
value
value=(value : T)