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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第309页浏览型号MC9S12P64CFT的Datasheet PDF文件第310页浏览型号MC9S12P64CFT的Datasheet PDF文件第311页浏览型号MC9S12P64CFT的Datasheet PDF文件第312页浏览型号MC9S12P64CFT的Datasheet PDF文件第314页浏览型号MC9S12P64CFT的Datasheet PDF文件第315页浏览型号MC9S12P64CFT的Datasheet PDF文件第316页浏览型号MC9S12P64CFT的Datasheet PDF文件第317页  
Analog-to-Digital Converter (ADC12B10C)  
9.3.2.3  
ATD Control Register 2 (ATDCTL2)  
Writes to this register will abort current conversion sequence.  
Module Base + 0x0002  
7
6
5
4
3
2
1
0
R
W
0
AFFC  
ICLKSTP  
ETRIGLE  
ETRIGP  
ETRIGE  
ASCIE  
ACMPIE  
Reset  
0
0
0
0
0
0
0
0
= Unimplemented or Reserved  
Figure 9-5. ATD Control Register 2 (ATDCTL2)  
Read: Anytime  
Write: Anytime  
Table 9-6. ATDCTL2 Field Descriptions  
Description  
Field  
6
ATD Fast Flag Clear All  
AFFC  
0 ATD flag clearing done by write 1 to respective CCF[n] flag.  
1 Changes all ATD conversion complete flags to a fast clear sequence.  
For compare disabled (CMPE[n]=0) a read access to the result register will cause the associated CCF[n] flag  
to clear automatically.  
For compare enabled (CMPE[n]=1) a write access to the result register will cause the associated CCF[n] flag  
to clear automatically.  
5
Internal Clock in Stop Mode Bit — This bit enables A/D conversions in stop mode. When going into stop mode  
ICLKSTP and ICLKSTP=1 the ATD conversion clock is automatically switched to the internally generated clock ICLK.  
Current conversion sequence will seamless continue. Conversion speed will change from prescaled bus  
frequency to the ICLK frequency (see ATD Electrical Characteristics in device description). The prescaler bits  
PRS4-0 in ATDCTL4 have no effect on the ICLK frequency. For conversions during stop mode the automatic  
compare interrupt or the sequence complete interrupt can be used to inform software handler about changing  
A/D values. External trigger will not work while converting in stop mode. For conversions during transition from  
Run to Stop Mode or vice versa the result is not written to the results register, no CCF flag is set and no compare  
is done. When converting in Stop Mode (ICLKSTP=1) an ATD Stop Recovery time tATDSTPRCV is required to  
switch back to bus clock based ATDCLK when leaving Stop Mode. Do not access ATD registers during this time.  
0 If A/D conversion sequence is ongoing when going into stop mode, the actual conversion sequence will be  
aborted and automatically restarted when exiting stop mode.  
1 A/D continues to convert in stop mode using internally generated clock (ICLK)  
4
External Trigger Level/Edge Control — This bit controls the sensitivity of the external trigger signal. See  
ETRIGLE Table 9-7 for details.  
3
External Trigger Polarity — This bit controls the polarity of the external trigger signal. See Table 9-7 for details.  
ETRIGP  
2
External Trigger Mode Enable — This bit enables the external trigger on one of the AD channels or one of the  
ETRIG3-0 inputs as described in Table 9-5. If external trigger source is one of the AD channels, the digital input  
buffer of this channel is enabled. The external trigger allows to synchronize the start of conversion with external  
events. External trigger will not work while converting in stop mode.  
ETRIGE  
0 Disable external trigger  
1 Enable external trigger  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
313  
 复制成功!