// PIC18F4550 description file mcu.desc.brand=MICROCHIP mcu.desc.family=PIC18 mcu.desc.core=PIC18HighEndCore16bit mcu.desc.architecture=RISC mcu.desc.bits=8 mcu.desc.pins=28 mcu.desc.pack=PDIP-28 mcu.desc.name=PIC18F2550 mcu.desc.fullname=Microchip PIC18F2550 28-PDIP mcu.desc.maxfreq=40M mcu.desc.ram=2K mcu.desc.flash=32K mcu.desc.eeprom=256B mcu.desc.wtdog=1 mcu.desc.defaultcfg=0x0C00 // HS without PLL // PORTS mcu.port.nb=3 mcu.port.list=A,B,C,E mcu.port.prefix=R mcu.port.bits=8 mcu.portA.pullup=0 mcu.portA.pulldn=0 mcu.portA.pin0=RA0 (AN0)/2 mcu.portA.pin1=RA1 (AN1)/3 mcu.portA.pin2=RA2 (AN2)/4 mcu.portA.pin3=RA3 (AN3)/5 mcu.portA.pin4=RA4/6 mcu.portA.pin5=RA5 (AN4) (SS)/7 mcu.portA.pin6=RA6/0 mcu.portB.pullup=1 mcu.portB.pulldn=0 mcu.portB.pin0=RB0 (AN12) (MISO) (SDA) (PullUp)/33 mcu.portB.pin1=RB1 (AN10) (SCK) (SCL) (PullUp)/34 mcu.portB.pin2=RB2 (AN8) (PullUp)/35 mcu.portB.pin3=RB3 (AN9) (PullUp)/36 mcu.portB.pin4=RB4 (AN11) (PullUp)/37 mcu.portB.pin5=RB5 (PGM) (PullUp)/38 mcu.portB.pin6=RB6 (PGC) (PullUp)/39 mcu.portB.pin7=RB7 (PGD) (PullUp)/40 mcu.portC.pullup=0 mcu.portC.pulldn=0 mcu.portC.pin0=RC0/15 mcu.portC.pin1=RC1 (PWM2)/16 mcu.portC.pin2=RC2 (PWM1)/17 mcu.portC.pin3=RC3/0 // Replaced by VUsb mcu.portC.pin4=RC4 (D-)/23 mcu.portC.pin5=RC5 (D+)/24 mcu.portC.pin6=RC6 (TX)/25 mcu.portC.pin7=RC7 (RX) (MOSI)/26 mcu.portE.pin3=RE3/0 // TIMER mcu.tim.nb=4 mcu.tim.list=0/1/2/3 mcu.tim0.bits=16 mcu.tim1.bits=16 mcu.tim2.bits=8 mcu.tim3.bits=16 // PWM mcu.pwm.nb=2 mcu.pwm.list=1.0/2.0 mcu.pwm.bits=10 mcu.pwm1.tim=2 mcu.pwm1.bits=10 mcu.pwm1.out0=RC2/17 // PWM 1 mcu.pwm2.tim=2 mcu.pwm2.bits=10 mcu.pwm2.out0=RC1/16 // PWM 2 // ADC mcu.adc.nb=12 mcu.adc.list=0.1/1.1/2.1/3.1/4.1/5.1/6.1/7.1/8.1/9.1/10.1/11.1 mcu.adc.bits=13 mcu.adc0.chan1=RA0/2 mcu.adc1.chan1=RA1/3 mcu.adc2.chan1=RA2/4 mcu.adc3.chan1=RA3/5 mcu.adc4.chan1=RA5/7 mcu.adc8.chan1=RB2/35 mcu.adc9.chan1=RB3/36 mcu.adc10.chan1=RB1/34 mcu.adc11.chan1=RB4/37 mcu.adc12.chan1=RB0/33 // UART mcu.uart.nb=1 mcu.uart.list=1 mcu.uart.bits=8 mcu.uart1.tx=RC6/25 mcu.uart1.rx=RC7/26 // SPI mcu.spi.nb=1 mcu.spi.list=1 mcu.spi.bits=8 mcu.spi1.miso=RB0/33 mcu.spi1.mosi=RC7/26 mcu.spi1.sck=RB1/34 mcu.spi1.ss=RA5/7 // I2C mcu.i2c.nb=1 mcu.i2c.list=1 mcu.i2c.bits=8 mcu.i2c1.scl=RB1/34 // all I2Cx pins must be on the same port mcu.i2c1.sda=RB0/33 // USB mcu.usb.nb=1 mcu.usb.list=1 mcu.usb1.ver=2.0