class
   GBA::Reg::SOUNDCNT_H
  
  - GBA::Reg::SOUNDCNT_H
- BitField(UInt16)
- Reference
- Object
Defined in:
crab/gba/reg.crConstant Summary
- 
        FIELDS = [{sound_volume, T, 2, false, false}, {dma_sound_a_volume, T, 1, false, false}, {dma_sound_b_volume, T, 1, false, false}, {not_used, T, 4, true, false}, {dma_sound_a_right, T, 1, false, false}, {dma_sound_a_left, T, 1, false, false}, {dma_sound_a_timer, T, 1, false, false}, {dma_sound_a_reset, Bool, 1, true, false}, {dma_sound_b_right, T, 1, false, false}, {dma_sound_b_left, T, 1, false, false}, {dma_sound_b_timer, T, 1, false, false}, {dma_sound_b_reset, Bool, 1, true, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
- 
        SIZE = 16
Constructors
Instance Method Summary
- 
        #==(other : self)
        
          Returns trueif this reference is the same as other.
- #dma_sound_a_left : UInt16
- #dma_sound_a_left=(val : UInt16) : Nil
- #dma_sound_a_reset : Bool
- #dma_sound_a_reset=(val : Bool) : Nil
- #dma_sound_a_right : UInt16
- #dma_sound_a_right=(val : UInt16) : Nil
- #dma_sound_a_timer : UInt16
- #dma_sound_a_timer=(val : UInt16) : Nil
- #dma_sound_a_volume : UInt16
- #dma_sound_a_volume=(val : UInt16) : Nil
- #dma_sound_b_left : UInt16
- #dma_sound_b_left=(val : UInt16) : Nil
- #dma_sound_b_reset : Bool
- #dma_sound_b_reset=(val : Bool) : Nil
- #dma_sound_b_right : UInt16
- #dma_sound_b_right=(val : UInt16) : Nil
- #dma_sound_b_timer : UInt16
- #dma_sound_b_timer=(val : UInt16) : Nil
- #dma_sound_b_volume : UInt16
- #dma_sound_b_volume=(val : UInt16) : Nil
- 
        #hash(hasher)
        
          See Object#hash(hasher)
- #not_used : UInt16
- #not_used=(val : UInt16) : Nil
- #sound_volume : UInt16
- #sound_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>