EM78P312N
8-Bit Microcontroller
Bit 6 ( ADRUN ) : AD Conversion start
ADRUN = “0” : Reset on completion of the conversion by hardware, this bit cannot be reset by software.
ADRUN = “1” : Conversion starts
Bit 5~ Bit 4 ( ADCK1 ~ ADCK0 ) : AD Conversion Time Select
ADCK1 |
| ADCK0 |
| Clock Source |
| Max. Operating |
|
|
| ( Normal, Idle ) |
| Frequency (Fc) |
| ||
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
0 |
| 0 |
| Fc/4 |
| 1MHz | |
|
|
|
|
|
|
| |
0 |
| 1 |
| Fc/16 |
| 4MHz | |
|
|
|
|
|
|
| |
1 |
| 0 |
| Fc/32 |
| 8MHz | |
|
|
|
|
|
|
|
|
1 |
| 1 |
| Reserved |
| - |
|
|
|
|
|
|
|
|
|
Bit 3 ( ADP ) : AD power control
ADP = “0” : Power on
ADP = “1” : Power down
Bit 2 ~ Bit 0 ( ADIS2 ~ ADIS0 ) : Analog Input Pin Select
ADIS2
ADIS1
ADIS0
Analog Input Pin
0 | 0 |
0 | 0 |
|
|
0 | 1 |
|
|
0 | 1 |
|
|
1 | 0 |
|
|
1 | 0 |
|
|
1 | 1 |
|
|
1 | 1 |
|
|
0
1
0
1
0
1
0
1
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
Bank 1 RC ADIC (AD Input Pin Control)
Bit 7 | Bit 6 | Bit 5 | Bit 4 |
| Bit 3 |
| Bit 2 | Bit 1 |
| Bit 0 |
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
ADE7 | ADE6 | ADE5 | ADE4 | ADE3 | ADE2 | ADE1 | ADE0 | ||||
|
|
|
|
|
|
|
|
|
|
|
|
Bit 7 ~ Bit 0 ( ADE7 ~ ADE0 ) : AD input pin enable control.
ADEx = “0” : Port 9.x functions as I/O pin
ADEx = “1” : Port 9.x functions as analog input pin
Bank 1 RD ADDH (AD High 8-bit Data Buffer)
Bit 7 | Bit 6 | Bit 5 | Bit 4 |
|
|
|
|
Bit 3
Bit 2
Bit 1 | Bit 0 |
ADD9
ADD8
ADD7
ADD6
ADD5
ADD4
ADD3
ADD2
Bit 7 ~ Bit 0 ( ADD9 ~ ADD2 ) : AD high 8-bit data buffer
Product Specification (V1.0) 10.03.2006 | • 13 |
(This specification is subject to change without further notice)