PIC16C63A Microchip Technology, PIC16C63A Datasheet - Page 80

no-image

PIC16C63A

Manufacturer Part Number
PIC16C63A
Description
28/40-Pin 8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C63A
Manufacturer:
MICREL/麦瑞
Quantity:
20 000
Part Number:
PIC16C63A-04/SO
Manufacturer:
MICRCHI
Quantity:
1 000
Part Number:
PIC16C63A-04/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C63A-04/SP
Manufacturer:
Microchip Technology
Quantity:
1 821
Part Number:
PIC16C63A-04/SP
Manufacturer:
MOT
Quantity:
50
Part Number:
PIC16C63A-04/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C63A-04/SS
Manufacturer:
MICROCHIP
Quantity:
11 246
Part Number:
PIC16C63A-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C63A-04I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C63A-20
Manufacturer:
PIC
Quantity:
5
Part Number:
PIC16C63A-20/SS
Manufacturer:
IR
Quantity:
500
Part Number:
PIC16C63A/JW
Quantity:
90
PIC16C63A/65B/73B/74B
10.4
10.5
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
TABLE 10-2:
DS30605A-page 80
Address
0Bh,8Bh INTCON
0Ch
8Ch
0Dh
8Dh
1Eh
1Fh
9Fh
05h
85h
09h
89h
Legend: x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used for A/D conversion.
Note 1: Bits PSPIE and PSPIF are reserved on the PIC6C73B. Always maintain these bits clear.
Note:
A/D Conversions
Use of the CCP Trigger
PIR1
PIE1
PIR2
PIE2
ADRES
ADCON0
ADCON1
PORTA
TRISA
PORTE
TRISE
The GO/DONE bit should NOT be set in
the same instruction that turns on the A/D.
Name
SUMMARY OF A/D REGISTERS
PSPIF
PSPIE
A/D Result Register
ADCS1
Bit 7
GIE
IBF
(1)
(1)
ADCS0
ADIE
Bit 6
PEIE
ADIF
OBF
PORTA Data Direction Register
CHS2
RCIE
IBOV
Bit 5
RCIF
T0IE
RA5
PSPMODE
CHS1
INTE
TXIE
Bit 4
TXIF
RA4
SSPIF
SSPIE
CHS0
Bit 3
RBIE
RA3
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 the minimum acquisition
done 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.
PORTE Data Direction Bits
GO/DON
CCP1IF
CCP1IE
PCFG2
Bit 2
T0IF
RA2
RE2
E
TMR2IE TMR1IE 0000 0000 0000 0000
TMR2IF TMR1IF 0000 0000 0000 0000
PCFG1
Bit 1
INTF
RA1
RE1
CCP2IF ---- ---0 ---- ---0
CCP2IE ---- ---0 ---- ---0
PCFG0 ---- -000 ---- -000
ADON
RBIF
Bit 0
RA0
RE0
1998 Microchip Technology Inc.
0000 000x 0000 000u
xxxx xxxx uuuu uuuu
0000 00-0 0000 00-0
--0x 0000 --0u 0000
--11 1111 --11 1111
---- -xxx ---- -uuu
0000 -111 0000 -111
Value on
POR,
BOR
Value on all
Resets
other

Related parts for PIC16C63A