C8051F340/1/2/3/4/5/6/7
SFR Definition 5.3. ADC0CF: ADC0 Configuration
| R/W |
| R/W | R/W | R/W | R/W | R/W | R/W | R/W | Reset Value | ||
| AD0SC4 |
| AD0SC3 | AD0SC2 | AD0SC1 |
| AD0SC0 | AD0LJST | - |
| - | 11111000 |
| Bit7 |
| Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 | SFR Address: | ||
|
|
|
|
|
|
|
|
|
|
|
| 0xBC |
|
|
|
|
| ||||||||
|
| SAR Conversion clock is derived from system clock by the following equation, where | ||||||||||
|
| AD0SC refers to the | ||||||||||
|
| are given in Table 5.1. |
|
|
|
|
|
|
|
| ||
|
| AD0SC = | SYSCLK | – 1 |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| |||||
|
|
|
| CLKSAR |
|
|
|
|
|
|
|
|
| Bit2: | AD0LJST: ADC0 Left Justify Select. |
|
|
|
|
|
| ||||
|
| 0: Data in ADC0H:ADC0L registers are |
|
|
|
| ||||||
|
| 1: Data in ADC0H:ADC0L registers are |
|
|
|
| ||||||
| UNUSED. Read = 00b; Write = don’t care. |
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| SFR Definition 5.4. ADC0H: ADC0 Data Word MSB |
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| R/W |
| R/W | R/W | R/W | R/W | R/W | R/W | R/W | Reset Value | ||
|
|
|
|
|
|
|
|
|
|
|
| 00000000 |
| Bit7 |
| Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 | SFR Address: | ||
|
|
|
|
|
|
|
|
|
|
|
| 0xBE |
For AD0LJST = 0: Bits
For AD0LJST = 1: Bits
SFR Definition 5.5. ADC0L: ADC0 Data Word LSB
R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | Reset Value |
|
|
|
|
|
|
|
| 00000000 |
Bit7 | Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 | SFR Address: |
0xBD
For AD0LJST = 0: Bits
For AD0LJST = 1: Bits
50 | Rev. 0.5 |