📄 sci.c
字号:
/******************************************************************************
*
* Freescale Semiconductor Inc.
* (c) Copyright 2004-2005 Freescale Semiconductor, Inc.
* ALL RIGHTS RESERVED.
*
***************************************************************************//*!
*
* @file sci.c
*
* @author R89994
*
* @version 1.0.5.0
*
* @date Jul-27-2006
*
* @brief Settings of Periphery SCI
*
******************************************************************************/
#include "main.h"
#include "sci.h"
/******************************************************************************
* Module : void SetupUART(void)
* Description : initialization of SCI periphery used by Freemaster
* Global Data : none
* Static Global Data: none
* Returns : none
* Arguments : none
* Special Issues : none
******************************************************************************/
void SetupUART(void)
{
// 9600 @ 24MHz
SCI5BD = 0x009C;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -