dma.h

来自「UART ADI example 简单的例子 练练手」· C头文件 代码 · 共 47 行

H
47
字号
/****************************************Copyright (c)****************************************************
**                            Guangzhou ZHIYUAN electronics Co.,LTD.
**                                      
**                                 http://www.embedtools.com
**
**--------------File Info---------------------------------------------------------------------------------
** File name:               dma.h
** Latest modified Date:    2008-8-20
** Latest Version:          1.0
** Descriptions:            DMA外设头文件
**
**--------------------------------------------------------------------------------------------------------
** Created by:              CaiWenqi
** Created date:            20078-8-20
** Version:                 1.0
** Descriptions:            The original version
**
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
** Version:                 
** Descriptions:            
**
*********************************************************************************************************/
 
#ifndef __dma_h
#define __dma_h

#include "config.h"

typedef struct dmaDBlistLargeMode {
    uint32  uiNextDescPtr;                                              /* 下一个描述符表首地址         */
    uint32  uiStartAddr;                                                /* 数据块首地址                 */
    uint16  ucDmaConfig;                                                /* DMA配置                      */
    uint16  ucXCount;                                                   /* 行中数据个数                 */
    uint16  ucXModify;                                                  /* 行步进                       */
    uint16  ucYCount;                                                   /* 列中数据个数                 */
    uint16  ucYModify;                                                  /* 列步进                       */
} CreatDescLMode;

#endif


/*********************************************************************************************************
  END FILE
*********************************************************************************************************/

⌨️ 快捷键说明

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