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

[戻る]



P/UP/U
MCLR / ONLY-IN - 01(E3)
PIC18F46K22
(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)(C5)24 - IN / OUT D / A
D / A IN / OUT - 18(C3)(C4)23 - IN / OUT D / A
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
Voltage Range:2.3V~5.5V


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

PIC18F46K22 official page
35 I/O Pins  



[back]

(c) 2018 FloatGarden All Right Reserved.