PIC16C923-04I/CL Microchip Technology, PIC16C923-04I/CL Datasheet - Page 88

no-image

PIC16C923-04I/CL

Manufacturer Part Number
PIC16C923-04I/CL
Description
8-Bit CMOS Microcontroller with LCD Driver
Manufacturer
Microchip Technology
Datasheet
PIC16C9XX
FIGURE 12-6: FLOWCHART OF A/D OPERATION
TABLE 12-2: SUMMARY OF A/D REGISTERS
DS30444E - page 88
Address
0Bh, 8Bh,
10Bh, 18Bh
0Ch
8Ch
1Eh
1Fh
05h
85h
9Fh
Legend:
Note
1: Bit1 of ADCON0 is reserved, always maintain this bit clear.
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used for A/D conversion.
Name
INTCON
PIR1
PIE1
ADRES
ADCON0
ADCON1
PORTA
TRISA
Selected Channel
Finish Conversion
A/D Clock
ADON = 0?
Wait 2 T
ADIF = 1
ADON = 0
GO = 0?
Device in
SLEEP?
Acquire
= RC?
GO = 0
No
No
No
ADCS1
A/D Result Register
No
LCDIF
LCDIE
Bit 7
AD
GIE
Yes
Yes
Yes
Yes
ADCS0
ADIE
PEIE
ADIF
Bit 6
Conversion Delayed
1 Instruction Cycle
Abort Conversion
Power-down A/D
Start of A/D
ADIF = 0
GO = 0
SLEEP
PORTA Data Direction Control Register
CHS2
Bit 5
T0IE
RA5
CHS1
INTE
Bit 4
RA4
Finish Conversion
Instruction?
Wait 2 T
SLEEP
ADIF = 1
GO = 0
SSPIE
SSPIF
CHS0
RBIE
Bit 3
RA3
No
AD
Yes
GO/DONE
CCP1IF
CCP1IE
PCFG2
Bit 2
T0IF
RA2
Finish Conversion
Power-down A/D
Stay in Sleep
From Sleep?
ADIF = 1
Wake-up
GO = 0
TMR2IE
TMR2IF
PCFG1
INTF
Bit 1
RA1
(1)
No
Yes
TMR1IE
TMR1IF
PCFG0
ADON
RBIF
Bit 0
RA0
1997 Microchip Technology Inc.
Wait 2 T
0000 000x
00-- 0000
00-- 0000
xxxx xxxx
0000 0000
---- -000
--0x 0000
--11 1111
Power-on
Value on
Reset
AD
other Resets
Value on all
0000 000u
00-- 0000
00-- 0000
uuuu uuuu
0000 0000
---- -000
--0u 0000
--11 1111

Related parts for PIC16C923-04I/CL