class GBA::Reg::SOUNDCNT_L
- GBA::Reg::SOUNDCNT_L
- BitField(UInt16)
- Reference
- Object
Defined in:
crab/gba/reg.crConstant Summary
-
FIELDS =
[{right_volume, T, 3, false, false}, {not_used_2, Bool, 1, true, false}, {left_volume, T, 3, false, false}, {not_used_1, Bool, 1, true, false}, {channel_1_right, T, 1, false, false}, {channel_2_right, T, 1, false, false}, {channel_3_right, T, 1, false, false}, {channel_4_right, T, 1, false, false}, {channel_1_left, T, 1, false, false}, {channel_2_left, T, 1, false, false}, {channel_3_left, T, 1, false, false}, {channel_4_left, T, 1, false, 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. - #channel_1_left : UInt16
- #channel_1_left=(val : UInt16) : Nil
- #channel_1_right : UInt16
- #channel_1_right=(val : UInt16) : Nil
- #channel_2_left : UInt16
- #channel_2_left=(val : UInt16) : Nil
- #channel_2_right : UInt16
- #channel_2_right=(val : UInt16) : Nil
- #channel_3_left : UInt16
- #channel_3_left=(val : UInt16) : Nil
- #channel_3_right : UInt16
- #channel_3_right=(val : UInt16) : Nil
- #channel_4_left : UInt16
- #channel_4_left=(val : UInt16) : Nil
- #channel_4_right : UInt16
- #channel_4_right=(val : UInt16) : Nil
-
#hash(hasher)
See
Object#hash(hasher)
- #left_volume : UInt16
- #left_volume=(val : UInt16) : Nil
- #not_used_1 : Bool
- #not_used_1=(val : Bool) : Nil
- #not_used_2 : Bool
- #not_used_2=(val : Bool) : Nil
- #right_volume : UInt16
- #right_volume=(val : UInt16) : 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)
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>