⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m5200pscsio.h

📁 mpc5200 for bsp,it is have passed built.
💻 H
字号:
/* m5200PscSio.h - Motorola MPC5200 internal UART header file *//* Copyright 1984-2003 Wind River Systems, Inc. *//*modification history--------------------01c,25Jun03,pkr	 created*//*This file contains constants for the UART contained in the Motorola MCF5200.The constant SIO must defined whenincluding this header file.*/#ifndef __INCm5200PscSioh#define __INCm5200PscSioh#ifdef __cplusplusextern "C" {#endif#ifndef	_ASMLANGUAGE#include "sioLib.h"typedef struct		    {    SIO_DRV_FUNCS  * pDrvFuncs;	/* Driver functions */				/* CallBacks */    STATUS   (*getTxChar)();    STATUS   (*putRcvChar)();    void *   getTxArg;    void *   putRcvArg;        UINT		clkRate;	/* system clock rate */    UINT16		mode;		/* SIO_MODE */    VOIDFUNCPTR *intVec;    int			options;    int			intEnable;    UINT		baudRate;    UCHAR		acrCopy;    USHORT		imrCopy;    int			portNum;    volatile UCHAR	*mr;	/* UART mode register */    volatile USHORT	*sr;	/* UART status register */    volatile USHORT	*csr;	/* UART clock select register */    volatile UCHAR	*cr;	/* UART command register */    volatile ULONG	*rb;	/* UART receive buffer register */    volatile UCHAR	*tb;	/* UART transmit buffer register */    volatile UCHAR	*ipcr;	/* UART input port change register */    volatile UCHAR	*acr;	/* UART auxiliary control register */    volatile USHORT	*isr;	/* UART interrupt status register */    volatile USHORT	*imr;	/* UART interrupt mask register */#if 0    volatile UCHAR	*ivr;	/* UART interrupt vector register */#endif   volatile UCHAR	*op1;	/* UART output port set cmd */   volatile UCHAR	*sicr;	/* UART ??? */   volatile UCHAR	*dp;	/* UART divisor high */   volatile UCHAR	*dl;	/* UART divisor low */   volatile USHORT	*rfalarm;	/* UART ??? */   volatile USHORT	*tfalarm;	/* UART ??? */    } M5200_PSC_CHAN;#endif	/* _ASMLANGUAGE *//* function declarations */#if defined(__STDC__) || defined(__cplusplus)IMPORT	void	m5200PscSioDevInit (M5200_PSC_CHAN *pChan);IMPORT	void	m5200PscSioDevInit2 (M5200_PSC_CHAN *pChan);IMPORT  void    m5200PscSioInt (M5200_PSC_CHAN *pChan);#else	/* __STDC__ */IMPORT	void	m5200PscSioDevInit ();IMPORT	void	m5200PscSioDevInit2 ();IMPORT  void    m5200PscSioInt ();#endif	/* __STDC__ */#ifdef __cplusplus}#endif#endif /* __INCm5200PscSioh */

⌨️ 快捷键说明

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