PIC16F18877 I/O ピン設定用ページ (β)
[戻る]
P/U
P/U
D /
A
IN /
OUT
- 01
(E3)
PIC16F18877
(B7)
40 -
IN /
OUT
D /
A
D /
A
IN /
OUT
- 02
(A0)
(B6)
39 -
IN /
OUT
D /
A
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
D /
A
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
D /
A
IN /
OUT
- 13
(A7)
(D5)
28 -
IN /
OUT
D /
A
D /
A
IN /
OUT
- 14
(A6)
(D4)
27 -
IN /
OUT
D /
A
D /
A
IN /
OUT
- 15
(C0)
(C7)
26 -
IN /
OUT
D /
A
D /
A
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
WPUA = 0b0;
//0x0
WPUB = 0b0;
//0x0
WPUC = 0b0;
//0x0
WPUD = 0b0;
//0x0
WPUE = 0b0;
//0x0
NOTE: RA2(ANA2) is DAC1OUT1, RB7(ANB7) is DAC1OUT2
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)
PIC16F18877 official page
Tidy ordered pins!!
[back]
(c) 2018 FloatGarden All Right Reserved.