T89C5115_08 ATMEL [ATMEL Corporation], T89C5115_08 Datasheet - Page 87

no-image

T89C5115_08

Manufacturer Part Number
T89C5115_08
Description
Low Pin Count 8-bit Microcontroller with A/D Converter and 16 KBytes Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Registers
4128G–8051–02/08
Table 61. ADCF Register
ADCF (S:F6h)
ADC Configuration
Reset Value = 0000 0000b
Table 62. ADCON Register
ADCON (S:F3h)
ADC Control Register
Reset Value = X000 0000b
Number
Number
CH 7
7 - 0
Bit
Bit
2-0
7
7
-
7
6
5
4
3
Mnemonic Description
Mnemonic Description
PSIDLE
PSIDLE
ADEOC
SCH2:0
ADSST
CH 0:7
ADEN
CH 6
Bit
Bit
6
6
-
Channel Configuration
Set to use P1.x as ADC input.
Clear to use P1.x as standart I/O port.
Reserved
The value read from these bits are indeterminate. Do not set these bits.
Pseudo Idle Mode (Best Precision)
Set to put in idle mode during conversion
Clear to convert without idle mode.
Enable/Standby Mode
Set to enable ADC
Clear for Standby mode.
End Of Conversion
Set by hardware when ADC result is ready to be read. This flag can generate an
interrupt.
Must be cleared by software.
Start and Status
Set to start an A/D conversion.
Cleared by hardware after completion of the conversion
Selection of Channel to Convert
See Table 60
ADEN
CH 5
5
5
ADEOC
CH 4
4
4
ADSST
CH 3
3
3
SCH2
CH 2
2
2
SCH1
CH 1
1
1
SCH0
CH 0
0
0
87

Related parts for T89C5115_08