ATSAML21J18A SERCOM0 registers

The 42 registers of SERCOM0 (Serial Communication Interface), from 0x42000000, with their reset value and every field. The ATSAML21J18A has 1195 registers in 42 peripherals, one page each.

SERCOM0 Serial Communication Interface

I2CM.CTRLAI2CM Control A

Address
0x42000000
Reset
0x00000000
Access
read/write
Size
32-bit
12 fields
FieldBitsWhat it does
LOWTOUTEN30SCL Low Timeout Enable
INACTOUT29:28Inactive Time-Out
SCLSM27SCL Clock Stretch Mode
SPEED25:24Transfer Speed
SEXTTOEN23Slave SCL Low Extend Timeout
MEXTTOEN22Master SCL Low Extend Timeout
SDAHOLD21:20SDA Hold Time
PINOUT16Pin Usage
RUNSTDBY7Run in Standby
MODE4:2Operating Mode
ENABLE1Enable
SWRST0Software Reset

I2CS.CTRLAI2CS Control A

Address
0x42000000
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
LOWTOUTEN30SCL Low Timeout Enable
SCLSM27SCL Clock Stretch Mode
SPEED25:24Transfer Speed
SEXTTOEN23Slave SCL Low Extend Timeout
SDAHOLD21:20SDA Hold Time
PINOUT16Pin Usage
RUNSTDBY7Run during Standby
MODE4:2Operating Mode
ENABLE1Enable
SWRST0Software Reset

SPI.CTRLASPI Control A

Address
0x42000000
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
DORD30Data Order
CPOL29Clock Polarity
CPHA28Clock Phase
FORM27:24Frame Format
DIPO21:20Data In Pinout
DOPO17:16Data Out Pinout
IBON8Immediate Buffer Overflow Notification
RUNSTDBY7Run during Standby
MODE4:2Operating Mode
ENABLE1Enable
SWRST0Software Reset

USART.CTRLAUSART Control A

Address
0x42000000
Reset
0x00000000
Access
read/write
Size
32-bit
13 fields
FieldBitsWhat it does
DORD30Data Order
CPOL29Clock Polarity
CMODE28Communication Mode
FORM27:24Frame Format
SAMPA23:22Sample Adjustment
RXPO21:20Receive Data Pinout
TXPO17:16Transmit Data Pinout
SAMPR15:13Sample
IBON8Immediate Buffer Overflow Notification
RUNSTDBY7Run during Standby
MODE4:2Operating Mode
ENABLE1Enable
SWRST0Software Reset

I2CM.CTRLBI2CM Control B

Address
0x42000004
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
ACKACT18Acknowledge Action
CMD17:16Command
QCEN9Quick Command Enable
SMEN8Smart Mode Enable

I2CS.CTRLBI2CS Control B

Address
0x42000004
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
ACKACT18Acknowledge Action
CMD17:16Command
AMODE15:14Address Mode
AACKEN10Automatic Address Acknowledge
GCMD9PMBus Group Command
SMEN8Smart Mode Enable

SPI.CTRLBSPI Control B

Address
0x42000004
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
RXEN17Receiver Enable
AMODE15:14Address Mode
MSSEN13Master Slave Select Enable
SSDE9Slave Select Low Detect Enable
PLOADEN6Data Preload Enable
CHSIZE2:0Character Size

USART.CTRLBUSART Control B

Address
0x42000004
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
RXEN17Receiver Enable
TXEN16Transmitter Enable
PMODE13Parity Mode
ENC10Encoding Format
SFDE9Start of Frame Detection Enable
COLDEN8Collision Detection Enable
SBMODE6Stop Bit Mode
CHSIZE2:0Character Size

I2CM.BAUDI2CM Baud Rate

Address
0x4200000C
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
HSBAUD23:16High Speed Baud Rate Value
BAUDLOW15:8Baud Rate Value Low
BAUD7:0Baud Rate Value
HSBAUDLOW31:24High Speed Baud Rate Value Low

SPI.BAUDSPI Baud Rate

Address
0x4200000C
Reset
0x00
Access
read/write
  1. 7BAUD7
  2. 6BAUD6
  3. 5BAUD5
  4. 4BAUD4
  5. 3BAUD3
  6. 2BAUD2
  7. 1BAUD1
  8. 0BAUD0
1 field
FieldBitsWhat it does
BAUD7:0Baud Rate Value

USART.BAUDUSART Baud Rate

