PAlib
Data Fields
PA_FifoMsg Struct Reference

Represents a message sent through Fifo. More...

#include <PA_FifoMessages.h>

Data Fields

u32 type
 Type of message.
 
union { 
 
   struct { 
 
      u16   tdiode1 
 TSC temperature diode 1.
 
      u16   tdiode2 
 TSC temperature diode 1.
 
      u32   temperature 
 TSC computed temperature.
 
      u16   battery 
 TSC battery.
 
      u8   micvol 
 Microphone volume.
 
      u8   extra 
 Extra byte - used as padding for now.
 
   }   InputMsg 
 Input message data.
 
   struct { 
 
      u8 *   buffer 
 Buffer to record microphone data.
 
      u32   length 
 Length of the buffer in bytes.
 
   }   MicMsg 
 Microphone record message data.
 
   struct { 
 
      u8   brightness 
 Brightness of the lights (0-3).
 
   }   DSLBrightMsg 
 DS lite brightness message data.
 
   struct { 
 
      u32   freq 
 Frequency (in hertz)
 
      u8   chan 
 Channel.
 
      u8   vol 
 Volume (0-127)
 
      u8   pan 
 Pan (0-64-127)
 
      u8   duty 
 Duty (0-7)
 
   }   PSGMsg 
 PSG play message data.
 
   struct { 
 
   }   SharedMemSet 
 Send IPC shared memory region from ARM9 to ARM7.
 
};  
 
 

Detailed Description

Represents a message sent through Fifo.