afw.h で定義されています。
#include <sys\exception.h>
#include <cdefBF533.h>
#include <ccblkfn.h>
#include <sysreg.h>
ネームスペース | |
namespace | afw |
マクロ定義 | |
#define | pFlashA_PortA_Dir (volatile unsigned char * )0x20270006 |
addresse for Port B in Flash A Direction Register | |
#define | pFlashA_PortA_Data (volatile unsigned char * )0x20270004 |
addresse for Port B in Flash A Data Register | |
関数 | |
bool | afw::ISR (void) |
SPORT0受信DMA割り込みハンドラ | |
void | afw::start (void) |
オーディオ処理の開始 | |
void | afw::init (void) |
afwの初期化 | |
void | afw::initProcessData (int count) |
コールバック関数の処理化 | |
void | afw::processData (const short leftIn[],const short rightIn[],short leftOut[],short rightOut[],int count) |
オーディオ・コールバック関数 | |
変数 | |
const int | afw::SLOT_PER_SAMPLE = 8 |
サンプルあたりのスロット数。 | |
const int | afw::SAMPLES_PER_INTR = 8 |
割り込み1回あたりに転送する、サンプル数。 | |
const int | afw::INTR_PER_BUFFER = 3 |
過去何回分の割り込みのデータを用意するか。 | |
const int | afw::DAC_CONTROL_1 = 0x0000 |
const int | afw::DAC_CONTROL_2 = 0x1000 |
const int | afw::DAC_VOLUME_0 = 0x2000 |
const int | afw::DAC_VOLUME_1 = 0x3000 |
const int | afw::DAC_VOLUME_2 = 0x4000 |
const int | afw::DAC_VOLUME_3 = 0x5000 |
const int | afw::DAC_VOLUME_4 = 0x6000 |
const int | afw::DAC_VOLUME_5 = 0x7000 |
const int | afw::ADC_0_PEAK_LEVEL = 0x8000 |
const int | afw::ADC_1_PEAK_LEVEL = 0x9000 |
const int | afw::ADC_2_PEAK_LEVEL = 0xA000 |
const int | afw::ADC_3_PEAK_LEVEL = 0xB000 |
const int | afw::ADC_CONTROL_1 = 0xC000 |
const int | afw::ADC_CONTROL_2 = 0xD000 |
const int | afw::ADC_CONTROL_3 = 0xE000 |
const int | afw::INTERNAL_ADC_L0 = 0 |
const int | afw::INTERNAL_ADC_L1 = 1 |
const int | afw::INTERNAL_ADC_R0 = 4 |
const int | afw::INTERNAL_ADC_R1 = 5 |
const int | afw::INTERNAL_DAC_L0 = 0 |
const int | afw::INTERNAL_DAC_L1 = 1 |
const int | afw::INTERNAL_DAC_L2 = 2 |
const int | afw::INTERNAL_DAC_R0 = 4 |
const int | afw::INTERNAL_DAC_R1 = 5 |
const int | afw::INTERNAL_DAC_R2 = 6 |
const int | afw::CODEC_1836_REGS_LENGTH = 11 |
size of array iCodec1836TxRegs and iCodec1836RxRegs | |
const int | afw::TIMOD_DMA_TX = 0x0003 |
SPI transfer mode | |
const int | afw::SLEN_32 = 0x001f |
SPORT0 word length | |
const int | afw::FLOW_Autobuffer = 0x1000 |
DMA flow mode |