libdragon
Data Fields
AYChannel Struct Reference

A AY-3-8910 channel. More...

#include <ay8910.h>

Data Fields

uint16_t tone_period
 Period (in ticks) of the current tone.
 
uint8_t tone_vol
 Volume of the tone (0x10 -> use envelope)
 
uint8_t tone_en
 Enable flag of the tone (0 is enabled)
 
uint8_t noise_en
 Enable flag of the noise for this channel (0 is enabled)
 
uint16_t count
 Current tick count for the period.
 
uint8_t out
 Current output value for this channel.
 

Detailed Description

A AY-3-8910 channel.

Field Documentation

◆ tone_period

uint16_t AYChannel::tone_period

Period (in ticks) of the current tone.

◆ tone_vol

uint8_t AYChannel::tone_vol

Volume of the tone (0x10 -> use envelope)

◆ tone_en

uint8_t AYChannel::tone_en

Enable flag of the tone (0 is enabled)

◆ noise_en

uint8_t AYChannel::noise_en

Enable flag of the noise for this channel (0 is enabled)

◆ count

uint16_t AYChannel::count

Current tick count for the period.

◆ out

uint8_t AYChannel::out

Current output value for this channel.


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