s3c6410_ac97.h

来自「6410BSP1」· C头文件 代码 · 共 53 行

H
53
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
//  Header: s3c6410_ac97.h
//
//  Defines the Serial Peripheral Interface (HS-SPI) controller CPU register layout and
//  definitions.
//
#ifndef __S3C6410_AC97_H
#define __S3C6410_AC97_H

#if __cplusplus
    extern "C"
    {
#endif


//------------------------------------------------------------------------------
//  Type: S3C6410_AC97_REG
//
//  Defines the AC97 Interface register layout. This register bank is located by the
//  constant CPU_REG_BASE_XX_SPIX in the configuration file s3c6410_reg_base_cfg.h.
//

typedef struct
{
    UINT32 AC_GLBCTRL;                //0x00
    UINT32 AC_GLBSTAT;                //0x04
    UINT32 AC_CODEC_CMD;            //0x08
    UINT32 AC_CODEC_STAT;            //0x0C

    UINT32 AC_PCMADDR;                //0x10
    UINT32 AC_MICADDR;                //0x14
    UINT32 AC_PCMDATA;                //0x18
    UINT32 AC_MICDATA;                //0x1C
} S3C6410_AC97_REG, *PS3C6410_AC97_REG;

//------------------------------------------------------------------------------

#if __cplusplus
    }
#endif

#endif    // __S3C6410_AC97_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?