PIC16C770 Microchip Technology Inc., PIC16C770 Datasheet - Page 118
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16C770
Manufacturer Part Number
PIC16C770
Description
18/20-pin, 8-bit Cmos Microcontrollers With 10/12-bit A/d
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16C770.pdf
(220 pages)
- Current page: 118 of 220
- Download datasheet (4Mb)
PIC16C717/770/771
11.10 A/D Operation During SLEEP
The A/D module can operate during SLEEP mode. This
requires that the A/D clock source be configured for RC
(ADCS<1:0> = 11b). With the RC clock source
selected, when the GO/DONE bit is set the A/D module
waits one instruction cycle before starting the conver-
sion cycle. This allows the SLEEP instruction to be exe-
cuted, which eliminates all digital switching noise
during the sample and conversion. When the conver-
sion cycle is completed the GO/DONE bit is cleared,
and the result loaded into the ADRESH and ADRESL
registers. If the A/D interrupt is enabled, the device will
wake-up from SLEEP. If the A/D interrupt is not
enabled, the A/D module will then be turned off,
although the ADON bit will remain set.
When the A/D clock source is another clock option (not
RC), a SLEEP instruction causes the present conver-
sion to be aborted and the A/D module is turned off,
though the ADON bit will remain set.
TABLE 11-2:
DS41120B-page 116
Address
0Bh,8Bh,
10Bh,18Bh
0Ch
8Ch
1Eh
9Eh
9Bh
1Fh
9Fh
05h
06h
85h
86h
9Dh
17h
Legend: x = unknown, u = unchanged, - = unimplemented read as ’0’. Shaded cells are not used for A/D conversion.
Name
INTCON
PIR1
PIE1
ADRESH
ADRESL
REFCON
ADCON0
ADCON1
PORTA
PORTB
TRISA
TRISB
ANSEL
CCP1CON
SUMMARY OF A/D REGISTERS
A/D High Byte Result Register
A/D Low Byte Result Register
PORTA Data Latch when written: PORTA pins when read
PORTB Data Latch when written: PORTB pins when read
PORTA Data Direction Register
PORTB Data Direction Register
VRHEN
ADCS1
ADFM
Bit 7
GIE
—
—
—
—
VRLEN
ADCS0
VCFG2
Bit 6
PEIE
ADIF
ADIE
—
—
VRHOEN
VCFG1
CHS2
ANS5
Bit 5
T0IE
—
—
—
VRLOEN
VCFG0
CHS1
ANS4
Bit 4
INTE
—
—
—
SSPIF
SSPIE
CHS0
ANS3
Bit 3
RBIE
Turning off the A/D places the A/D module in its lowest
current consumption state.
11.11 Connection Considerations
Since the analog inputs employ ESD protection, they
have diodes to V
analog input must be between V
voltage exceeds this range by greater than 0.3V (either
direction), one of the diodes becomes forward biased
and it may damage the device if the input current spec-
ification is exceeded.
An external RC filter is sometimes added for anti-alias-
ing of the input signal. The R component should be
selected to ensure that the total source impedance is
kept under the 2.5 k recommended specification. It is
recommended that any external components con-
nected to an analog input pin (capacitor, zener diode,
etc.) have very little leakage current.
—
—
Note:
GO/DONE
CCP1IF
CCP1IE
ANS2
Bit 2
T0IF
—
—
For the A/D module to operate in SLEEP,
the A/D clock source must be configured to
RC (ADCS<1:0> = 11).
TMR2IE
TMR2IF
DD
CHS3
ANS1
Bit 1
INTF
—
—
and V
2002 Microchip Technology Inc.
TMR1IE
TMR1IF
ADON
ANS0
Bit 0
RBIF
SS
—
—
. This requires that the
DD
and V
0000 000x
-0-- 0000
-0-- 0000
xxxx xxxx
xxxx xxxx
0000 ----
0000 0000
0000 ----
000x 0000
xxxx xx11
1111 1111
1111 1111
1111 1111
0000 0000
Value on:
POR,
BOR
SS
. If the input
0000 000u
-0-- 0000
-0-- 0000
uuuu uuuu
uuuu uuuu
0000 ----
0000 0000
0000 ----
000u 0000
uuuu uu11
1111 1111
1111 1111
1111 1111
0000 0000
Value on
RESETS
all other
Related parts for PIC16C770
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC-0903](/images/no-image3.png)
Part Number:
Description:
Photo IC(photodiode with signal processing)
Manufacturer:
KODENSHI KOREA CORP
Datasheet:
![PIC-1018SMB](/images/no-image3.png)
Part Number:
Description:
INFRARED RECEIVER MODULE
Manufacturer:
ETC
Datasheet:
![PIC-2058SMB](/images/no-image3.png)
Part Number:
Description:
INFRARED RECEIVER MODULE
Manufacturer:
ETC
Datasheet:
![PIC-2503](/images/no-image3.png)
Part Number:
Description:
Photo IC(photodiode with signal processing)
Manufacturer:
KODENSHI KOREA CORP
Datasheet:
![PIC12045S](/images/manufacturer_photos/0/3/374/kodenshi_tmb.jpg)
Part Number:
Description:
(PIC-1204x) OPTICAL-RECEIVER OUTPUT PHOTO IC
Manufacturer:
Kodenshi
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: