opn2_chip_t Union Reference

#include <genesis.h>

Collaboration diagram for opn2_chip_t:
Collaboration graph
[legend]

Data Fields

u8 ALL [144]
struct {
   union {
      u8   testreg21
      struct {
         u8   test_selrd14:1
         u8   test_lfo_unk:1
         u8   test_tmrspd:1
         u8   test_nopg:1
         u8   test_ugly:1
         u8   test_noeg:1
         u8   test_readdat:1
         u8   test_readmsb:1
      } 
   } 
   union {
      u8   lforeg
      struct {
         u8   lfo_freq:3
         u8   lfo_enabled:1
         u8   dummy2:4
      } 
   } 
   u8   timera_high
   union {
      u8   timeralowreg
      struct {
         u8   timera_low:2
         u8   dummy5:6
      } 
   } 
   u8   timerb
   union {
      u8   timerctrlreg
      struct {
         u8   timera_load:1
         u8   timerb_load:1
         u8   timera_enable:1
         u8   timerb_enable:1
         u8   timera_reset:1
         u8   timerb_reset:1
         u8   ch3_mode:2
      } 
   } 
   union {
      u8   gatereg
      struct {
         u8   gate_channel:3
         u8   dummy8:1
         u8   gate_op1:1
         u8   gate_op2:1
         u8   gate_op3:1
         u8   gate_op4:1
      } 
   } 
   u8   dac_high
   union {
      u8   dacenablereg
      struct {
         u8   dummyb:7
         u8   dac_enable:1
      } 
   } 
   union {
      u8   testreg2C
      struct {
         u8   dummyc:3
         u8   dac_low:1
         u8   test_readop:1
         u8   dac_override:1
         u8   test_pinctrl:1
         u8   test_pindir:1
      } 
   } 
   u8   ch3op1_fnum_low
   union {
      u8   ch3op1_fhireg
      struct {
         u8   ch3op1_fnum_high:3
         u8   ch3op1_block:3
         u8   ch3op1_dummy:2
      } 
   } 
   u8   ch3op2_fnum_low
   union {
      u8   ch3op2_fhireg
      struct {
         u8   ch3op2_fnum_high:3
         u8   ch3op2_block:3
         u8   ch3op2_dummy:2
      } 
   } 
   u8   ch3op3_fnum_low
   union {
      u8   ch3op3_fhireg
      struct {
         u8   ch3op3_fnum_high:3
         u8   ch3op3_block:3
         u8   ch3op3_dummy:2
      } 
   } 
   opn2_channel_t   chan [6]
}; 

Field Documentation

struct { ... }

The documentation for this union was generated from the following file:

Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1