PIC18F45K50 I/O ピン設定用ページ (β)

[戻る]



P/UP/U
MCLR / ONLY-IN - 01(E3)
PIC18F45K50
(B7)40 - IN / OUTDIGITAL
D / A IN / OUT - 02(A0)(B6)39 - IN / OUTDIGITAL
D / A IN / OUT - 03(A1)(B5)38 - IN / OUT D / A
D / A IN / OUT - 04(A2)(B4)37 - IN / OUT D / A
D / A IN / OUT - 05(A3)(B3)36 - IN / OUT D / A
DIGITAL IN / OUT - 06(A4)(B2)35 - IN / OUT D / A
D / A IN / OUT - 07(A5)(B1)34 - IN / OUT D / A
D / A IN / OUT - 08(E0)(B0)33 - IN / OUT D / A
D / A IN / OUT - 09(E1)32 - Vdd
D / A IN / OUT - 10(E2)31 - Vss
Vdd - 11(D7)30 - IN / OUT D / A
Vss - 12(D6)29 - IN / OUT D / A
DIGITAL IN / OUT - 13(A7)(D5)28 - IN / OUT D / A
DIGITAL IN / OUT - 14(A6)(D4)27 - IN / OUT D / A
DIGITAL IN / OUT - 15(C0)(C7)26 - IN / OUT D / A
DIGITAL IN / OUT - 16(C1)(C6)25 - IN / OUT D / A
D / A IN / OUT - 17(C2)24 - USB D+
VUSB - 1823 - USB D-
D / A IN / OUT - 19(D0)(D3)22 - IN / OUT D / A
D / A IN / OUT - 20(D1)(D2)21 - IN / OUT D / A



TRISA = 0b0; //0x0
TRISB = 0b0; //0x0
TRISC = 0b0; //0x0
TRISD = 0b0; //0x0
TRISE = 0b0; //0x0
ANSELA = 0b0; //0x0
ANSELB = 0b0; //0x0
ANSELC = 0b0; //0x0
ANSELD = 0b0; //0x0
ANSELE = 0b0; //0x0
WPUB = 0b0; //0x0
WPUE = 0b0; //0x0


NOTE: A2(pin 4) is DACOUT
PWM P1A:C2, PWM P1B:D5, PWM P1C:D6, PWM P1D:D7
Voltage Range:2.3V~5.5V
MCLR PIN PULL UP REGISTER (WPUE3) is SHARED INTO "TRISE" REGISTER bit 7

backcolor of pin number is for pickit3 connection.
pin1 MCLR/Vpp
pin2 Vdd (V+) target
pin3 Vss (GND)
pin4 PGD (ICSPDAT)
pin5 PGC (ICSPCLK)

PIC18F45K50 official page
new stuff !!  



[back]

(c) 2018 FloatGarden All Right Reserved.