$ifndef __PCONFIG_INC $define __PCONFIG_INC (*------------------------------------------------------------------------- * PIC18 peripheral configuration file. * This file is adapted from Microchip's C18 compiler file pconfig.h * Do Not Modify unless you are absolutely sure of what you are doing. *-------------------------------------------------------------------------*) $if _device = _18F242 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F242' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F252 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F252' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F442 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F442' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F452 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F452' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F248 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F248' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F258 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F258' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F448 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F448' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F458 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F458' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2439 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2439' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2539 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2539' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4439 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4439' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4539 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4539' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6620 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6620' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V2 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V9 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V2 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6720 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6720' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V2 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V9 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V2 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8620 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8620' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V2 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V9 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V2 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8720 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8720' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V2 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V9 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V2 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6520 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6520' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V2 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V9 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V2 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8520 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8520' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V2 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V9 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V2 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F1220 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F1220' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V3 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V8 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V3 (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F1320 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F1320' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V3 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V8 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V3 (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F1230 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F1230' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V4 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) $define PCPWM_V3 (* USART *) $define EAUSART_V4 (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) $define TMR_V1 (* EEPROM *) $define EEP_V1 (* PORT_B *) $define PTB_V3 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F1330 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F1330' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V4 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) $define PCPWM_V3 (* USART *) $define EAUSART_V4 (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) $define TMR_V1 (* EEPROM *) $define EEP_V1 (* PORT_B *) $define PTB_V3 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2220 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2220' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2320 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2320' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4220 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4220' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4320 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4320' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define AUSART_V1 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2420 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2420' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2520 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2520' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4420 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4420' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4520 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4520' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2423 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2423' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2523 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2523' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4423 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4423' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4523 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4523' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2450 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2450' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) $define TMR_V3 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4450 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4450' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) $define TMR_V3 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2455 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2455' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2550 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2550' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4455 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4455' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4550 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4550' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2480 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2480' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2580 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2580' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4480 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4480' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4580 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4580' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2410 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2410' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2510 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2510' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2515 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2515' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2610 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2610' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4410 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4410' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4510 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4510' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4515 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4515' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4610 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4610' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2525 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2525' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2620 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2620' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4525 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4525' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4620 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4620' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2585 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2585' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2680 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2680' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4585 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4585' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4680 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4680' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2682 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2682' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2685 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2685' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V1 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4682 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4682' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4685 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4685' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) $define ECC_V5 (* CC *) $define CC_V5 (* EPWM *) $define EPWM_V7 (* PWM *) $define PWM_V7 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V1 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2221 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2221' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2321 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2321' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4221 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4221' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4321 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4321' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6310 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6310' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V3 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V3 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6410 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6410' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V3 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V3 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8310 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8310' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V3 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V3 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8410 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8410' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V3 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V3 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6390 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6390' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6490 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6490' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8390 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8390' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8490 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8490' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6527 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6527' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6622 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6622' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6627 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6627' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6722 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6722' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8527 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8527' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8622 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8622' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8627 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8627' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8722 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8722' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6585 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6585' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6680 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6680' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8585 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8585' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8680 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8680' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6525 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6525' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V8 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6621 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6621' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V8 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8525 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8525' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V8 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8621 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8621' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V8 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F24J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F24J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V3 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V4 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F25J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F25J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V3 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V4 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F44J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F44J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V3 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V4 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F45J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F45J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V6 (* PWM *) $define PWM_V6 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V4 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V3 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V4 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F63J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F63J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F64J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F64J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F65J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F65J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F83J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F83J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F84J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F84J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F85J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F85J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F63J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F63J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F64J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F64J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F65J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F65J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F83J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F83J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F84J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F84J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F85J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F85J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F65J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F65J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F65J15 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F65J15' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J15 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J15' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F67J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F67J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F85J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F85J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F85J15 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F85J15' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J15 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J15' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87J10 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87J10' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J60 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J60' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V10 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J65 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J65' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V10 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F67J60 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F67J60' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V10 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J60 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J60' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J65 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J65' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87J60 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87J60' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V2 (* I2C *) $define I2C_V2 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F96J60 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F96J60' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F96J65 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F96J65' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F97J60 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F97J60' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V4 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2331 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2331' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V7_1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) $define PCPWM_V1 (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V4 (* I2C *) $define I2C_V4 (* TIMERS *) $define TMR_V5 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V4 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V3 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2431 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2431' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V7_1 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) $define PCPWM_V1 (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V4 (* I2C *) $define I2C_V4 (* TIMERS *) $define TMR_V5 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V4 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V3 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4331 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4331' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V7 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) $define PCPWM_V2 (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V4 (* I2C *) $define I2C_V4 (* TIMERS *) $define TMR_V5 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V4 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V3 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4431 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4431' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V7 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) $define PCPWM_V2 (* USART *) $define EAUSART_V3 (* SPI *) $define SPI_V4 (* I2C *) $define I2C_V4 (* TIMERS *) $define TMR_V5 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V4 (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) $define MWIRE_V3 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F23K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F23K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V10 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F24K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F24K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V10 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F25K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F25K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V10 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F26K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F26K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V10 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F43K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F43K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V11 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F44K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F44K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V11 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F45K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F45K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V11 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F46K20 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F46K20' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V8 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V10 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V5 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V6 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J16 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J16' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V6 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F67J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F67J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V6 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V6 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J16 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J16' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V6 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V6 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F65J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F65J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J55 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J55' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F67J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F67J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F85J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F85J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J55 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J55' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V9 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V9 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V7 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F64J15 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F64J15' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F84J15 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F84J15' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V6 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V2 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8723 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8723' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8628 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8628' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6723 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6723' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6628 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6628' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V4 (* EPWM *) $define PWM_V4 (* PWM *) $define PWM_V10 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V7 (* SPI *) $define SPI_V3 (* I2C *) $define I2C_V3 (* TIMERS *) $define TMR_V4 (* EEPROM *) $define EEP_V3 (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8493 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8493' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F8393 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F8393' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6493 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6493' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F6393 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F6393' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2458 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2458' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F2553 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F2553' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4458 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4458' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F4553 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F4553' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V5 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V2 (* EPWM *) $define PWM_V5 (* PWM *) $define PWM_V5 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V1 (* ANCOMP *) $define ANCOM_V3 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F13K50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F13K50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F14K50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F14K50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18LF13K50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF13K50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18LF14K50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF14K50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F13K22 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F13K22' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F14K22 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F14K22' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18LF13K22 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF13K22' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18LF14K22 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF14K22' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V10 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V1 (* EPWM *) $define PWM_V12 (* PWM *) $define PWM_V12 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V5 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) $define EEP_V2 (* PORT_B *) $define PTB_V5 (* ANCOMP *) $define ANCOM_V8 (* MWIRE *) $define MWIRE_V1 (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F24J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F24J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18F25J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F25J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18F26J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F26J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18F44J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F44J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18F45J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F45J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18F46J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F46J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18F25J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F25J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18F24J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F24J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18F26J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F26J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18F45J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F45J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18F44J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F44J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18F46J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F46J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18LF24J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF24J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18LF25J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF25J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18LF26J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF26J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18LF44J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF44J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18LF45J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF45J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18LF46J50 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF46J50' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18LF25J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF25J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18LF24J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF24J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18LF26J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF26J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V5 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V1 $endif $if _device = _18LF45J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF45J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18LF44J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF44J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18LF46J11 '-------------------------------------------------------------- (* Configuration for device = 'PIC18LF46J11' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V11 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V7 (* EPWM *) $define PWM_V13 (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V11 (* SPI *) $define SPI_V5 (* I2C *) $define I2C_V6 (* TIMERS *) $define TMR_V6 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V6 (* ANCOMP *) $define ANCOM_V9 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) $define PPS_V2 $endif $if _device = _18F66J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F67J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F67J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87J90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87J90' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F66J93 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F66J93' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F67J93 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F67J93' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F86J93 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F86J93' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87J93 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87J93' *) '-------------------------------------------------------------- (* ADC *) $define ADC_V12 (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) $define CC_V6 (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) $define PWM_V2 (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) $define EAUSART_V6 (* SPI *) $define SPI_V1 (* I2C *) $define I2C_V1 (* TIMERS *) $define TMR_V2 (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) $define PTB_V2 (* ANCOMP *) $define ANCOM_V2 (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) $define CTMU_V1 (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87K90 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87K90' *) '-------------------------------------------------------------- (* ADC *) (*No configuration chosen for this peripheral*) (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) (*No configuration chosen for this peripheral*) (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) (*No configuration chosen for this peripheral*) (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) (*No configuration chosen for this peripheral*) (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif $if _device = _18F87K22 '-------------------------------------------------------------- (* Configuration for device = 'PIC18F87K22' *) '-------------------------------------------------------------- (* ADC *) (*No configuration chosen for this peripheral*) (* ECC *) (*No configuration chosen for this peripheral*) (* CC *) (*No configuration chosen for this peripheral*) (* EPWM *) (*No configuration chosen for this peripheral*) (* PWM *) (*No configuration chosen for this peripheral*) (* PCPWM *) (*No configuration chosen for this peripheral*) (* USART *) (*No configuration chosen for this peripheral*) (* SPI *) (*No configuration chosen for this peripheral*) (* I2C *) (*No configuration chosen for this peripheral*) (* TIMERS *) (*No configuration chosen for this peripheral*) (* EEPROM *) (*No configuration chosen for this peripheral*) (* PORT_B *) (*No configuration chosen for this peripheral*) (* ANCOMP *) (*No configuration chosen for this peripheral*) (* MWIRE *) (*No configuration chosen for this peripheral*) (* CTMU *) (*No configuration chosen for this peripheral*) (* PPS *) (*No configuration chosen for this peripheral*) $endif (*device*) $endif (*__PCONFIG_INC*) '-------------------------------------------------------------- (* IO HEADER FILE ADDED TO CONFIGURATION HEADER FILE *) '-------------------------------------------------------------- $if (_device <> _18F24J10) and (_device <> _18F25J10) and (_device <> _18F44J10) and ' (_device <> _18F45J10) and (_device <> _18F65J10) and (_device <> _18F65J15) and ' (_device <> _18F66J10) and (_device <> _18F66J15) and (_device <> _18F66J60) and ' (_device <> _18F66J65) and (_device <> _18F67J10) and (_device <> _18F67J60) and ' (_device <> _18F85J10) and (_device <> _18F85J15) and (_device <> _18F86J10) and ' (_device <> _18F86J15) and (_device <> _18F86J60) and (_device <> _18F86J65) and ' (_device <> _18F87J10) and (_device <> _18F87J60) and (_device <> _18F96J60) and ' (_device <> _18F96J65) and (_device <> _18F97J60) and (_device <> _18F96J65) and ' (_device <> _18LF13K50) and (_device <> _18LF14K50) and (_device <> _18F13K50) and ' (_device <> _18F14K50) and (_device <> _18F13K22) and (_device <> _18F14K22) and ' (_device <> _18LF13K22) and (_device <> _18LF14K22) $define LVD_V1 $endif $if (_device = _18F1320) or (_device = _18F242) or ' (_device = _18F2439) or (_device = _18F2455) or (_device = _18F248) or ' (_device = _18F252) or (_device = _18F2539) or (_device = _18F2550) or ' (_device = _18F258) or (_device = _18F442) or (_device = _18F4439) or ' (_device = _18F4455) or (_device = _18F448) or (_device = _18F452) or ' (_device = _18F4539) or (_device = _18F4550) or (_device = _18F458) or ' (_device = _18F2458) or (_device = _18F2553) or (_device = _18F4458) or ' (_device = _18F4553) or (_device = _18F24J50) or (_device = _18F25J50) or ' (_device = _18F26J50) or (_device = _18F44J50) or (_device = _18F45J50) or ' (_device = _18F46J50) or (_device = _18F25J11) or (_device = _18F24J11) or ' (_device = _18F26J11) or (_device = _18F45J11) or (_device = _18F44J11) or ' (_device = _18F46J11) or (_device = _18LF24J50) or (_device = _18LF25J50) or ' (_device = _18LF26J50) or (_device = _18LF44J50) or (_device = _18LF45J50) or ' (_device = _18LF46J50) or (_device = _18LF25J11) or (_device = _18LF24J11) or ' (_device = _18LF26J11) or (_device = _18LF45J11) or (_device = _18LF44J11) or ' (_device = _18LF46J11) or (_device = _18F66J90) or (_device = _18F67J90) or ' (_device = _18F86J90) or (_device = _18F87J90) or (_device = _18F66J93) or ' (_device = _18F67J93) or (_device = _18F86J93) or (_device = _18F87J93) $define STKOVF STKFUL $if (_device = _18F45J11) or (_device = _18F44J11) or (_device = _18F46J11) or ' (_device = _18LF24J50) or (_device = _18LF25J50) or ' (_device = _18LF26J50) or (_device = _18LF44J50) or (_device = _18LF45J50) or ' (_device = _18LF46J50) or (_device = _18LF25J11) or (_device = _18LF24J11) or ' (_device = _18LF26J11) or (_device = _18LF45J11) or (_device = _18LF44J11) or ' (_device = _18LF46J11) $define I2C_SFR_V1 $endif $endif $if (_device = _18F1220) or (_device = _18F1320) $define USART_IO_V1 $define USART_SFR_V1 $define SW_I2C_IO_V1 $define CC1_IO_V1 $endif $if (_device = _18F1230) or (_device = _18F1330) $define USART_IO_V2 $define SW_I2C_IO_V1 $endif $if (_device = _18F242) or (_device = _18F252) or ' (_device = _18F442) or (_device = _18F452) or (_device = _18F2220) or ' (_device = _18F2221) or (_device = _18F2320) or (_device = _18F2321) or ' (_device = _18F2410) or (_device = _18F2420) or (_device = _18F2423) or ' (_device = _18F2510) or (_device = _18F2515) or (_device = _18F2520) or ' (_device = _18F2523) or (_device = _18F2525) or (_device = _18F2610) or ' (_device = _18F2620) $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V1 $define SPI_IO_V1 $endif $if (_device = _18F2331) or (_device = _18F2431) or (_device = _18F4331) or ' (_device = _18F4431) $define CC2_IO_V0 $define I2C_IO_V2 $define SPI_IO_V5 $endif $if (_device = _18F2455) or (_device = _18F2458) or (_device = _18F2550) or (_device = _18F2553) $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V3 $define SPI_IO_V3 $define MWIRE_IO_V1 $define SW_I2C_IO_V2 $endif $if (_device = _18F24J10) or (_device = _18F25J10) $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V5 $define SPI_IO_V1 $endif $if (_device = _18F248) or (_device = _18F258) or (_device = _18F448) or ' (_device = _18F458) or (_device = _18F2480) or (_device = _18F2580) or ' (_device = _18F2585) or (_device = _18F2680) or (_device = _18F2682) or ' (_device = _18F2685) or (_device = _18F4480) or (_device = _18F4580) or ' (_device = _18F4585) or (_device = _18F4680) or (_device = _18F4682) or ' (_device = _18F4685) or (_device = _18F2439) or (_device = _18F2539) or ' (_device = _18F4439) or (_device = _18F4539) $define I2C_IO_V1 $define SPI_IO_V1 $if (_device = _18F2439) or (_device = _18F2539) or (_device = _18F4439) or ' (_device = _18F4539) $define PROMPT_V1 $endif $endif $if (_device = _18F24J50) or (_device = _18F25J50) or (_device = _18F26J50) or ' (_device = _18F44J50) or (_device = _18F45J50) or (_device = _18F46J50) or ' (_device = _18LF24J50) or (_device = _18LF25J50) or (_device = _18LF26J50) or ' (_device = _18LF44J50) or (_device = _18LF45J50) or (_device = _18LF46J50) $define SW_I2C_IO_V3 $if (_device = _18F44J50) or (_device = _18F45J50) or (_device = _18F46J50) $define I2C_SFR_V1 $endif $endif $if (_device = _18F2450) or (_device = _18F4450) $define SW_I2C_IO_V2 $endif $if (_device = _18F4220) or (_device = _18F4221) or (_device = _18F4320) or ' (_device = _18F4321) or (_device = _18F4410) or (_device = _18F4420) or ' (_device = _18F4423) or (_device = _18F4510) or (_device = _18F4515) or ' (_device = _18F4520) or (_device = _18F4523) or (_device = _18F4525) or ' (_device = _18F4610) or (_device = _18F4620) $define PWM1_IO_V1 $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V1 $define SPI_IO_V1 $endif $if (_device = _18F4455) or (_device = _18F4458) or (_device = _18F4550) or (_device = _18F4553) $define PWM1_IO_V1 $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V3 $define SPI_IO_V3 $define MWIRE_IO_V1 $define SW_I2C_IO_V2 $endif $if (_device = _18F44J10) or (_device = _18F45J10) $define PWM1_IO_V1 $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V5 $define I2C_IO_V6 $define SPI_IO_V1 $define SPI_IO_V8 $define MWIRE_IO_V2 $endif $if (_device = _18F6310) or (_device = _18F6410) $define PWM2_IO_V2 $define PWM_CONFIG3L_V1 $define CC2_IO_V4 $define CC_CONFIG3L_V1 $define I2C_IO_V1 $define SPI_IO_V2 $endif $if (_device = _18F6525) or (_device = _18F6621) $define PWM1_IO_V2 $define PWM2_IO_V5 $define PWM3_IO_V2 $define CC2_IO_V4 $define CC_CONFIG3L_V1 $define I2C_IO_V1 $define SPI_IO_V2 $endif $if (_device = _18F6527) or (_device = _18F6622) or (_device = _18F6627) or (_device = _18F6722) $define PWM1_IO_V2 $define PWM2_IO_V5 $define PWM3_IO_V2 $define CC2_IO_V4 $define CC_CONFIG3L_V1 $define I2C_IO_V5 $define I2C_IO_V7 $define SPI_IO_V2 $define SPI_IO_V7 $endif $if (_device = _18F6585) or (_device = _18F6680) $define PWM1_IO_V2 $define PWM2_IO_V2 $define CC2_IO_V4 $define I2C_IO_V1 $define SPI_IO_V2 $endif $if (_device = _18F63J11) or (_device = _18F64J11) or (_device = _18F65J11) $define PWM2_IO_V2 $define CC2_IO_V4 $define I2C_IO_V1 $define SPI_IO_V4 $endif $if (_device = _18F65J10) or (_device = _18F65J15) or (_device = _18F66J10) or ' (_device = _18F66J15) or (_device = _18F67J10) or (_device = _18F65J50) or ' (_device = _18F66J50) or (_device = _18F66J55) or (_device = _18F67J50) or ' (_device = _18F66J11) or (_device = _18F66J16) or (_device = _18F67J11) $define PWM1_IO_V2 $define PWM2_IO_V5 $define PWM3_IO_V2 $define CC2_IO_V4 $define CC_CONFIG3L_V2 $define I2C_IO_V5 $define I2C_IO_V7 $define SPI_IO_V2 $define SPI_IO_V7 $if (_device = _18F66J11) or (_device = _18F66J16) or (_device = _18F67J11) $define ANCOMP_IO_V1 $endif $if (_device = _18F65J50) or (_device = _18F66J50) or (_device = _18F66J55) or (_device = _18F67J50) $define ANCOMP_IO_V2 $endif $endif $if (_device = _18F66J60) or (_device = _18F66J65) or (_device = _18F67J60) $define PWM1_IO_V3 $define PWM2_IO_V3 $define PWM3_IO_V1 $define PWM4_IO_V1 $define CC2_IO_V0 $define CC3_IO_V1 $define CC4_IO_V1 $define CC_CONFIG3L_V2 $define I2C_IO_V5 $define SPI_IO_V2 $endif $if (_device = _18F6393) or (_device = _18F6493) or (_device = _18F8393) or ' (_device = _18F8493) or (_device = _18F67J90) or (_device = _18F66J90) $define PWM2_IO_V2 $define I2C_IO_V1 $endif $if (_device = _18F6390) or (_device = _18F6490) or (_device = _18F6520) or ' (_device = _18F6620) or (_device = _18F6720) or (_device = _18F8390) or ' (_device = _18F8490) or (_device = _18F63J90) or (_device = _18F64J90) or ' (_device = _18F65J90) or (_device = _18F83J90) or (_device = _18F84J90) or ' (_device = _18F85J90) or (_device = _18F67J90) or (_device = _18F66J90) or ' (_device = _18F87J90) or (_device = _18F86J90) or (_device = _18F67J93) or ' (_device = _18F66J93) or (_device = _18F87J93) or (_device = _18F86J93) $define PWM2_IO_V2 $define I2C_IO_V1 $define CC2_IO_V4 $define SPI_IO_V2 $endif $if (_device = _18F6628) or (_device = _18F6723) or (_device = _18F8628) or ' (_device = _18F8723) $define I2C_IO_V5 $define I2C_IO_V7 $endif $if (_device = _18F8520) or (_device = _18F8620) or (_device = _18F8720) or ' (_device = _18F8310) or (_device = _18F8410) $define PWM2_IO_V4 $define CC2_IO_V5 $define I2C_IO_V1 $define SPI_IO_V2 $if (_device = _18F8310) or (_device = _18F8410) $define CC_CONFIG3L_V1 $define PWM_CONFIG3L_V1 $endif $endif $if (_device = _18F8527) or (_device = _18F8622) or (_device = _18F8627) or ' (_device = _18F8722) or (_device = _18F8525) or (_device = _18F8621) $define PWM1_IO_V4 $define PWM2_IO_V6 $define PWM3_IO_V3 $define CC_CONFIG3L_V1 $define CC2_IO_V5 $define SPI_IO_V2 $if (_device = _18F8525) or (_device = _18F8621) $define I2C_IO_V1 $endif $if (_device = _18F8527) or (_device = _18F8622) or (_device = _18F8627) or (_device = _18F8722) $define I2C_IO_V5 $define I2C_IO_V7 $define SPI_IO_V7 $endif $endif $if (_device = _18F85J10) or (_device = _18F85J15) or (_device = _18F85J50) or ' (_device = _18F86J10) or (_device = _18F86J11) or (_device = _18F86J15) or ' (_device = _18F86J16) or (_device = _18F86J50) or (_device = _18F86J55) or ' (_device = _18F87J10) or (_device = _18F87J11) or (_device = _18F87J50) or ' (_device = _18F97J60) $define PWM1_IO_V4 $define PWM2_IO_V6 $define PWM3_IO_V3 $define CC2_IO_V5 $define CC_CONFIG3L_V2 $define I2C_IO_V5 $define I2C_IO_V7 $define SPI_IO_V2 $define SPI_IO_V7 $endif $if (_device = _18F8585) or (_device = _18F8680) $define PWM1_IO_V4 $define PWM2_IO_V4 $define CC2_IO_V5 $define I2C_IO_V1 $define SPI_IO_V2 $endif $if (_device = _18F83J11) or (_device = _18F84J11) or (_device = _18F85J11) $define PWM2_IO_V4 $define PWM_CONFIG3L_V2 $define CC2_IO_V5 $define CC_CONFIG3L_V2 $define I2C_IO_V1 $define SPI_IO_V4 $endif $if (_device = _18F86J60) or (_device = _18F86J65) or (_device = _18F87J60) $define PWM1_IO_V4 $define PWM2_IO_V5 $define PWM3_IO_V3 $define CC2_IO_V4 $define CC_CONFIG3L_V2 $define I2C_IO_V5 $define SPI_IO_V2 $endif $if (_device = _18F96J60) or (_device = _18F96J65) $define PWM1_IO_V4 $define PWM2_IO_V6 $define PWM3_IO_V3 $define CC2_IO_V5 $define CC_CONFIG3L_V2 $define I2C_IO_V5 $define I2C_IO_V7 $define SPI_IO_V2 $define SPI_IO_V7 $endif $if (_device = _18F13K22) or (_device = _18F14K22) or (_device = _18LF13K22) or ' (_device = _18LF14K22) or (_device = _18F13K50) or (_device = _18F14K50) or ' (_device = _18LF13K50) or (_device = _18LF14K50) $define PWM1_IO_V6 $define CC1_IO_V2 $define CC2_IO_V3 $define I2C_IO_V4 $define SPI_IO_V9 $define SW_SPI_IO_V1 $if (_device = _18F13K50) or (_device = _18F14K50) or (_device = _18LF13K50) or ' (_device = _18LF14K50) $define USART_SFR_V1 $endif $endif $if (_device = _18F23K20) or (_device = _18F24K20) or (_device = _18F25K20) or ' (_device = _18F26K20) or (_device = _18F43K20) or (_device = _18F44K20) or ' (_device = _18F45K20) or (_device = _18F46K20) $define PWM1_IO_V5 $define PWM2_IO_V1 $define CC2_IO_V3 $define I2C_IO_V1 $define SPI_IO_V6 $endif