Microchip Technology megaAVR 0 Series Manual page 134

Hide thumbs Also See for megaAVR 0 Series:
Table of Contents

Advertisement

14.3.4
PORTMUX Control for TWI and SPI
Name: 
TWISPIROUTEA
Offset: 
0x03
Reset: 
0x00
Property:  -
Bit
7
Access
Reset
Bits 5:4 – TWI0[1:0] TWI 0 communication
Write these bits to select alternative communication pins for TWI 0.
Value
Name
0x0
DEFAULT
0x1
ALT1
0x2
ALT2
0x3
-
Bits 1:0 – SPI0[1:0] SPI 0 communication
Write these bits to select alternative communication pins for SPI 0.
Value
Name
0x0
DEFAULT
0x1
ALT1
0x2
ALT2
0x3
NONE
©
2018 Microchip Technology Inc.
6
5
TWI0[1:0]
R/W
0
Description
SCL/SDA on PA[3:2], Slave mode on PC[3:2] in dual TWI mode
SCL/SDA on PA[3:2], Slave mode on PF[3:2] in dual TWI mode
SCL/SDA on PC[3:2], Slave mode on PF[3:2] in dual TWI mode
Reserved
Description
SPI on PA[7:4]
SPI on PC[3:0]
SPI on PE[3:0]
Not connected to any pins
4
3
R/W
0
Datasheet Preliminary
®
megaAVR
0-Series
Port Multiplexer (PORTMUX)
2
1
SPI0[1:0]
R/W
0
DS40002015A-page 134
0
R/W
0

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the megaAVR 0 Series and is the answer not in the manual?

This manual is also suitable for:

Atmega4808Atmega4809Atmega3208Atmega3209

Table of Contents