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

MC908AP32CFAE 参数 Datasheet PDF下载

MC908AP32CFAE图片预览
型号: MC908AP32CFAE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908AP32CFAE]
分类和应用:
文件页数/大小: 325 页 / 4102 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908AP32CFAE的Datasheet PDF文件第140页浏览型号MC908AP32CFAE的Datasheet PDF文件第141页浏览型号MC908AP32CFAE的Datasheet PDF文件第142页浏览型号MC908AP32CFAE的Datasheet PDF文件第143页浏览型号MC908AP32CFAE的Datasheet PDF文件第145页浏览型号MC908AP32CFAE的Datasheet PDF文件第146页浏览型号MC908AP32CFAE的Datasheet PDF文件第147页浏览型号MC908AP32CFAE的Datasheet PDF文件第148页  
I/O Signals  
To allow software to clear status bits during a break interrupt, write a logic 1 to the BCFE bit. If a status  
bit is cleared during the break state, it remains cleared when the MCU exits the break state.  
To protect status bits during the break state, write a logic 0 to the BCFE bit. With BCFE at logic 0 (its  
default state), software can read and write I/O registers during the break state without affecting status bits.  
Some status bits have a 2-step read/write clearing procedure. If software does the first step on such a bit  
before the break, the bit cannot change during the break state as long as BCFE is at logic 0. After the  
break, doing the second step clears the status bit.  
9.8 I/O Signals  
Port B shares four of its pins with the TIM. The four TIM channel I/O pins are T1CH0, T1CH1, T2CH0,  
and T2CH1 as described in 9.3 Pin Name Conventions.  
Each channel I/O pin is programmable independently as an input capture pin or an output compare pin.  
T1CH0 and T2CH0 can be configured as buffered output compare or buffered PWM pins.  
9.9 I/O Registers  
NOTE  
References to either timer 1 or timer 2 may be made in the following text by  
omitting the timer number. For example, TSC may generically refer to both  
T1SC AND T2SC.  
These I/O registers control and monitor operation of the TIM:  
TIM status and control register (TSC)  
TIM counter registers (TCNTH:TCNTL)  
TIM counter modulo registers (TMODH:TMODL)  
TIM channel status and control registers (TSC0, TSC1)  
TIM channel registers (TCH0H:TCH0L, TCH1H:TCH1L)  
9.9.1 TIM Status and Control Register  
The TIM status and control register (TSC):  
Enables TIM overflow interrupts  
Flags TIM overflows  
Stops the TIM counter  
Resets the TIM counter  
Prescales the TIM counter clock  
Address: T1SC, $0020 and T2SC, $002B  
Bit 7  
TOF  
0
6
TOIE  
0
5
TSTOP  
1
4
0
3
0
2
PS2  
0
1
PS1  
0
Bit 0  
PS0  
0
Read:  
Write:  
Reset:  
TRST  
0
0
0
= Unimplemented  
Figure 9-4. TIM Status and Control Register (TSC)  
MC68HC908AP Family Data Sheet, Rev. 4  
Freescale Semiconductor  
143  
 复制成功!