智能车制作

 找回密码
 注册

扫一扫,访问微社区

查看: 2968|回复: 1
打印 上一主题 下一主题

ATD模块中的ATDctl3的作用?

[复制链接]

0

主题

16

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
263
威望
199
贡献
22
兑换币
0
注册时间
2008-10-26
在线时间
21 小时
跳转到指定楼层
1#
发表于 2008-11-27 00:05:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
<>这个寄存器中的FIFO的作用是什么</P><P>什么叫做 把结果寄存器的值映射到转换序列呢</P><P>?、</P><P>谢谢</P>

22

主题

518

帖子

0

精华

版主

Rank: 9Rank: 9Rank: 9

积分
6442
QQ
威望
943
贡献
5041
兑换币
99
注册时间
2008-2-26
在线时间
229 小时
2#
发表于 2008-11-27 07:55:22 | 只看该作者

Re:ATD模块中的ATDctl3的作用?

<>If this bit is one (FIFO mode) the conversion counter is not reset at the beginning or ending of a<BR>conversion sequence; sequential conversion results are placed in consecutive result registers. In a<BR>continuously scanning conversion sequence, the result register counter will wrap around when it<BR>reaches the end of the result register file. The conversion counter value (CC2-0 in ATDSTAT0) can<BR>be used to determine where in the result register file, the current conversion result will be placed.<BR>Aborting a conversion or starting a new conversion by write to an ATDCTL register (ATDCTL5-0)<BR>clears the conversion counter even if FIFO=1. So the first result of a new conversion sequence, started<BR>by writing to ATDCTL5, will always be place in the first result register (ATDDDR0). Intended usage<BR>of FIFO mode is continuos conversion (SCAN=1) or triggered conversion (ETRIG=1).<BR>Which result registers hold valid data can be tracked using the conversion complete flags. Fast flag<BR>clear mode may or may not be useful in a particular application to track valid data.<BR>1 = Conversion results are placed in consecutive result registers (wrap around at end).<BR>0 = Conversion results are placed in the corresponding result register up to the selected sequence<BR>length.</P><P>这是说明书上写的,简单说FIFO就是指先进先出存储器,就是将</P><DIV id=result_box dir=ltr>连续转换的值按顺序,写到一个存储区,如果满了的话后面的就会覆盖掉(wrap around at end)</DIV><P>而不是原来的一一对应的地方</P>
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关于我们|联系我们|小黑屋|智能车制作 ( 黑ICP备2022002344号

GMT+8, 2024-9-27 22:21 , Processed in 0.150984 second(s), 29 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表