欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第318页浏览型号MC9S12P64CFT的Datasheet PDF文件第319页浏览型号MC9S12P64CFT的Datasheet PDF文件第320页浏览型号MC9S12P64CFT的Datasheet PDF文件第321页浏览型号MC9S12P64CFT的Datasheet PDF文件第323页浏览型号MC9S12P64CFT的Datasheet PDF文件第324页浏览型号MC9S12P64CFT的Datasheet PDF文件第325页浏览型号MC9S12P64CFT的Datasheet PDF文件第326页  
Analog-to-Digital Converter (ADC12B10C)  
Table 9-18. ATDSTAT2 Field Descriptions  
Description  
Field  
9–0  
CCF[9:0]  
Conversion Complete Flag n (n= 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) (n conversion number, NOT channel number!)—  
A conversion complete flag is set at the end of each conversion in a sequence. The flags are associated with the  
conversion position in a sequence (and also the result register number). Therefore in non-fifo mode, CCF[8] is  
set when the ninth conversion in a sequence is complete and the result is available in result register ATDDR8;  
CCF[9] is set when the tenth conversion in a sequence is complete and the result is available in ATDDR9, and  
so forth.  
If automatic compare of conversion results is enabled (CMPE[n]=1 in ATDCMPE), the conversion complete flag  
is only set if comparison with ATDDRn is true and if ACMPIE=1 a compare interrupt will be requested. In this  
case, as the ATDDRn result register is used to hold the compare value, the result will not be stored there at the  
end of the conversion but is lost.  
A flag CCF[n] is cleared when one of the following occurs:  
A) Write to ATDCTL5 (a new conversion sequence is started)  
B) If AFFC=0, write “1” to CCF[n]  
C) If AFFC=1 and CMPE[n]=0, read of result register ATDDRn  
D) If AFFC=1 and CMPE[n]=1, write to result register ATDDRn  
In case of a concurrent set and clear on CCF[n]: The clearing by method A) will overwrite the set. The clearing  
by methods B) or C) or D) will be overwritten by the set.  
0 Conversion number n not completed or successfully compared  
1 If (CMPE[n]=0): Conversion number n has completed. Result is ready in ATDDRn.  
If (CMPE[n]=1): Compare for conversion result number n with compare value in ATDDRn, using compare  
operator CMPGT[n] is true. (No result available in ATDDRn)  
9.3.2.10 ATD Input Enable Register (ATDDIEN)  
Module Base + 0x000C  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
R
W
0
0
0
0
0
0
IEN[9:0]  
Reset  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
= Unimplemented or Reserved  
Figure 9-12. ATD Input Enable Register (ATDDIEN)  
Read: Anytime  
Write: Anytime  
Table 9-19. ATDDIEN Field Descriptions  
Description  
Field  
9–0  
IEN[9:0]  
ATD Digital Input Enable on channel x (x= 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) — This bit controls the digital input buffer  
from the analog input pin (ANx) to the digital data register.  
0 Disable digital input buffer to ANx pin  
1 Enable digital input buffer on ANx pin.  
Note: Setting this bit will enable the corresponding digital input buffer continuously. If this bit is set while  
simultaneously using it as an analog port, there is potentially increased power consumption because the  
digital input buffer maybe in the linear region.  
S12P-Family Reference Manual, Rev. 1.13  
322  
Freescale Semiconductor  
 复制成功!