參數(shù)資料
型號(hào): PIC16CR7X
廠商: Microchip Technology Inc.
英文描述: 28/40-Pin, 8-Bit CMOS ROM Microcontrollers
中文描述: 28/40-Pin,8位微控制器的CMOS光盤
文件頁數(shù): 90/172頁
文件大小: 1506K
代理商: PIC16CR7X
PIC16CR7X
DS21993C-page 88
2007 Microchip Technology Inc.
11.7
Use of the CCP Trigger
An A/D conversion can be started by the “special event
trigger” of the CCP2 module. This requires that the
CCP2M3:CCP2M0 bits (CCP2CON<3:0>) be pro-
grammed as
1011
and that the A/D module is enabled
(ADON bit is set). When the trigger occurs, the
GO/DONE bit will be set, starting the A/D conversion,
and the Timer1 counter will be reset to zero. Timer1 is
reset to automatically repeat the A/D acquisition period
with minimal software overhead (moving the ADRES to
the desired location). The appropriate analog input
channel must be selected and an appropriate acquisi-
tion time should pass before the “special event trigger”
sets the GO/DONE bit (starts a conversion).
If the A/D module is not enabled (ADON is cleared),
then the “special event trigger” will be ignored by the
A/D module, but will still reset the Timer1 counter.
TABLE 11-2:
SUMMARY OF A/D REGISTERS
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR,
BOR
Value on
all other
Resets
0Bh,8Bh,
10Bh, 18Bh
INTCON
GIE
PEIE
TMR0IE
INTE
RBIE
TMR0IF
INTF
RBIF
0000 000x 0000 000u
0Ch
0Dh
PIR1
PIR2
PSPIF
(1)
PSPIE
(1)
A/D Result Register Byte
ADIF
RCIF
TXIF
SSPIF
CCP1IF
TMR2IF TMR1IF
0000 0000 0000 0000
CCP2IF
---- ---0 ---- ---0
8Ch
8Dh
1Eh
PIE1
PIE2
ADRES
ADIE
RCIE
TXIE
SSPIE
CCP1IE
TMR2IE TMR1IE
0000 0000 0000 0000
CCP2IE
---- ---0 ---- ---0
xxxx xxxx uuuu uuuu
1Fh
9Fh
05h
85h
ADCON0
ADCON1
PORTA
TRISA
PORTE
(2)
TRISE
(2)
x
= unknown,
u
= unchanged, – = unimplemented, read as ‘
0
’. Shaded cells are not used for A/D conversion.
1:
Bits PSPIE and PSPIF are reserved on the PIC16CR73/76; always maintain these bits clear.
2:
These registers are reserved on the PIC16CR73/76.
ADCS1
ADCS0
CHS2
RA5
PORTA Data Direction Register
CHS1
RA4
CHS0 GO/DONE
RA3
ADON
PCFG0
---- -000 ---- -000
RA0
--0x 0000 --0u 0000
--11 1111 --11 1111
0000 00-0 0000 00-0
PCFG2
RA2
PCFG1
RA1
09h
RE2
RE1
RE0
---- -xxx ---- -uuu
89h
Legend:
Note
IBF
OBF
IBOV
PSPMODE
PORTE Data Direction Bits
0000 -111 0000 -111
相關(guān)PDF資料
PDF描述
PIC16F628A 18-pin Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology(18引腳,基于FLASH的8位CMOS微控制器,使用毫微瓦特技術(shù))
PIC16F687 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F685 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F689 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F690 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16CR83T-04/SO023 制造商:Microchip Technology Inc 功能描述:
PIC16F 制造商:Microchip Technology Inc 功能描述:Microchip PIC16F677-I/P Microcontroller
PIC16F1454-E/ML 制造商:Microchip Technology Inc 功能描述:7 KB FLASH, 512 BYTES RAM, 48 MHZ INT. OSC, 12 I/0, ENHANCED - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 7KB FLASH 16QFN
PIC16F1454-E/P 制造商:Microchip Technology Inc 功能描述:7 KB FLASH, 512 BYTES RAM, 48 MHZ INT. OSC, 12 I/0, ENHANCED - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 7KB FLASH 14PDIP
PIC16F1454-E/SL 制造商:Microchip Technology Inc 功能描述:7 KB FLASH, 512 BYTES RAM, 48 MHZ INT. OSC, 12 I/0, ENHANCED - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 7KB FLASH 14SOIC