llvm-mos-sdk
|
DMA audio channel structure. More...
#include <_dmagic.h>
Public Attributes | |
uint8_t | enable |
Enable Audio DMA channel X (offset 0x00) More... | |
union { | |
struct { | |
uint8_t baddr_lsb | |
Base address LSB (offset 0x01) More... | |
uint8_t baddr_msb | |
Base address MSB (offset 0x02) More... | |
uint8_t baddr_mb | |
Base address middle byte (offset 0x03) More... | |
} | |
}; | |
union { | |
struct { | |
uint8_t freq_lsb | |
Frequency LSB (offset 0x04) More... | |
uint8_t freq_mb | |
Frequency middle byte (offset 0x05) More... | |
uint8_t freq_msb | |
Frequency MSB (offset 0x06) More... | |
} | |
}; | |
union { | |
struct { | |
uint8_t taddr_lsb | |
Top address LSB (offset 0x07) More... | |
uint8_t taddr_msb | |
Top address MSB (offset 0x08) More... | |
} | |
}; | |
uint8_t | volume |
playback volume (offset 0x09) More... | |
union { | |
struct { | |
uint8_t curaddr_lsb | |
Current address LSB (offset 0x0a) More... | |
uint8_t curaddr_mb | |
Current address middle byte (offset 0x0b) More... | |
uint8_t curaddr_msb | |
Current address MSB (offset 0x0c) More... | |
} | |
}; | |
union { | |
struct { | |
uint8_t tmraddr_lsb | |
Timing counter LSB (offset 0x0d) More... | |
uint8_t tmraddr_mb | |
Timing counter middle byte (offset 0x0e) More... | |
uint8_t tmraddr_msb | |
Timing counter MSB (offset 0x0f) More... | |
} | |
}; | |
DMA audio channel structure.
union { ... } |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
uint8_t DMAAudioChannel::baddr_lsb |
Base address LSB (offset 0x01)
uint8_t DMAAudioChannel::baddr_mb |
Base address middle byte (offset 0x03)
uint8_t DMAAudioChannel::baddr_msb |
Base address MSB (offset 0x02)
uint8_t DMAAudioChannel::curaddr_lsb |
Current address LSB (offset 0x0a)
uint8_t DMAAudioChannel::curaddr_mb |
Current address middle byte (offset 0x0b)
uint8_t DMAAudioChannel::curaddr_msb |
Current address MSB (offset 0x0c)
uint8_t DMAAudioChannel::enable |
Enable Audio DMA channel X (offset 0x00)
uint8_t DMAAudioChannel::freq_lsb |
Frequency LSB (offset 0x04)
uint8_t DMAAudioChannel::freq_mb |
Frequency middle byte (offset 0x05)
uint8_t DMAAudioChannel::freq_msb |
Frequency MSB (offset 0x06)
uint8_t DMAAudioChannel::taddr_lsb |
Top address LSB (offset 0x07)
uint8_t DMAAudioChannel::taddr_msb |
Top address MSB (offset 0x08)
uint8_t DMAAudioChannel::tmraddr_lsb |
Timing counter LSB (offset 0x0d)
uint8_t DMAAudioChannel::tmraddr_mb |
Timing counter middle byte (offset 0x0e)
uint8_t DMAAudioChannel::tmraddr_msb |
Timing counter MSB (offset 0x0f)
uint8_t DMAAudioChannel::volume |
playback volume (offset 0x09)