參數(shù)資料
型號: AT83C51RD2-SLSUM
廠商: International Rectifier
英文描述: High Performance 8-bit Microcontroller
中文描述: 高性能8位微控制器
文件頁數(shù): 29/85頁
文件大小: 762K
代理商: AT83C51RD2-SLSUM
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
相關PDF資料
PDF描述
AT87C51RB2 High Performance 8-bit Microcontroller
AT87C51RB2-3CSUL High Performance 8-bit Microcontroller
AT87C51RB2-3CSUM High Performance 8-bit Microcontroller
AT87C51RB2-RLTUL High Performance 8-bit Microcontroller
AT87C51RB2-RLTUM High Performance 8-bit Microcontroller
相關代理商/技術參數(shù)
參數(shù)描述
AT83C51SND1C 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
AT83C51SND1C_03 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
AT83EB5114 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low-pin-count 8-bit microcontroller with A/D converter
AT83EB5114_08 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low-pin-count 8-bit microcontroller with A/D converter
AT83EB5114XXXTGRIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low-pin-count 8-bit microcontroller with A/D converter