函数功能:串口发送数据函数  参数:data:发送数据缓冲区地址        len:发送的字符窜长度 CC2530有两个串口USART0和USART1,它们分别都能工作于UART(异步通信)模式和...">
Home » Source Code » CC2530 ZigBee-based experiment of serial port to send data

CC2530 ZigBee-based experiment of serial port to send data

1074743795
2014-10-06 11:49:38
The author
View(s):
Download(s): 5
Point (s): 1 
Category Category:
ArmArm CC

Description

family:宋体;font-size:small;">

函数功能:串口发送数据函数

 参数:data:发送数据缓冲区地址

       len:发送的字符窜长度

CC2530有两个串口USART0USART1,它们分别都能工作于UART(异步通信)模式和SPI(同步通信)模式,模式的选择由串列端口控制/状态暂存器的UxCSR.MODE决定。本实验采用USART0串列端口UART模式。


       UART 模式可以选择两线连接(TXDRXD)或四线连接(TXDRXDCTSRTS),其中RTSCTS用于硬件流量控制。UART模式提供全双工传送,接收器中的位元同步不影响发送功能。传送一个UART字节包1个起始位元、8个资料位元、1个可选项的第9位元资料或奇偶校验位元再加上1个(或2 个)停止位元。


       对于每个USART,有5个如下的寄存器(xUSART 的编号,为0或者1



Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
串口发送数据实验代码.doc31.00 kB26-09-14|16:58
...
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
追忆5
2015-04-28

挺实用的资源,下下来看看~感谢楼主分享~

xin0402yue
2015-07-07

这篇文章对我的作用很大,正是我想要的,谢谢

  • 1
  • Page 1
  • Total 1

CC2530 ZigBee-based experiment of serial port to send data (6.85 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D