ComSquare
Public Attributes | List of all members
ComSquare::APU::DSP::Registers Struct Reference

All the registers of the DSP. More...

#include <DSP.hpp>

Collaboration diagram for ComSquare::APU::DSP::Registers:
Collaboration graph

Public Attributes

uint8_t volL [8]
 Left channel volume register. More...
 
uint8_t volR [8]
 Left channel volume register. More...
 
uint8_t pitchL [8]
 Lower 8 bits of pitch register. More...
 
uint8_t pitchH [8]
 Higher 8 bits of pitch register. More...
 
uint8_t srcn [8]
 Source number register. More...
 
uint8_t adsr1 [8]
 Envelope register. More...
 
uint8_t adsr2 [8]
 Envelope controllers register. More...
 
uint8_t gain [8]
 Gain register. More...
 
uint8_t envx [8]
 Envelope value register. More...
 
uint8_t outx [8]
 Wave height register. More...
 
uint8_t mvolL
 Left output of the Main Volume register. More...
 
uint8_t mvolR
 Right output of the Main Volume register. More...
 
uint8_t evolL
 Left output of the Echo Volume register. More...
 
uint8_t evolR
 Right output of the Echo Volume register. More...
 
union {
   struct {
      bool   kon7: 1
 
      bool   kon6: 1
 
      bool   kon5: 1
 
      bool   kon4: 1
 
      bool   kon3: 1
 
      bool   kon2: 1
 
      bool   kon1: 1
 
      bool   kon0: 1
 
   } 
 
   uint8_t   kon
 
}; 
 Key On register. More...
 
union {
   struct {
      bool   kof7: 1
 
      bool   kof6: 1
 
      bool   kof5: 1
 
      bool   kof4: 1
 
      bool   kof3: 1
 
      bool   kof2: 1
 
      bool   kof1: 1
 
      bool   kof0: 1
 
   } 
 
   uint8_t   kof
 
}; 
 Key Off register. More...
 
uint8_t flg
 Flags register. More...
 
union {
   struct {
      bool   endx7: 1
 
      bool   endx6: 1
 
      bool   endx5: 1
 
      bool   endx4: 1
 
      bool   endx3: 1
 
      bool   endx2: 1
 
      bool   endx1: 1
 
      bool   endx0: 1
 
   } 
 
   uint8_t   endx
 
}; 
 Sample end register. More...
 
uint8_t efb
 Echo feedback register. More...
 
uint8_t unused
 Not used register. More...
 
union {
   struct {
      bool   pmon7: 1
 
      bool   pmon6: 1
 
      bool   pmon5: 1
 
      bool   pmon4: 1
 
      bool   pmon3: 1
 
      bool   pmon2: 1
 
      bool   pmon1: 1
 
      bool   __: 1
 
   } 
 
   uint8_t   pmon
 
}; 
 Pitch modulation register. More...
 
union {
   struct {
      bool   non7: 1
 
      bool   non6: 1
 
      bool   non5: 1
 
      bool   non4: 1
 
      bool   non3: 1
 
      bool   non2: 1
 
      bool   non1: 1
 
      bool   non0: 1
 
   } 
 
   uint8_t   non
 
}; 
 Noise enable register. More...
 
union {
   struct {
      bool   eon7: 1
 
      bool   eon6: 1
 
      bool   eon5: 1
 
      bool   eon4: 1
 
      bool   eon3: 1
 
      bool   eon2: 1
 
      bool   eon1: 1
 
      bool   eon0: 1
 
   } 
 
   uint8_t   eon
 
}; 
 Echo enable register. More...
 
uint8_t dir
 Source Directory offset register. More...
 
uint8_t esa
 Echo data start register. More...
 
uint8_t edl
 Echo delay size register. More...
 
uint8_t coeff [8]
 Echo FIR filter coefficients. More...
 

Detailed Description

All the registers of the DSP.

Member Data Documentation

◆ @53

union { ... }

Key On register.

◆ @55

union { ... }

Key Off register.

◆ @57

union { ... }

Sample end register.

◆ @59

union { ... }

Pitch modulation register.

◆ @61

union { ... }

Noise enable register.

◆ @63

union { ... }

Echo enable register.

◆ __

bool ComSquare::APU::DSP::Registers::__

◆ adsr1

uint8_t ComSquare::APU::DSP::Registers::adsr1[8]

Envelope register.

◆ adsr2

uint8_t ComSquare::APU::DSP::Registers::adsr2[8]

Envelope controllers register.

◆ coeff

uint8_t ComSquare::APU::DSP::Registers::coeff[8]

Echo FIR filter coefficients.

◆ dir

uint8_t ComSquare::APU::DSP::Registers::dir

Source Directory offset register.

◆ edl

uint8_t ComSquare::APU::DSP::Registers::edl

Echo delay size register.

◆ efb

uint8_t ComSquare::APU::DSP::Registers::efb

Echo feedback register.

◆ endx

uint8_t ComSquare::APU::DSP::Registers::endx

◆ endx0

bool ComSquare::APU::DSP::Registers::endx0

◆ endx1

bool ComSquare::APU::DSP::Registers::endx1

◆ endx2

bool ComSquare::APU::DSP::Registers::endx2

◆ endx3

bool ComSquare::APU::DSP::Registers::endx3