Address
0x4200000C
Reset
0x0000
Access
read/write
Size
16-bit
3 fields
FieldBitsWhat it does
BAUD15:0Baud Rate Value
FP15:13Fractional Part
BAUD12:0Baud Rate Value

USART.RXPLUSART Receive Pulse Length

Address
0x4200000E
Reset
0x00
Access
read/write
  1. 7RXPL7
  2. 6RXPL6
  3. 5RXPL5
  4. 4RXPL4
  5. 3RXPL3
  6. 2RXPL2
  7. 1RXPL1
  8. 0RXPL0
1 field
FieldBitsWhat it does
RXPL7:0Receive Pulse Length

I2CM.INTENCLRI2CM Interrupt Enable Clear

Address
0x42000014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1SB
  8. 0MB
3 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Disable
SB1Slave On Bus Interrupt Disable
MB0Master On Bus Interrupt Disable

I2CS.INTENCLRI2CS Interrupt Enable Clear

Address
0x42000014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DRDY
  7. 1AMATCH
  8. 0PREC
4 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Disable
DRDY2Data Interrupt Disable
AMATCH1Address Match Interrupt Disable
PREC0Stop Received Interrupt Disable

SPI.INTENCLRSPI Interrupt Enable Clear

Address
0x42000014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3SSL
  6. 2RXC
  7. 1TXC
  8. 0DRE
5 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Disable
SSL3Slave Select Low Interrupt Disable
RXC2Receive Complete Interrupt Disable
TXC1Transmit Complete Interrupt Disable
DRE0Data Register Empty Interrupt Disable

USART.INTENCLRUSART Interrupt Enable Clear

Address
0x42000014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5RXBRK
  4. 4CTSIC
  5. 3RXS
  6. 2RXC
  7. 1TXC
  8. 0DRE
7 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Disable
RXBRK5Break Received Interrupt Disable
CTSIC4Clear To Send Input Change Interrupt Disable
RXS3Receive Start Interrupt Disable
RXC2Receive Complete Interrupt Disable
TXC1Transmit Complete Interrupt Disable
DRE0Data Register Empty Interrupt Disable

I2CM.INTENSETI2CM Interrupt Enable Set

Address
0x42000016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1SB
  8. 0MB
3 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Enable
SB1Slave On Bus Interrupt Enable
MB0Master On Bus Interrupt Enable

I2CS.INTENSETI2CS Interrupt Enable Set

Address
0x42000016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DRDY
  7. 1AMATCH
  8. 0PREC
4 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Enable
DRDY2Data Interrupt Enable
AMATCH1Address Match Interrupt Enable
PREC0Stop Received Interrupt Enable

SPI.INTENSETSPI Interrupt Enable Set

Address
0x42000016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3SSL
  6. 2RXC
  7. 1TXC
  8. 0DRE
5 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Enable
SSL3Slave Select Low Interrupt Enable
RXC2Receive Complete Interrupt Enable
TXC1Transmit Complete Interrupt Enable
DRE0Data Register Empty Interrupt Enable

USART.INTENSETUSART Interrupt Enable Set

Address
0x42000016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5RXBRK
  4. 4CTSIC
  5. 3RXS
  6. 2RXC
  7. 1TXC
  8. 0DRE
7 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt Enable
RXBRK5Break Received Interrupt Enable
CTSIC4Clear To Send Input Change Interrupt Enable
RXS3Receive Start Interrupt Enable
RXC2Receive Complete Interrupt Enable
TXC1Transmit Complete Interrupt Enable
DRE0Data Register Empty Interrupt Enable

I2CM.INTFLAGI2CM Interrupt Flag Status and Clear

Address
0x42000018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1SB
  8. 0MB
3 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt
SB1Slave On Bus Interrupt
MB0Master On Bus Interrupt

I2CS.INTFLAGI2CS Interrupt Flag Status and Clear

Address
0x42000018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DRDY
  7. 1AMATCH
  8. 0PREC
4 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt
DRDY2Data Interrupt
AMATCH1Address Match Interrupt
PREC0Stop Received Interrupt

SPI.INTFLAGSPI Interrupt Flag Status and Clear

Address
0x42000018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3SSL
  6. 2RXC
  7. 1TXC
  8. 0DRE
5 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt
SSL3Slave Select Low Interrupt Flag
RXC2Receive Complete Interrupt
TXC1Transmit Complete Interrupt
DRE0Data Register Empty Interrupt

USART.INTFLAGUSART Interrupt Flag Status and Clear

