Цитат: 1. The PIC18F4580 ADC supports both auto-acquisition and more analog channels. The PIC18F4580 is defined to maintain 100% pinout compatibility with the PIC18F458 by mapping the extra analog inputs with the existing PORTB<4:0> inputs. PORTB<4:0> can be configured either as analog or digital on POR by a configuration bit (CONFIG3H<1>). These changes may require software modifications and, in rare cases, hardware changes to an application’s design. 2. Bit allocations for the ADCON0 and ADCON1 registers in the PIC18F4580 are different from PIC18F458. Also, the PCFG3:PCFG0 bits in ADCON1, while in the same positions, do not share equivalent port configurations in both device families. For more information, refer to the PIC18F4580 data sheet (DS39637), Section 19.0 “10-Bit Analog-to-Digital Converter (A/D) Module” and the PIC18F458 data sheet (DS41159), Section 20.0 “Compatible 10-Bit Analog-to-Digital Converter (A/D) Module”.
|