◆ endx4

bool ComSquare::APU::DSP::Registers::endx4

◆ endx5

bool ComSquare::APU::DSP::Registers::endx5

◆ endx6

bool ComSquare::APU::DSP::Registers::endx6

◆ endx7

bool ComSquare::APU::DSP::Registers::endx7

◆ envx

uint8_t ComSquare::APU::DSP::Registers::envx[8]

Envelope value register.

◆ eon

uint8_t ComSquare::APU::DSP::Registers::eon

◆ eon0

bool ComSquare::APU::DSP::Registers::eon0

◆ eon1

bool ComSquare::APU::DSP::Registers::eon1

◆ eon2

bool ComSquare::APU::DSP::Registers::eon2

◆ eon3

bool ComSquare::APU::DSP::Registers::eon3

◆ eon4

bool ComSquare::APU::DSP::Registers::eon4

◆ eon5

bool ComSquare::APU::DSP::Registers::eon5

◆ eon6

bool ComSquare::APU::DSP::Registers::eon6

◆ eon7

bool ComSquare::APU::DSP::Registers::eon7

◆ esa

uint8_t ComSquare::APU::DSP::Registers::esa

Echo data start register.

◆ evolL

uint8_t ComSquare::APU::DSP::Registers::evolL

Left output of the Echo Volume register.

◆ evolR

uint8_t ComSquare::APU::DSP::Registers::evolR

Right output of the Echo Volume register.

◆ flg

uint8_t ComSquare::APU::DSP::Registers::flg

Flags register.

◆ gain

uint8_t ComSquare::APU::DSP::Registers::gain[8]

Gain register.

◆ kof

uint8_t ComSquare::APU::DSP::Registers::kof

◆ kof0

bool ComSquare::APU::DSP::Registers::kof0

◆ kof1

bool ComSquare::APU::DSP::Registers::kof1

◆ kof2

bool ComSquare::APU::DSP::Registers::kof2

◆ kof3

bool ComSquare::APU::DSP::Registers::kof3

◆ kof4

bool ComSquare::APU::DSP::Registers::kof4

◆ kof5

bool ComSquare::APU::DSP::Registers::kof5

◆ kof6

bool ComSquare::APU::DSP::Registers::kof6

◆ kof7

bool ComSquare::APU::DSP::Registers::kof7

◆ kon

uint8_t ComSquare::APU::DSP::Registers::kon

◆ kon0

bool ComSquare::APU::DSP::Registers::kon0

◆ kon1

bool ComSquare::APU::DSP::Registers::kon1

◆ kon2

bool ComSquare::APU::DSP::Registers::kon2

◆ kon3

bool ComSquare::APU::DSP::Registers::kon3

◆ kon4

bool ComSquare::APU::DSP::Registers::kon4

◆ kon5

bool ComSquare::APU::DSP::Registers::kon5

◆ kon6

bool ComSquare::APU::DSP::Registers::kon6

◆ kon7

bool ComSquare::APU::DSP::Registers::kon7

◆ mvolL

uint8_t ComSquare::APU::DSP::Registers::mvolL

Left output of the Main Volume register.

◆ mvolR

uint8_t ComSquare::APU::DSP::Registers::mvolR

Right output of the Main Volume register.

◆ non

uint8_t ComSquare::APU::DSP::Registers::non

◆ non0

bool ComSquare::APU::DSP::Registers::non0

◆ non1

bool ComSquare::APU::DSP::Registers::non1

◆ non2

bool ComSquare::APU::DSP::Registers::non2

◆ non3

bool ComSquare::APU::DSP::Registers::non3

◆ non4

bool ComSquare::APU::DSP::Registers::non4

◆ non5

bool ComSquare::APU::DSP::Registers::non5

◆ non6

bool ComSquare::APU::DSP::Registers::non6

◆ non7

bool ComSquare::APU::DSP::Registers::non7

◆ outx

uint8_t ComSquare::APU::DSP::Registers::outx[8]

Wave height register.

◆ pitchH

uint8_t ComSquare::APU::DSP::Registers::pitchH[8]

Higher 8 bits of pitch register.

◆ pitchL

uint8_t ComSquare::APU::DSP::Registers::pitchL[8]

Lower 8 bits of pitch register.

◆ pmon

uint8_t ComSquare::APU::DSP::Registers::pmon

◆ pmon1

bool ComSquare::APU::DSP::Registers::pmon1

◆ pmon2

bool ComSquare::APU::DSP::Registers::pmon2

◆ pmon3

bool ComSquare::APU::DSP::Registers::pmon3

◆ pmon4

bool ComSquare::APU::DSP::Registers::pmon4

◆ pmon5

bool ComSquare::APU::DSP::Registers::pmon5

◆ pmon6

bool ComSquare::APU::DSP::Registers::pmon6

◆ pmon7

bool ComSquare::APU::DSP::Registers::pmon7

◆ srcn

uint8_t ComSquare::APU::DSP::Registers::srcn[8]

Source number register.

◆ unused

uint8_t ComSquare::APU::DSP::Registers::unused

Not used register.

◆ volL

uint8_t ComSquare::APU::DSP::Registers::volL[8]

Left channel volume register.

◆ volR

uint8_t ComSquare::APU::DSP::Registers::volR[8]

Left channel volume register.


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