- 1、本文档共19页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
arm fifo源代码(FIFO source code Corps)
arm fifo源代码(FIFO source code Corps)
//LPC2xxx ARM7 serial FIFO interrupt the source code
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$/ * Copyright (c) $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Shaw Electronics (Guangzhou) research and Development Center
$Shawyoo Electronics (GuangZhou) RD Center
$[url][/url] Email: [email]autoele@[/email]
$QQ group: 9069471/9069433/9524253, All, rights, reserved.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$Copyright (c) $$$$$$$$$$$$$$$$$$$$$$$$$$$.
*
File description
File name: UART0.c
Function Description: serial port 0 bottom drive function
Compile environment: Keil, for, ARM, uVision3
Target CPU: LPC2000
Author: Xiao Jianhui
Creation time:
Recommended editing environment: UltraEdit 11.00a+ tab width of three characters, program readability better.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
* /
I nclude RTOS.h
#define UART0_GLOBALS
I nclude UART0.h
#define TEST_UART0 0
/ * $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Function name: Uart0_SendChar
Function Description: send 0 bytes of data from serial port by inquiry. This function is not used at all
Entry parameter: data to be sent
Export parameters: None
Global variables: None
Creation time:
Modification time:
Note: before calling this function, you need to turn off the serial port interrupt
* /
The above statement $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$/ / function prototype for the function call
Void Uart0_SendChar (uchar data)
{
While ((U0LSR 0 = = 0); / /
U0THR = data;
}
/ * $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Function name: PutString
Function Description: Send a piece of data (string) from the serial port 0
Entry parameter: String data pointer to be transmitted
Export parameter: send successfully or no flag, success is 0, unsuccessful for non 0
Global variables:
Creation time:
Modification time:
* /
The above statement $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
您可能关注的文档
- 2009年社会工作法规与政策(中级)模拟试题(In 2009, social work regulations and policies (intermediate) test).doc
- 2008年高考近义词辨析备考集锦(The college entrance examination in 2008 pro forma synonyms highlights).doc
- 2009中国大学本科教育(音乐学)专业排行榜(2009 Chinese undergraduate education (Music) professional rankings).doc
- 2010-2011年人教版小学语文三年级下册教学计划(2010-2011 years of teaching plans of primary school Chinese version of the third grade 2).doc
- 201007vb期末考卷城市学院(201007vb city college term papers).doc
- 20106月四级听力(20106 March Four hearing).doc
- 2010全国大学生数学建模甘肃赛区获奖情况(2010 National Undergraduate Mathematical Modeling Contest in Gansu Awards).doc
- 2010全民减灾自救预防手册——地球震动模式下如何保护我们爱的人(The 2010 national disaster reduction prevention self-help Handbook earth vibration mode and how to protect the people we love).doc
- 2010华中师大教育学真题(The 2010 Central China Normal University education.).doc
- 2009年广播电视大学教学反思征文评选结果(In 2009, radio and TV University Teaching Reflection on the selection results).doc
最近下载
- 内江师范学院2021-2022学年第2学期《高等数学(下)》期末试卷(A卷)附标准答案.pdf
- 高思奥数一年级下册含答案第16讲 有趣的拆数.docx VIP
- 叉车安全考试题库及答案.doc VIP
- 新疆2024年高中学业水平考试化学试卷试题真题(含答案详解).docx VIP
- 卓长仁劫机案.doc VIP
- 国家建筑标准设计图集 23S519小型排水构筑物图集.pdf VIP
- 四年级语文下册期末试卷(人教版).doc VIP
- 金属塑性成形原理知到智慧树期末考试答案题库2024年秋山东建筑大学.docx VIP
- 《高效工作计划与目标管理培训课件》.ppt VIP
- 常见肿瘤标志物及临床意义.pptx VIP
文档评论(0)