📄 dma.h
字号:
/**************************************************************************/
/**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**MITSUBISHI**/
/**************************************************************************/
/**************************************************************************/
/* DISCLAIMER: */
/* We (MITSUBISHI ELECTRIC B.V.) do not warrant that the Software is */
/* free from claims by a third party of copyright, patent, trademark, */
/* trade secret or any other intellectual property infringement. */
/* */
/* Under no circumstances are we liable for any of the following: */
/* */
/* 1. third-party claims against you for losses or damages; */
/* 2. loss of, or damage to, your records or data; or */
/* 3. economic consequential damages (including lost profits or */
/* savings) or incidental damages, even if we are informed of */
/* their possibility. */
/* */
/* We do not warrant uninterrupted or error free operation of the */
/* Software. We have no obligation to provide service, defect */
/* correction, or any maintenance for the Software. We have no */
/* obligation to supply any Software updates or enhancements to you */
/* even if such are or later become available. */
/* */
/* IF YOU DOWNLOAD OR USE THIS SOFTWARE YOU AGREE TO THESE TERMS. */
/* */
/* THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THE */
/* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A */
/* PARTICULAR PURPOSE. */
/**************************************************************************/
/**************************************************************************/
/* */
/* DMA Initialization and Service-Routines for the M3060 */
/* */
/* Name : DMA.H */
/* Date/Author : 22.04.1997/ST */
/* Change : */
/* (Date) (Author) (Description) */
/* */
/**************************************************************************/
/************************* exported variables *****************************/
/************************* function prototypes ****************************/
/* DMA0 *******************************************************************/
void near dma0_init_one_shot_transfer_mode
(
unsigned char * source, // source address
unsigned char * destination, // destination address
unsigned int count // transfer count
);
void near dma0_init_repeated_transfer_mode
(
unsigned char * source, // source address
unsigned char * destination, // destination address
unsigned int count // transfer count
);
void near dma0_start (void);
void near dma0_stop (void);
void near dma0_interrupt_set (void);
void near dma0_interrupt_clr (void);
/* DMA1 *******************************************************************/
void near dma1_init_one_shot_transfer_mode
(
unsigned char * source, // source address
unsigned char * destination, // destination address
unsigned int count // transfer count
);
void near dma1_init_repeated_transfer_mode
(
unsigned char * source, // source address
unsigned char * destination, // destination address
unsigned int count // transfer count
);
void near dma1_start (void);
void near dma1_stop (void);
void near dma1_interrupt_set (void);
void near dma1_interrupt_clr (void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -