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

MC908AP32CFAE 参数 Datasheet PDF下载

MC908AP32CFAE图片预览
型号: MC908AP32CFAE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908AP32CFAE]
分类和应用:
文件页数/大小: 325 页 / 4102 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908AP32CFAE的Datasheet PDF文件第250页浏览型号MC908AP32CFAE的Datasheet PDF文件第251页浏览型号MC908AP32CFAE的Datasheet PDF文件第252页浏览型号MC908AP32CFAE的Datasheet PDF文件第253页浏览型号MC908AP32CFAE的Datasheet PDF文件第255页浏览型号MC908AP32CFAE的Datasheet PDF文件第256页浏览型号MC908AP32CFAE的Datasheet PDF文件第257页浏览型号MC908AP32CFAE的Datasheet PDF文件第258页  
Interrupts  
15.3.6 Result Justification  
The conversion result may be formatted in four different ways.  
Left justified  
Right justified  
Left justified sign data mode  
8-bit truncation  
All four of these modes are controlled using MODE0 and MODE1 bits located in the ADC clock control  
register (ADICLK).  
Left justification will place the eight most significant bits (MSB) in the corresponding ADC data register  
high (ADRH). This may be useful if the result is to be treated as an 8-bit result where the least significant  
two bits, located in the ADC data register low (ADRL) can be ignored. However, you must read ADRL  
after ADRH or else the interlocking will prevent all new conversions from being stored.  
Right justification will place only the two MSBs in the corresponding ADC data register high (ADRH) and  
the eight LSB bits in ADC data register low (ADRL). This mode of operation typically is used when a 10-bit  
unsigned result is desired.  
Left justified sign data mode is similar to left justified mode with one exception. The MSB of the 10-bit  
result, AD9 located in ADRH is complemented. This mode of operation is useful when a result,  
represented as a signed magnitude from mid-scale, is needed.  
Finally, 8-bit truncation mode will place the eight MSBs in ADC data register low (ADRL). The two LSBs  
are dropped. This mode of operation is used when compatibility with 8-bit ADC designs are required. No  
interlocking between ADRH and ADRL is present.  
15.3.7 Data Register Interlocking  
Reading ADRH in any 10-bit mode latches the contents of ADRL until ADRL is read. Until ADRL is read  
all subsequent ADC results will be lost. This register interlocking can also be reset by a write to the ADC  
status and control register, or ADC clock control register. A power-on reset or reset will also clear the  
interlocking. Note that an external conversion request will not reset the lock.  
15.3.8 Monotonicity  
The conversion process is monotonic and has no missing codes.  
15.4 Interrupts  
When the AIEN bit is set, the ADC module is capable of generating a CPU interrupt after each ADC  
conversion or after an auto-scan conversion cycle. A CPU interrupt is generated if the COCO bit is at  
logic 0. The COCO bit is not used as a conversion complete flag when interrupts are enabled. The  
interrupt vector is defined in Table 2-1 . Vector Addresses.  
15.5 Low-Power Modes  
The STOP and WAIT instructions put the MCU in low power-consumption standby modes.  
MC68HC908AP Family Data Sheet, Rev. 4  
Freescale Semiconductor  
251  
 复制成功!