C:/AudioFramework/CPUs/AFCPUPXA270.h File Reference

AFCPUPXA270 class definition for the Audio Framework. More...

#include "../Core/AFControl.h"
#include "AFCPU.h"
#include <ceddk.h>
#include <xllp_i2s.h>
#include <xllp_dmac.h>
#include <xllp_gpio.h>
#include <bulverde.h>
#include <mainstoneii.h>

Go to the source code of this file.

Classes

class  AFCPUHardware
 The AFCPUPXA270 class definition. More...

Defines

#define XLLP_SACR0_RFTH_VAL(_thresh)   (((_thresh) & 0xF ) << 12)
#define XLLP_SACR0_TFTH_VAL(_thresh)   (((_thresh) & 0xF ) << 8)
#define I2S_OUTPUT_FIFO_DEPTH   1
#define I2S_INPUT_FIFO_DEPTH   15
#define DMA_INTERRUPT_REGISTER   0x400000f0
#define DESC_ADDRESS_STOP_MASK   (0x1U << 0)
#define DMA_MAP_VALID_MASK   (0x1U << 7)
#define DMAC_I2S_AUDIO_RCV_FIFO   0x40400080
#define DMAC_I2S_AUDIO_XMIT_FIFO   0x40400080
#define AFCPUHardware   AFCPUPXA270

Enumerations

enum  {
  DCSR_BUSERRINTR = (0x1U << 0), DCSR_STARTINTR = (0x1U << 1), DCSR_ENDINTR = (0x1U << 2), DCSR_STOPINTR = (0x1U << 3),
  DCSR_REQPEND = (0x1U << 8), DCSR_STARTIRQEN = (0x1U << 21), DCSR_STOPIRQEN = (0x1U << 29), DCSR_NOFETCH = (0x1U << 30),
  DCSR_RUN = (0x1U << 31)
}
enum  { AUDIO_DMA_NUMBER_PAGES = 2, NUM_DMA_AUDIO_BUFFERS = 4 }

Detailed Description

AFCPUPXA270 class definition for the Audio Framework.

In this file the derived AFCPUPXA270 class is defined, providing the set of hardware-specific PXA270 CPU methods for AF.

Version:
$Id: AFCPUPXA270.h 2075 2009-07-28 10:09:17Z mz $
Author:
Dimitris Papastamos
Manfredas Zabarauskas

Definition in file AFCPUPXA270.h.


Define Documentation

#define AFCPUHardware   AFCPUPXA270

Definition at line 95 of file AFCPUPXA270.h.

#define DESC_ADDRESS_STOP_MASK   (0x1U << 0)

Definition at line 83 of file AFCPUPXA270.h.

#define DMA_INTERRUPT_REGISTER   0x400000f0

Definition at line 68 of file AFCPUPXA270.h.

#define DMA_MAP_VALID_MASK   (0x1U << 7)

Definition at line 84 of file AFCPUPXA270.h.

#define DMAC_I2S_AUDIO_RCV_FIFO   0x40400080

Definition at line 86 of file AFCPUPXA270.h.

#define DMAC_I2S_AUDIO_XMIT_FIFO   0x40400080

Definition at line 87 of file AFCPUPXA270.h.

#define I2S_INPUT_FIFO_DEPTH   15

Definition at line 67 of file AFCPUPXA270.h.

#define I2S_OUTPUT_FIFO_DEPTH   1

Definition at line 66 of file AFCPUPXA270.h.

#define XLLP_SACR0_RFTH_VAL ( _thresh   )     (((_thresh) & 0xF ) << 12)

Definition at line 60 of file AFCPUPXA270.h.

#define XLLP_SACR0_TFTH_VAL ( _thresh   )     (((_thresh) & 0xF ) << 8)

Definition at line 63 of file AFCPUPXA270.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
DCSR_BUSERRINTR 
DCSR_STARTINTR 
DCSR_ENDINTR 
DCSR_STOPINTR 
DCSR_REQPEND 
DCSR_STARTIRQEN 
DCSR_STOPIRQEN 
DCSR_NOFETCH 
DCSR_RUN 

Definition at line 70 of file AFCPUPXA270.h.

anonymous enum
Enumerator:
AUDIO_DMA_NUMBER_PAGES 
NUM_DMA_AUDIO_BUFFERS 

Definition at line 89 of file AFCPUPXA270.h.


Generated on Sun Sep 27 12:36:35 2009 for Audio Framework by  doxygen 1.6.1