參數(shù)資料
型號(hào): TS80C51RD2-LIE
廠商: International Rectifier
英文描述: High Performance 8-bit Microcontroller
中文描述: 高性能8位微控制器
文件頁(yè)數(shù): 29/85頁(yè)
文件大?。?/td> 762K
代理商: TS80C51RD2-LIE
29
4188E–8051–08/06
AT/TS8xC51Rx2
There are two additional registers associated with each of the PCA modules. They are CCAPnH
and CCAPnL and these are the registers that store the 16-bit count when a capture occurs or a
compare should occur. When a module is used in the PWM mode these registers are used to
control the duty cycle of the output (See Table 6-8 & Table 6-9)
Table 6-8.
CCAPnH: PCA Modules Capture/Compare Registers High
Table 6-9.
CCAPnL: PCA Modules Capture/Compare Registers Low
Table 6-10.
CH: PCA Counter High
Table 6-11.
CL: PCA Counter Low
6.3.1
PCA Capture Mode
To use one of the PCA modules in the capture mode either one or both of the CCAPM bits
CAPN and CAPP for that module must be set. The external CEX input for the module (on port 1)
is sampled for a transition. When a valid transition occurs the PCA hardware loads the value of
the PCA counter registers (CH and CL) into the module's capture registers (CCAPnL and
CCAPnH). If the CCFn bit for the module in the CCON SFR and the ECCFn bit in the CCAPMn
SFR are set then an interrupt will be generated (Refer to Figure 6-6).
CCAPnH Address
n = 0 - 4
CCAP0H=0FAH
CCAP1H=0FBH
CCAP2H=0FCH
CCAP3H=0FDH
CCAP4H=0FEH
7
6
5
4
3
2
1
0
Reset value
0
0
0
0
0
0
0
0
CCAPnL Address
n = 0 - 4
CCAP0L=0EAH
CCAP1L=0EBH
CCAP2L=0ECH
CCAP3L=0EDH
CCAP4L=0EEH
7
6
5
4
3
2
1
0
Reset value
0
0
0
0
0
0
0
0
CH
Address 0F9H
7
6
5
4
3
2
1
0
Reset value
0
0
0
0
0
0
0
0
CL
Address 0E9H
7
6
5
4
3
2
1
0
Reset value
0
0
0
0
0
0
0
0
相關(guān)PDF資料
PDF描述
TS80C51RD2-MCA High Performance 8-bit Microcontroller
TS80C51RD2-MCB High Performance 8-bit Microcontroller
TS80C51RD2-MCE High Performance 8-bit Microcontroller
TS80C51RD2-MIA High Performance 8-bit Microcontroller
TS80C51RD2-MIB High Performance 8-bit Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TS80C51RD2-LIEB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TS80C51RD2-LIED 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TS80C51RD2-LIER 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
TS80C51RD2-LIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontroller
TS80C51RD2-LILB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller