263CHAPTER 14 A/D CONVERTERFigure 14-1. A/D Converter Block DiagramNotes 1. Selector to select the number of channels to be used for analog input.2. Selector to select the channel for A/D conversion.3. Bits 0 and 1 of External Interrupt Mode Register 1 (INTM1)ANI0/P10ANI1/P11ANI2/P12ANI3/P13ANI4/P14ANI5/P15ANI6/P16ANI7/P17SelectorA/D Converter Mode Register3Trigger EnableES40, ES41Sample & Hold Circuit3CSADIS34Internal BusInternal BusEdgeDetector ControlCircuitSeries Resistor StringAVDDVoltageComparatorTap SelectorINTADINTP3SuccessiveApproximationRegister (SAR)A/ D Converter Input Select RegisterADIS2 ADIS1 ADIS0Note 1 Note 2ADM1 to ADM3INTP3/P03TRG FR1 FR0 ADM3 ADM2 ADM1 A/ D ConversionResult Register(ADCR)AVREF0AVSSSelectorHSCAVSSNote 3