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 1 |
| 1 |
| 1 |
| 1 |
| 15 | P87 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 0 |
| 0 |
| 0 |
| 16 | P60 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 0 |
| 0 |
| 1 |
| 17 | P61 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 0 |
| 1 |
| 0 |
| 18 | P62 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 0 |
| 1 |
| 1 |
| 19 | P63 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 1 |
| 0 |
| 0 |
| 20 | P64 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 1 |
| 0 |
| 1 |
| 21 | P65 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 1 |
| 1 |
| 0 |
| 22 | P66 |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| 0 |
| 1 |
| 1 |
| 1 |
| 23 | P67 |
|
|
|
|
|
|
|
|
|
|
|
|
ERA [7] AD Converter ready flag
0 1: Start AD Conversion (set by firmware).
1 0: When AD conversion is finished and has moved digital data into the AD Data Register, this bit will be set by hardware.
NOTE
Hardware can enable this function only at AD Channel Select of the functional I/O port. After a
ERB (AD LSB Data Register) Default Value: (0B_0000_0000)
| Bit 7 |
| Bit 6 |
| Bit 5 |
| Bit 4 |
| Bit 3 |
| Bit 2 |
| Bit 1 |
| Bit 0 |
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bit 1 | Bit 0 | 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
| 8 bits AD LSB Digital Data |
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 • |
|
|
|
|
|
| Product Specification (V1.1) 11.22.2006 |
(This specification is subject to change without further notice)