Ic2, atmega165p port connections – Digilent 410-174P User Manual
Page 14

USB I/O Explorer Reference Manual
www.digilentinc.com
page 14 of 17
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
IC2, ATmega165P Port Connections
MCU Port
Bit
Signal
Connector
Pin
Notes
RA00
U2-PA0
N/A
DIP Switch 1, DGIO port 0, chan 3
RA01
U2-PA1
N/A
DIP Switch 2, DGIO port 0, chan 3
RA02
U2-PA2
N/A
DIP Switch 3, DGIO port 0, chan 3
RA03
U2-PA3
N/A
DIP Switch 4, DGIO port 0, chan 3
RA04
U2-PA4
N/A
Push button BTN0, DGIO port 0, chan 2
RA05
U2-PA5
N/A
Push button BTN1, DGIO port 0, chan 2
RA06
U2-PA6
N/A
Push button BTN2, DGIO port 0, chan 2
RA07
U2-PA7
N/A
Push button BTN3, DGIO port 0, chan 2
RB00
U2-SS/PB0
N/A
Switch SW0, DGIO port 0, chan 1
RB01
U2-SCK/PB1
N/A
Switch SW1, DGIO port 0, chan 1
RB02
U2-MOSI/PB2
N/A
Switch SW2, DGIO port 0, chan 1
RB03
U2-MISO/PB3
N/A
Switch SW3, DGIO port 0, chan 1
RB04
U2-OC0A/PCIN12/PB4
JE-07
Also SPKR, Speaker/Buzzer output, DGIO Port 2, DPIO port 7
RB05
U2-OC1A/PCINT13/PB5
JE-08
DPIO port 7
RB06
U2-OC1B/PCINT14/PB6
JE-09
DPIO port 7
RB07
U2-OC2A/PCINT15/PB7
JE-10
DPIO port 7
RC00
U2-PC0
N/A
LED LD8, DGIO Port 0, chan 0
RC01
U2-PC1
N/A
LED LD9, DGIO Port 0, chan 0
RC02
U2-PC2
N/A
LED LD10, DGIO Port 0, chan 0
RC03
U2-PC3
N/A
LED LD11, DGIO Port 0, chan 0
RC04
U2-PC4
N/A
LED LD12, DGIO Port 0, chan 0
RC05
U2-PC5
N/A
LED LD13, DGIO Port 0, chan 0
RC06
U2-PC6
N/A
LED LD14, DGIO Port 0, chan 0
RC07
U2-PC7
N/A
LED LD15, DGIO Port 0, chan 0
RD00
U2-ICP1/PD0
N/A
LED LD0, DGIO Port 0, chan 0
RD01
U2-INT0/PD1
N/A
LED LD1, DGIO Port 0, chan 0
RD02
U2-PD2
N/A
LED LD2, DGIO Port 0, chan 0
RD03
U2-PD3
N/A
LED LD3, DGIO Port 0, chan 0
RD04
U2-PD4
N/A
LED LD4, DGIO Port 0, chan 0
RD05
U2-PD5
N/A
LED LD5, DGIO Port 0, chan 0
RD06
U2-PD6
N/A
LED LD6, DGIO Port 0, chan 0
RD07
U2-PD7
N/A
LED LD7, DGIO Port 0, chan 0
RE00
U2-RXD/PCINT0/PE0
N/A
Encoder ENC1, DGIO Port 1, chan 1
RE01
U2-TXD/PCINT1/PE1
N/A
Encoder ENC1, DGIO Port 1, chan 1
RE02
U2-XCK/AIN0/PCINT2/PE2
N/A
Encoder ENC2, DGIO Port 1, chan 2
RE03
U2-AIN1/PCINT3/PE3
N/A
Encoder ENC2, DGIO Port 1, chan 2
RE04
BTWI-SCL
J11-01
Private I2C bus SCL
RE05
BTWI-SDA
J11-02
Private I2C bus SDA
RE06
U2-DO/PCINT6/PE6
N/A
Enocder ENC1 button, DGIO Port 1, chan 0
RE07
U2-CLKO/PCINT7/PE7
N/A
Encoder ENC2 button, DGIO Port 1, chan 0
RF00
U2-ADC0/PF0
S1
DEMC port 3, DAIO port 1, DPIO port 6
RF01
U2-ADC1/PF1
S2
DEMC port 3, DAIO port 1, DPIO port 6
RF02
U2-ADC2/PF2
S3
DEMC port 3, DAIO port 1, DPIO port 6