Address
0x42000018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5RXBRK
  4. 4CTSIC
  5. 3RXS
  6. 2RXC
  7. 1TXC
  8. 0DRE
7 fields
FieldBitsWhat it does
ERROR7Combined Error Interrupt
RXBRK5Break Received Interrupt
CTSIC4Clear To Send Input Change Interrupt
RXS3Receive Start Interrupt
RXC2Receive Complete Interrupt
TXC1Transmit Complete Interrupt
DRE0Data Register Empty Interrupt

I2CM.STATUSI2CM Status

Address
0x4200001A
Reset
0x0000
Access
read/write
Size
16-bit
9 fields
FieldBitsWhat it does
LENERR10Length Error
SEXTTOUT9Slave SCL Low Extend Timeout
MEXTTOUT8Master SCL Low Extend Timeout
CLKHOLD7Clock Hold
LOWTOUT6SCL Low Timeout
BUSSTATE5:4Bus State
RXNACK2Received Not Acknowledge
ARBLOST1Arbitration Lost
BUSERR0Bus Error

I2CS.STATUSI2CS Status

Address
0x4200001A
Reset
0x0000
Access
read/write
Size
16-bit
9 fields
FieldBitsWhat it does
HS10High Speed
SEXTTOUT9Slave SCL Low Extend Timeout
CLKHOLD7Clock Hold
LOWTOUT6SCL Low Timeout
SR4Repeated Start
DIR3Read/Write Direction
RXNACK2Received Not Acknowledge
COLL1Transmit Collision
BUSERR0Bus Error

SPI.STATUSSPI Status

Address
0x4200001A
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
BUFOVF2Buffer Overflow

USART.STATUSUSART Status

Address
0x4200001A
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
FieldBitsWhat it does
COLL5Collision Detected
ISF4Inconsistent Sync Field
CTS3Clear To Send
BUFOVF2Buffer Overflow
FERR1Frame Error
PERR0Parity Error

I2CM.SYNCBUSYI2CM Synchronization Busy

Address
0x4200001C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
SYSOP2System Operation Synchronization Busy
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

I2CS.SYNCBUSYI2CS Synchronization Busy

Address
0x4200001C
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

SPI.SYNCBUSYSPI Synchronization Busy

Address
0x4200001C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
CTRLB2CTRLB Synchronization Busy
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

USART.SYNCBUSYUSART Synchronization Busy

Address
0x4200001C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
CTRLB2CTRLB Synchronization Busy
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

I2CM.ADDRI2CM Address

Address
0x42000024
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
LEN23:16Length
TENBITEN15Ten Bit Addressing Enable
HS14High Speed Mode
LENEN13Length Enable
ADDR10:0Address Value

I2CS.ADDRI2CS Address

Address
0x42000024
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
ADDRMASK26:17Address Mask
TENBITEN15Ten Bit Addressing Enable
ADDR10:1Address Value
GENCEN0General Call Address Enable

SPI.ADDRSPI Address

Address
0x42000024
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
ADDRMASK23:16Address Mask
ADDR7:0Address Value

I2CM.DATAI2CM Data

Address
0x42000028
Reset
0x00
Access
read/write
  1. 7DATA7
  2. 6DATA6
  3. 5DATA5
  4. 4DATA4
  5. 3DATA3
  6. 2DATA2
  7. 1DATA1
  8. 0DATA0
1 field
FieldBitsWhat it does
DATA7:0Data Value

I2CS.DATAI2CS Data

Address
0x42000028
Reset
0x00
Access
read/write
  1. 7DATA7
  2. 6DATA6
  3. 5DATA5
  4. 4DATA4
  5. 3DATA3
  6. 2DATA2
  7. 1DATA1
  8. 0DATA0
1 field
FieldBitsWhat it does
DATA7:0Data Value

SPI.DATASPI Data

Address
0x42000028
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATA8:0Data Value

USART.DATAUSART Data

Address
0x42000028
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
DATA8:0Data Value

I2CM.DBGCTRLI2CM Debug Control

Address
0x42000030
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGSTOP
1 field
FieldBitsWhat it does
DBGSTOP0Debug Mode

SPI.DBGCTRLSPI Debug Control

Address
0x42000030
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGSTOP
1 field
FieldBitsWhat it does
DBGSTOP0Debug Mode

USART.DBGCTRLUSART Debug Control

Address
0x42000030
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGSTOP
1 field
FieldBitsWhat it does
DBGSTOP0Debug Mode