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

📄 adduart.c

📁 zilog z80f91串口通用函数
💻 C
字号:
/*
 * File			:	AddUart.c
 *
 * Description	:	Adds a UART device to DDF device table.
 *					
 * Copyright 2003, ZiLOG Inc.
 * All Rights Reserved
 *
 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of ZiLOG Inc., and might
 * contain proprietary, confidential and trade secret information of
 * ZiLOG, our partners and parties from which this code has been licensed.
 * 
 * The contents of this file may not be disclosed to third parties, copied or
 * duplicated in any form, in whole or in part, without the prior written
 * permission of ZiLOG Inc.
 */

#include "ZTypes.h"
#include "ZSysgen.h"
#include "ZDevice.h"

extern RZK_DEVICE_CB_t Serial0Dev ;
extern RZK_DEVICE_CB_t Serial1Dev ;


DDF_STATUS_t AddUART0(void)
{
	return RZKDevAttach( &Serial0Dev ) ;

}

DDF_STATUS_t AddUART1(void)
{
	return RZKDevAttach( &Serial1Dev ) ;
}

⌨️ 快捷键说明

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