ATxmega16E5 registers

All 379 registers by peripheral, at their data-space address (the I/O address IN and OUT use is shown beside it), with their reset value and every bit.

GPIO General Purpose IO

GPIOR0General Purpose IO Register 0

Address
0x00
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

GPIOR1General Purpose IO Register 1

Address
0x01
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

GPIOR2General Purpose IO Register 2

Address
0x02
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

GPIOR3General Purpose IO Register 3

Address
0x03
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

VPORT0 Virtual Ports

DIRI/O Port Data Direction

Address
0x10
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

OUTI/O Port Output

Address
0x11
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INI/O Port Input

Address
0x12
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INTFLAGSInterrupt Flag Register

Address
0x13
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Interrupt Pin 7 Flag
INT6IF6Interrupt Pin 6 Flag
INT5IF5Interrupt Pin 5 Flag
INT4IF4Interrupt Pin 4 Flag
INT3IF3Interrupt Pin 3 Flag
INT2IF2Interrupt Pin 2 Flag
INT1IF1Interrupt Pin 1 Flag
INT0IF0Interrupt Pin 0 Flag

VPORT1 Virtual Ports

DIRI/O Port Data Direction

Address
0x14
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

OUTI/O Port Output

Address
0x15
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INI/O Port Input

Address
0x16
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INTFLAGSInterrupt Flag Register

Address
0x17
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Interrupt Pin 7 Flag
INT6IF6Interrupt Pin 6 Flag
INT5IF5Interrupt Pin 5 Flag
INT4IF4Interrupt Pin 4 Flag
INT3IF3Interrupt Pin 3 Flag
INT2IF2Interrupt Pin 2 Flag
INT1IF1Interrupt Pin 1 Flag
INT0IF0Interrupt Pin 0 Flag

VPORT2 Virtual Ports

DIRI/O Port Data Direction

Address
0x18
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

OUTI/O Port Output

Address
0x19
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INI/O Port Input

Address
0x1A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INTFLAGSInterrupt Flag Register

Address
0x1B
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Interrupt Pin 7 Flag
INT6IF6Interrupt Pin 6 Flag
INT5IF5Interrupt Pin 5 Flag
INT4IF4Interrupt Pin 4 Flag
INT3IF3Interrupt Pin 3 Flag
INT2IF2Interrupt Pin 2 Flag
INT1IF1Interrupt Pin 1 Flag
INT0IF0Interrupt Pin 0 Flag

VPORT3 Virtual Ports

DIRI/O Port Data Direction

Address
0x1C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

OUTI/O Port Output

Address
0x1D
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INI/O Port Input

Address
0x1E
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

INTFLAGSInterrupt Flag Register

Address
0x1F
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Interrupt Pin 7 Flag
INT6IF6Interrupt Pin 6 Flag
INT5IF5Interrupt Pin 5 Flag
INT4IF4Interrupt Pin 4 Flag
INT3IF3Interrupt Pin 3 Flag
INT2IF2Interrupt Pin 2 Flag
INT1IF1Interrupt Pin 1 Flag
INT0IF0Interrupt Pin 0 Flag

OCD On-Chip Debug System

OCDR0OCD Register 0

Address
0x2E I/O 0x0E
Reset
0x00
Access
read/write
  1. 7OCDRD7
  2. 6OCDRD6
  3. 5OCDRD5
  4. 4OCDRD4
  5. 3OCDRD3
  6. 2OCDRD2
  7. 1OCDRD1
  8. 0OCDRD0
1 field
FieldBitsWhat it does
OCDRD7:0OCDR Dirty

OCDR1OCD Register 1

Address
0x2F I/O 0x0F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0OCDRD
1 field
FieldBitsWhat it does
OCDRD0OCDR Dirty

CPU CPU

CCPConfiguration Change Protection

Address
0x34 I/O 0x14
Reset
0x00
Access
read/write
  1. 7CCP7
  2. 6CCP6
  3. 5CCP5
  4. 4CCP4
  5. 3CCP3
  6. 2CCP2
  7. 1CCP1
  8. 0CCP0
1 field
FieldBitsWhat it does
CCP7:0CCP signature
  • 157 SPM Instruction Protection
  • 216 IO Register Protection

RAMPDRamp D

Address
0x38 I/O 0x18
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

RAMPXRamp X

Address
0x39 I/O 0x19
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

RAMPYRamp Y

Address
0x3A I/O 0x1A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

RAMPZRamp Z

Address
0x3B I/O 0x1B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

EINDExtended Indirect Jump

Address
0x3C I/O 0x1C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SPLStack Pointer Low

Address
0x3D I/O 0x1D
Reset
0xFF
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SPHStack Pointer High

Address
0x3E I/O 0x1E
Reset
0x27
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SREGStatus Register

Address
0x3F I/O 0x1F
Reset
0x00
Access
read/write
  1. 7I
  2. 6T
  3. 5H
  4. 4S
  5. 3V
  6. 2N
  7. 1Z
  8. 0C
8 fields
FieldBitsWhat it does
I7Global Interrupt Enable Flag
T6Transfer Bit
H5Half Carry Flag
S4N Exclusive Or V Flag
V3Two's Complement Overflow Flag
N2Negative Flag
Z1Zero Flag
C0Carry Flag

CLK Clock System

CTRLControl Register

Address
0x40 I/O 0x20
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2SCLKSEL2
  7. 1SCLKSEL1
  8. 0SCLKSEL0
1 field
FieldBitsWhat it does
SCLKSEL2:0System Clock Selection
  • 0 Internal 2 MHz RC Oscillator
  • 1 Internal 32 MHz RC Oscillator
  • 2 Internal 32.768 kHz RC Oscillator
  • 3 External Crystal Oscillator or Clock
  • 4 Phase Locked Loop
  • 5 Internal 8 MHz RC Oscillator

PSCTRLPrescaler Control Register

Address
0x41 I/O 0x21
Reset
0x00
Access
read/write
  1. 7–
  2. 6PSADIV4
  3. 5PSADIV3
  4. 4PSADIV2
  5. 3PSADIV1
  6. 2PSADIV0
  7. 1PSBCDIV1
  8. 0PSBCDIV0
2 fields
FieldBitsWhat it does
PSADIV6:2Prescaler A Division Factor
  • 0 Divide by 1
  • 1 Divide by 2
  • 3 Divide by 4
  • 5 Divide by 8
  • 7 Divide by 16
  • 9 Divide by 32
  • 11 Divide by 64
  • 13 Divide by 128
  • 15 Divide by 256
  • 17 Divide by 512
  • 19 Divide by 6
  • 21 Divide by 10
  • 23 Divide by 12
  • 25 Divide by 24
  • 27 Divide by 48
PSBCDIV1:0Prescaler B and C Division factor
  • 0 Divide B by 1 and C by 1
  • 1 Divide B by 1 and C by 2
  • 2 Divide B by 4 and C by 1
  • 3 Divide B by 2 and C by 2

LOCKLock register

Address
0x42 I/O 0x22
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0LOCK
1 field
FieldBitsWhat it does
LOCK0Clock System Lock

RTCCTRLRTC Control Register

Address
0x43 I/O 0x23
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3RTCSRC2
  6. 2RTCSRC1
  7. 1RTCSRC0
  8. 0RTCEN
2 fields
FieldBitsWhat it does
RTCSRC3:1Clock Source
  • 0 1.024 kHz from internal 32kHz ULP
  • 1 1.024 kHz from 32.768 kHz crystal oscillator on TOSC
  • 2 1.024 kHz from internal 32.768 kHz RC oscillator
  • 5 32.768 kHz from 32.768 kHz crystal oscillator on TOSC
  • 6 32.768 kHz from internal 32.768 kHz RC oscillator
  • 7 External Clock from TOSC1
RTCEN0Clock Source Enable

SLEEP Sleep Controller

CTRLControl Register

Address
0x48 I/O 0x28
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3SMODE2
  6. 2SMODE1
  7. 1SMODE0
  8. 0SEN
2 fields
FieldBitsWhat it does
SMODE3:1Sleep Mode
  • 0 Idle mode
  • 2 Power-down Mode
  • 3 Power-save Mode
  • 6 Standby Mode
  • 7 Extended Standby Mode
SEN0Sleep Enable

OSC Oscillator

CTRLControl Register

Address
0x50 I/O 0x30
Reset
0x00
Access
read/write
  1. 7–
  2. 6RC8MLPM
  3. 5RC8MEN
  4. 4PLLEN
  5. 3XOSCEN
  6. 2RC32KEN
  7. 1RC32MEN
  8. 0RC2MEN
7 fields
FieldBitsWhat it does
RC8MLPM6Internal 8 MHz RC Low Power Mode Enable
RC8MEN5Internal 8 MHz RC Oscillator Enable
PLLEN4PLL Enable
XOSCEN3External Oscillator Enable
RC32KEN2Internal 32.768 kHz RC Oscillator Enable
RC32MEN1Internal 32 MHz RC Oscillator Enable
RC2MEN0Internal 2 MHz RC Oscillator Enable

STATUSStatus Register

Address
0x51 I/O 0x31
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5RC8MRDY
  4. 4PLLRDY
  5. 3XOSCRDY
  6. 2RC32KRDY
  7. 1RC32MRDY
  8. 0RC2MRDY
6 fields
FieldBitsWhat it does
RC8MRDY5Internal 8 MHz RC Oscillator Ready
PLLRDY4PLL Ready
XOSCRDY3External Oscillator Ready
RC32KRDY2Internal 32.768 kHz RC Oscillator Ready
RC32MRDY1Internal 32 MHz RC Oscillator Ready
RC2MRDY0Internal 2 MHz RC Oscillator Ready

XOSCCTRLExternal Oscillator Control Register

Address
0x52 I/O 0x32
Reset
0x00
Access
read/write
  1. 7FRQRANGE1
  2. 6FRQRANGE0
  3. 5X32KLPM
  4. 4XOSCSEL4
  5. 3XOSCSEL3
  6. 2XOSCSEL2
  7. 1XOSCSEL1
  8. 0XOSCSEL0
4 fields
FieldBitsWhat it does
FRQRANGE7:6Frequency Range
  • 0 0.4 - 2 MHz
  • 1 2 - 9 MHz
  • 2 9 - 12 MHz
  • 3 12 - 16 MHz
X32KLPM532.768 kHz XTAL OSC Low-power Mode
XOSCSEL4:0External Oscillator Selection and Startup Time
  • 0 External Clock on port R1 - 6 CLK
  • 2 32.768 kHz TOSC - 32K CLK
  • 3 0.4-16 MHz XTAL - 256 CLK
  • 7 0.4-16 MHz XTAL - 1K CLK
  • 11 0.4-16 MHz XTAL - 16K CLK
  • 20 External Clock on port C4 - 6 CLK
XOSCPWR416 MHz Crystal Oscillator High Power mode

XOSCFAILOscillator Failure Detection Register

Address
0x53 I/O 0x33
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3PLLFDIF
  6. 2PLLFDEN
  7. 1XOSCFDIF
  8. 0XOSCFDEN
4 fields
FieldBitsWhat it does
PLLFDIF3PLL Failure Detection Interrupt Flag
PLLFDEN2PLL Failure Detection Enable
XOSCFDIF1XOSC Failure Detection Interrupt Flag
XOSCFDEN0XOSC Failure Detection Enable

RC32KCAL32.768 kHz Internal Oscillator Calibration Register

Address
0x54 I/O 0x34
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PLLCTRLPLL Control Register

Address
0x55 I/O 0x35
Reset
0x00
Access
read/write
  1. 7PLLSRC1
  2. 6PLLSRC0
  3. 5PLLDIV
  4. 4PLLFAC4
  5. 3PLLFAC3
  6. 2PLLFAC2
  7. 1PLLFAC1
  8. 0PLLFAC0
3 fields
FieldBitsWhat it does
PLLSRC7:6Clock Source
  • 0 Internal 2 MHz RC Oscillator
  • 1 Internal 8 MHz RC Oscillator
  • 2 Internal 32 MHz RC Oscillator
  • 3 External Oscillator
PLLDIV5Divide by 2
PLLFAC4:0Multiplication Factor

DFLLCTRLDFLL Control Register

Address
0x56 I/O 0x36
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2RC32MCREF1
  7. 1RC32MCREF0
  8. 0–
1 field
FieldBitsWhat it does
RC32MCREF2:132 MHz DFLL Calibration Reference
  • 0 Internal 32.768 kHz RC Oscillator
  • 1 External 32.768 kHz Crystal Oscillator

RC8MCALInternal 8 MHz RC Oscillator Calibration Register

Address
0x57 I/O 0x37
Reset
0x00
Access
read/write
  1. 7RC8MCAL7
  2. 6RC8MCAL6
  3. 5RC8MCAL5
  4. 4RC8MCAL4
  5. 3RC8MCAL3
  6. 2RC8MCAL2
  7. 1RC8MCAL1
  8. 0RC8MCAL0
1 field
FieldBitsWhat it does
RC8MCAL7:0Calibration Bits

DFLLRC32M DFLL

CTRLControl Register

Address
0x60
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0ENABLE
1 field
FieldBitsWhat it does
ENABLE0DFLL Enable

CALACalibration Register A

Address
0x62
Reset
0x00
Access
read/write
  1. 7–
  2. 6CALL6
  3. 5CALL5
  4. 4CALL4
  5. 3CALL3
  6. 2CALL2
  7. 1CALL1
  8. 0CALL0
1 field
FieldBitsWhat it does
CALL6:0DFLL Calibration Value A

CALBCalibration Register B

Address
0x63
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CALH5
  4. 4CALH4
  5. 3CALH3
  6. 2CALH2
  7. 1CALH1
  8. 0CALH0
1 field
FieldBitsWhat it does
CALH5:0DFLL Calibration Value B

COMP0Oscillator Compare Register 0

Address
0x64
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

COMP1Oscillator Compare Register 1

Address
0x65
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

COMP2Oscillator Compare Register 2

Address
0x66
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PR Power Reduction

PRGENGeneral Power Reduction

Address
0x70
Reset
0x00
Access
read/write
  1. 7XCL
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2RTC
  7. 1EVSYS
  8. 0EDMA
4 fields
FieldBitsWhat it does
XCL7XMEGA Custom Logic
RTC2Real-time Counter
EVSYS1Event System
EDMA0Enhanced DMA-Controller

PRPAPower Reduction Port A

Address
0x71
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DAC
  7. 1ADC
  8. 0AC
3 fields
FieldBitsWhat it does
DAC2Port A DAC
ADC1Port A ADC
AC0Port A Analog Comparator

PRPCPower Reduction Port C

Address
0x73
Reset
0x00
Access
read/write
  1. 7–
  2. 6TWI
  3. 5–
  4. 4USART0
  5. 3SPI
  6. 2HIRES
  7. 1TC5
  8. 0TC4
6 fields
FieldBitsWhat it does
TWI6Port C Two-wire Interface
USART04Port C USART0
SPI3Port C SPI
HIRES2Port C WEX
TC51Port C Timer/Counter5
TC40Port C Timer/Counter4

PRPDPower Reduction Port D

Address
0x74
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4USART0
  5. 3–
  6. 2–
  7. 1TC5
  8. 0–
2 fields
FieldBitsWhat it does
USART04Port D USART0
TC51Port D Timer/Counter5

RST Reset

STATUSStatus Register

Address
0x78
Reset
0x00
Access
read/write
  1. 7–
  2. 6SDRF
  3. 5SRF
  4. 4PDIRF
  5. 3WDRF
  6. 2BORF
  7. 1EXTRF
  8. 0PORF
7 fields
FieldBitsWhat it does
SDRF6Spike Detection Reset Flag
SRF5Software Reset Flag
PDIRF4Programming and Debug Interface Interface Reset Flag
WDRF3Watchdog Reset Flag
BORF2Brown-out Reset Flag
EXTRF1External Reset Flag
PORF0Power-on Reset Flag

CTRLControl Register

Address
0x79
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0SWRST
1 field
FieldBitsWhat it does
SWRST0Software Reset

WDT Watch-Dog Timer

CTRLControl

Address
0x80
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5PER3
  4. 4PER2
  5. 3PER1
  6. 2PER0
  7. 1ENABLE
  8. 0CEN
3 fields
FieldBitsWhat it does
PER5:2Period
  • 0 8 cycles (8ms @ 3.3V)
  • 1 16 cycles (16ms @ 3.3V)
  • 2 32 cycles (32ms @ 3.3V)
  • 3 64 cycles (64ms @ 3.3V)
  • 4 128 cycles (0.128s @ 3.3V)
  • 5 256 cycles (0.256s @ 3.3V)
  • 6 512 cycles (0.512s @ 3.3V)
  • 7 1K cycles (1s @ 3.3V)
  • 8 2K cycles (2s @ 3.3V)
  • 9 4K cycles (4s @ 3.3V)
  • 10 8K cycles (8s @ 3.3V)
ENABLE1Enable
CEN0Change Enable

WINCTRLWindowed Mode Control

Address
0x81
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5WPER3
  4. 4WPER2
  5. 3WPER1
  6. 2WPER0
  7. 1WEN
  8. 0WCEN
3 fields
FieldBitsWhat it does
WPER5:2Windowed Mode Period
  • 0 8 cycles (8ms @ 3.3V)
  • 1 16 cycles (16ms @ 3.3V)
  • 2 32 cycles (32ms @ 3.3V)
  • 3 64 cycles (64ms @ 3.3V)
  • 4 128 cycles (0.128s @ 3.3V)
  • 5 256 cycles (0.256s @ 3.3V)
  • 6 512 cycles (0.512s @ 3.3V)
  • 7 1K cycles (1s @ 3.3V)
  • 8 2K cycles (2s @ 3.3V)
  • 9 4K cycles (4s @ 3.3V)
  • 10 8K cycles (8s @ 3.3V)
WEN1Windowed Mode Enable
WCEN0Windowed Mode Change Enable

STATUSStatus

Address
0x82
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0SYNCBUSY
1 field
FieldBitsWhat it does
SYNCBUSY0Synchronization busy

MCU MCU Control

DEVID0Device ID byte 0

Address
0x90
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DEVID1Device ID byte 1

Address
0x91
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DEVID2Device ID byte 2

Address
0x92
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

REVIDRevision ID

Address
0x93
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

ANAINITAnalog Startup Delay

Address
0x97
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1STARTUPDLYA1
  8. 0STARTUPDLYA0
1 field
FieldBitsWhat it does
STARTUPDLYA1:0Analog startup delay Port A

EVSYSLOCKEvent System Lock

Address
0x98
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4EVSYS1LOCK
  5. 3–
  6. 2–
  7. 1–
  8. 0EVSYS0LOCK
2 fields
FieldBitsWhat it does
EVSYS1LOCK4Event Channel 4-7 Lock
EVSYS0LOCK0Event Channel 0-3 Lock

WEXLOCKWEX Lock

Address
0x99
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0WEXCLOCK
1 field
FieldBitsWhat it does
WEXCLOCK0WeX on T/C C4 Lock

FAULTLOCKFAULT Lock

Address
0x9A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1FAULTC5LOCK
  8. 0FAULTC4LOCK
2 fields
FieldBitsWhat it does
FAULTC5LOCK1Fault on T/C C5 Lock
FAULTC4LOCK0Fault on T/C C4 Lock

PMIC Programmable Multi-level Interrupt Controller

STATUSStatus Register

Address
0xA0
Reset
0x00
Access
read/write
  1. 7NMIEX
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2HILVLEX
  7. 1MEDLVLEX
  8. 0LOLVLEX
4 fields
FieldBitsWhat it does
NMIEX7Non-maskable Interrupt Executing
HILVLEX2High Level Interrupt Executing
MEDLVLEX1Medium Level Interrupt Executing
LOLVLEX0Low Level Interrupt Executing

INTPRIInterrupt Priority

Address
0xA1
Reset
0x00
Access
read/write
  1. 7INTPRI7
  2. 6INTPRI6
  3. 5INTPRI5
  4. 4INTPRI4
  5. 3INTPRI3
  6. 2INTPRI2
  7. 1INTPRI1
  8. 0INTPRI0
1 field
FieldBitsWhat it does
INTPRI7:0Interrupt Priority

CTRLControl Register

Address
0xA2
Reset
0x00
Access
read/write
  1. 7RREN
  2. 6IVSEL
  3. 5–
  4. 4–
  5. 3–
  6. 2HILVLEN
  7. 1MEDLVLEN
  8. 0LOLVLEN
5 fields
FieldBitsWhat it does
RREN7Round-Robin Priority Enable
IVSEL6Interrupt Vector Select
HILVLEN2High Level Enable
MEDLVLEN1Medium Level Enable
LOLVLEN0Low Level Enable

PORTCFG Port Configuration

MPCMASKMulti-pin Configuration Mask

Address
0xB0
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CLKOUTClock Out Register

Address
0xB4
Reset
0x00
Access
read/write
  1. 7CLKEVPIN
  2. 6RTCOUT1
  3. 5RTCOUT0
  4. 4–
  5. 3CLKOUTSEL1
  6. 2CLKOUTSEL0
  7. 1CLKOUT1
  8. 0CLKOUT0
4 fields
FieldBitsWhat it does
CLKEVPIN7Clock and Event Output Pin Select
  • 0 Clock and Event Output on PIN 7
  • 1 Clock and Event Output on PIN 4
RTCOUT6:5RTC Clock Output Enable
  • 0 System Clock Output Disabled
  • 1 System Clock Output on Port C pin 6
  • 2 System Clock Output on Port D pin 6
  • 3 System Clock Output on Port R pin 0
CLKOUTSEL3:2Clock Output Select
  • 0 1x Peripheral Clock Output to pin
  • 1 2x Peripheral Clock Output to pin
  • 2 4x Peripheral Clock Output to pin
CLKOUT1:0Clock Output Port
  • 0 System Clock Output Disabled
  • 1 System Clock Output on Port C pin 7
  • 2 System Clock Output on Port D pin 7
  • 3 System Clock Output on Port R pin 0

ACEVOUTAnalog Comparator and Event Out Register

Address
0xB6
Reset
0x00
Access
read/write
  1. 7ACOUT1
  2. 6ACOUT0
  3. 5EVOUT1
  4. 4EVOUT0
  5. 3EVASYEN
  6. 2EVOUTSEL2
  7. 1EVOUTSEL1
  8. 0EVOUTSEL0
4 fields
FieldBitsWhat it does
ACOUT7:6Analog Comparator Output Port
  • 0 Analog Comparator Outputs on Port A, Pin 6-7
  • 1 Analog Comparator Outputs on Port C, Pin 6-7
  • 2 Analog Comparator Outputs on Port D, Pin 6-7
  • 3 Analog Comparator Outputs on Port R, Pin 0-1
EVOUT5:4Event Channel Output Port
  • 0 Event Output Disabled
  • 1 Event Channel n Output on Port C pin 7
  • 2 Event Channel n Output on Port D pin 7
  • 3 Event Channel n Output on Port R pin 0
EVASYEN3Asynchronous Event Enabled
EVOUTSEL2:0Event Channel Output Selection
  • 0 Event Channel 0 output to pin
  • 1 Event Channel 1 output to pin
  • 2 Event Channel 2 output to pin
  • 3 Event Channel 3 output to pin
  • 4 Event Channel 4 output to pin
  • 5 Event Channel 5 output to pin
  • 6 Event Channel 6 output to pin
  • 7 Event Channel 7 output to pin

SRLCTRLSlew Rate Limit Control Register

Address
0xB7
Reset
0x00
Access
read/write
  1. 7SRLENRR
  2. 6–
  3. 5–
  4. 4–
  5. 3SRLENRD
  6. 2SRLENRC
  7. 1–
  8. 0SRLENRA
4 fields
FieldBitsWhat it does
SRLENRR7Slew Rate Limit Enable on PORTR
SRLENRD3Slew Rate Limit Enable on PORTD
SRLENRC2Slew Rate Limit Enable on PORTC
SRLENRA0Slew Rate Limit Enable on PORTA

CRC Cyclic Redundancy Checker

CTRLControl Register

Address
0xD0
Reset
0x00
Access
read/write
  1. 7RESET1
  2. 6RESET0
  3. 5CRC32
  4. 4–
  5. 3SOURCE3
  6. 2SOURCE2
  7. 1SOURCE1
  8. 0SOURCE0
3 fields
FieldBitsWhat it does
RESET7:6Reset
  • 0 No Reset
  • 2 Reset CRC with CHECKSUM to all zeros
  • 3 Reset CRC with CHECKSUM to all ones
CRC325CRC Mode
SOURCE3:0Input Source
  • 0 Disabled
  • 1 I/O Interface
  • 2 Flash
  • 4 DMAC Channel 0
  • 5 DMAC Channel 1
  • 6 DMAC Channel 2
  • 7 DMAC Channel 3

STATUSStatus Register

Address
0xD1
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1ZERO
  8. 0BUSY
2 fields
FieldBitsWhat it does
ZERO1Zero detection
BUSY0Busy

DATAINData Input

Address
0xD3
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CHECKSUM0Checksum byte 0

Address
0xD4
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CHECKSUM1Checksum byte 1

Address
0xD5
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CHECKSUM2Checksum byte 2

Address
0xD6
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CHECKSUM3Checksum byte 3

Address
0xD7
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

EDMA Enhanced DMA Controller

CTRLControl

Address
0x100
Reset
0x00
Access
read/write
  1. 7ENABLE
  2. 6RESET
  3. 5CHMODE1
  4. 4CHMODE0
  5. 3DBUFMODE1
  6. 2DBUFMODE0
  7. 1PRIMODE1
  8. 0PRIMODE0
5 fields
FieldBitsWhat it does
ENABLE7Enable
RESET6Software Reset
CHMODE5:4Channel Mode
  • 0 Channels 0, 1, 2 and 3 in peripheral conf.
  • 1 Channel 0 in standard conf.; channels 2 and 3 in peripheral conf.
  • 2 Channel 2 in standard conf.; channels 0 and 1 in peripheral conf.
  • 3 Channels 0 and 2 in standard conf.
DBUFMODE3:2Double Buffer Mode
  • 0 No double buffer enabled
  • 1 Double buffer enabled on peripheral channels 0/1 (if exist)
  • 2 Double buffer enabled on peripheral channels 2/3 (if exist)
  • 3 Double buffer enabled on peripheral channels 0/1 and 2/3 or standard channels 0/2
PRIMODE1:0Priority Mode
  • 0 Round robin on all channels
  • 1 Ch0 > round robin (Ch 1 ch2 Ch3)
  • 2 Ch0 > Ch 1 > round robin (Ch2 Ch3)
  • 3 Ch0 > Ch1 > Ch2 > Ch3

INTFLAGSTransfer Interrupt Status

Address
0x103
Reset
0x00
Access
read/write
  1. 7CH3ERRIF
  2. 6CH2ERRIF
  3. 5CH1ERRIF
  4. 4CH0ERRIF
  5. 3CH3TRNFIF
  6. 2CH2TRNFIF
  7. 1CH1TRNFIF
  8. 0CH0TRNFIF
8 fields
FieldBitsWhat it does
CH3ERRIF7Channel 3 Transaction Error Interrupt Flag
CH2ERRIF6Channel 2 Transaction Error Interrupt Flag
CH1ERRIF5Channel 1 Transaction Error Interrupt Flag
CH0ERRIF4Channel 0 Transaction Error Interrupt Flag
CH3TRNFIF3Channel 3 Transaction Complete Interrupt Flag
CH2TRNFIF2Channel 2 Transaction Complete Interrupt Flag
CH1TRNFIF1Channel 1 Transaction Complete Interrupt Flag
CH0TRNFIF0Channel 0 Transaction Complete Interrupt Flag

STATUSStatus

Address
0x104
Reset
0x00
Access
read/write
  1. 7CH3BUSY
  2. 6CH2BUSY
  3. 5CH1BUSY
  4. 4CH0BUSY
  5. 3CH3PEND
  6. 2CH2PEND
  7. 1CH1PEND
  8. 0CH0PEND
8 fields
FieldBitsWhat it does
CH3BUSY7Channel 3 Busy Flag
CH2BUSY6Channel 2 Busy Flag
CH1BUSY5Channel 1 Busy Flag
CH0BUSY4Channel 0 Busy Flag
CH3PEND3Channel 3 Pending Flag
CH2PEND2Channel 2 Pending Flag
CH1PEND1Channel 1 Pending Flag
CH0PEND0Channel 0 Pending Flag

TEMPTemporary Register For 16-bit Access

Address
0x106
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

EVSYS Event System

CH0MUXEvent Channel 0 Multiplexer

Address
0x180
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 0 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH1MUXEvent Channel 1 Multiplexer

Address
0x181
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 1 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH2MUXEvent Channel 2 Multiplexer

Address
0x182
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 2 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH3MUXEvent Channel 3 Multiplexer

Address
0x183
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 3 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH4MUXEvent Channel 4 Multiplexer

Address
0x184
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 4 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH5MUXEvent Channel 5 Multiplexer

Address
0x185
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 5 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH6MUXEvent Channel 6 Multiplexer

Address
0x186
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 6 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH7MUXEvent Channel 7 Multiplexer

Address
0x187
Reset
0x00
Access
read/write
  1. 7CHMUX7
  2. 6CHMUX6
  3. 5CHMUX5
  4. 4CHMUX4
  5. 3CHMUX3
  6. 2CHMUX2
  7. 1CHMUX1
  8. 0CHMUX0
1 field
FieldBitsWhat it does
CHMUX7:0Event Channel 7 Multiplexer
  • 0 Off
  • 8 RTC Overflow
  • 9 RTC Compare Match
  • 16 Analog Comparator A Channel 0
  • 17 Analog Comparator A Channel 1
  • 18 Analog Comparator A Window
  • 32 ADC A Channel 0
  • 80 Port A, Pin0
  • 81 Port A, Pin1
  • 82 Port A, Pin2
  • 83 Port A, Pin3
  • 84 Port A, Pin4
  • 85 Port A, Pin5
  • 86 Port A, Pin6
  • 87 Port A, Pin7
  • 96 Port C, Pin0
  • 97 Port C, Pin1
  • 98 Port C, Pin2
  • 99 Port C, Pin3
  • 100 Port C, Pin4
  • 101 Port C, Pin5
  • 102 Port C, Pin6
  • 103 Port C, Pin7
  • 104 Port D, Pin0
  • 105 Port D, Pin1
  • 106 Port D, Pin2
  • 107 Port D, Pin3
  • 108 Port D, Pin4
  • 109 Port D, Pin5
  • 110 Port D, Pin6
  • 111 Port D, Pin7
  • 128 Prescaler, divide by 1
  • 129 Prescaler, divide by 2
  • 130 Prescaler, divide by 4
  • 131 Prescaler, divide by 8
  • 132 Prescaler, divide by 16
  • 133 Prescaler, divide by 32
  • 134 Prescaler, divide by 64
  • 135 Prescaler, divide by 128
  • 136 Prescaler, divide by 256
  • 137 Prescaler, divide by 512
  • 138 Prescaler, divide by 1024
  • 139 Prescaler, divide by 2048
  • 140 Prescaler, divide by 4096
  • 141 Prescaler, divide by 8192
  • 142 Prescaler, divide by 16384
  • 143 Prescaler, divide by 32768
  • 176 XCL BTC0 underflow
  • 177 XCL BTC1 underflow
  • 178 XCL BTC0 capture or compare
  • 179 XCL BTC1 capture or compare
  • 180 XCL PEC0 restart
  • 181 XCL PEC1 restart
  • 182 XCL LUT0 output
  • 183 XCL LUT1 output
  • 192 Timer/Counter C4 Overflow
  • 193 Timer/Counter C4 Error
  • 196 Timer/Counter C4 Compare or Capture A
  • 197 Timer/Counter C4 Compare or Capture B
  • 198 Timer/Counter C4 Compare or Capture C
  • 199 Timer/Counter C4 Compare or Capture D
  • 200 Timer/Counter C5 Overflow
  • 201 Timer/Counter C5 Error
  • 204 Timer/Counter C5 Compare or Capture A
  • 205 Timer/Counter C5 Compare or Capture B
  • 216 Timer/Counter D5 Overflow
  • 217 Timer/Counter D5 Error
  • 220 Timer/Counter D5 Compare or Capture A
  • 221 Timer/Counter D5 Compare or Capture B

CH0CTRLChannel 0 Control Register

Address
0x188
Reset
0x00
Access
read/write
  1. 7ROTARY
  2. 6QDIRM1
  3. 5QDIRM0
  4. 4QDIEN
  5. 3QDEN
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
5 fields
FieldBitsWhat it does
ROTARY7Rotary Decoder Enable
QDIRM6:5Quadrature Decoder Index Recognition Mode
  • 0 QDPH0 = 0, QDPH90 = 0
  • 1 QDPH0 = 0, QDPH90 = 1
  • 2 QDPH0 = 1, QDPH90 = 0
  • 3 QDPH0 = 1, QDPH90 = 1
QDIEN4Quadrature Decoder Index Enable
QDEN3Quadrature Decoder Enable
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH1CTRLChannel 1 Control Register

Address
0x189
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH2CTRLChannel 2 Control Register

Address
0x18A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH3CTRLChannel 3 Control Register

Address
0x18B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH4CTRLChannel 4 Control Register

Address
0x18C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH5CTRLChannel 5 Control Register

Address
0x18D
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH6CTRLChannel 6 Control Register

Address
0x18E
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

CH7CTRLChannel 7 Control Register

Address
0x18F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DIGFILT2
  7. 1DIGFILT1
  8. 0DIGFILT0
1 field
FieldBitsWhat it does
DIGFILT2:0Digital Filter
  • 0 1 SAMPLE
  • 1 2 SAMPLES
  • 2 3 SAMPLES
  • 3 4 SAMPLES
  • 4 5 SAMPLES
  • 5 6 SAMPLES
  • 6 7 SAMPLES
  • 7 8 SAMPLES

STROBEEvent Strobe

Address
0x190
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DATAEvent Data

Address
0x191
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DFCTRLDigital Filter Control Register

Address
0x192
Reset
0x00
Access
read/write
  1. 7PRESCFILT3
  2. 6PRESCFILT2
  3. 5PRESCFILT1
  4. 4PRESCFILT0
  5. 3FILTSEL
  6. 2PRESC2
  7. 1PRESC1
  8. 0PRESC0
3 fields
FieldBitsWhat it does
PRESCFILT7:4Prescaler Filter
  • 1 Enable prescaler filter for either channel 0 or 4
  • 2 Enable prescaler filter for either channel 1 or 5
  • 4 Enable prescaler filter for either channel 2 or 6
  • 8 Enable prescaler filter for either channel 3 or 7
FILTSEL3Prescaler Filter Select
PRESC2:0Prescaler
  • 0 CLKPER, divide by 8
  • 1 CLKPER, divide by 64
  • 2 CLKPER, divide by 512
  • 3 CLKPER, divide by 4096
  • 4 CLKPER, divide by 32768

NVM Non Volatile Memory Controller

ADDR0Address Register 0

Address
0x1C0
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

ADDR1Address Register 1

Address
0x1C1
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

ADDR2Address Register 2

Address
0x1C2
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DATA0Data Register 0

Address
0x1C4
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DATA1Data Register 1

Address
0x1C5
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DATA2Data Register 2

Address
0x1C6
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CMDCommand

Address
0x1CA
Reset
0x00
Access
read/write
  1. 7–
  2. 6CMD6
  3. 5CMD5
  4. 4CMD4
  5. 3CMD3
  6. 2CMD2
  7. 1CMD1
  8. 0CMD0
1 field
FieldBitsWhat it does
CMD6:0Command
  • 0 Noop/Ordinary LPM
  • 1 Read user signature row
  • 2 Read calibration row
  • 7 Read fuse byte
  • 8 Write lock bits
  • 24 Erase user signature row
  • 26 Write user signature row
  • 32 Erase Application Section
  • 34 Erase Application Section page
  • 35 Load Flash page buffer
  • 36 Write Application Section page
  • 37 Erase-and-write Application Section page
  • 38 Erase/flush Flash page buffer
  • 42 Erase Boot Section page
  • 43 Erase Flash Page
  • 44 Write Boot Section page
  • 45 Erase-and-write Boot Section page
  • 46 Write Flash Page
  • 47 Erase-and-write Flash Page
  • 48 Erase EEPROM
  • 50 Erase EEPROM page
  • 52 Write EEPROM page
  • 53 Erase-and-write EEPROM page
  • 54 Erase/flush EEPROM page buffer
  • 56 Application section CRC
  • 57 Boot Section CRC
  • 58 Flash Range CRC
  • 64 Erase Chip
  • 67 Read NVM
  • 76 Write Fuse byte
  • 104 Erase Boot Section
  • 120 Flash CRC

CTRLAControl Register A

Address
0x1CB
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0CMDEX
1 field
FieldBitsWhat it does
CMDEX0Command Execute

CTRLBControl Register B

Address
0x1CC
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1EPRM
  8. 0SPMLOCK
2 fields
FieldBitsWhat it does
EPRM1EEPROM Power Reduction Enable
SPMLOCK0SPM Lock

INTCTRLInterrupt Control

Address
0x1CD
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3SPMLVL1
  6. 2SPMLVL0
  7. 1EELVL1
  8. 0EELVL0
2 fields
FieldBitsWhat it does
SPMLVL3:2SPM Interrupt Level
  • 0 Interrupt disabled
  • 1 Low level
  • 2 Medium level
  • 3 High level
EELVL1:0EEPROM Interrupt Level
  • 0 Interrupt disabled
  • 1 Low level
  • 2 Medium level
  • 3 High level

STATUSStatus

Address
0x1CF
Reset
0x00
Access
read/write
  1. 7NVMBUSY
  2. 6FBUSY
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1EELOAD
  8. 0FLOAD
4 fields
FieldBitsWhat it does
NVMBUSY7Non-volatile Memory Busy
FBUSY6Flash Memory Busy
EELOAD1EEPROM Page Buffer Active Loading
FLOAD0Flash Page Buffer Active Loading

LOCKBITSLock Bits

Address
0x1D0
Reset
0x00
Access
read/write
  1. 7BLBB1
  2. 6BLBB0
  3. 5BLBA1
  4. 4BLBA0
  5. 3BLBAT1
  6. 2BLBAT0
  7. 1LB1
  8. 0LB0
4 fields
FieldBitsWhat it does
BLBB7:6Boot Lock Bits - Boot Section
  • 0 Read and write not allowed
  • 1 Read not allowed
  • 2 Write not allowed
  • 3 No locks
BLBA5:4Boot Lock Bits - Application Section
  • 0 Read and write not allowed
  • 1 Read not allowed
  • 2 Write not allowed
  • 3 No locks
BLBAT3:2Boot Lock Bits - Application Table
  • 0 Read and write not allowed
  • 1 Read not allowed
  • 2 Write not allowed
  • 3 No locks
LB1:0Lock Bits
  • 0 Read and write not allowed
  • 2 Write not allowed
  • 3 No locks

ADCA Analog/Digital Converter

CTRLAControl Register A

Address
0x200
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2START
  7. 1FLUSH
  8. 0ENABLE
3 fields
FieldBitsWhat it does
START2Start Conversion
FLUSH1ADC Flush
ENABLE0Enable ADC

CTRLBControl Register B

Address
0x201
Reset
0x00
Access
read/write
  1. 7–
  2. 6CURRLIMIT1
  3. 5CURRLIMIT0
  4. 4CONMODE
  5. 3FREERUN
  6. 2RESOLUTION1
  7. 1RESOLUTION0
  8. 0–
4 fields
FieldBitsWhat it does
CURRLIMIT6:5Current Limitation
  • 0 No current limit, 300ksps max sampling rate
  • 1 Low current limit, 250ksps max sampling rate
  • 2 Medium current limit, 150ksps max sampling rate
  • 3 High current limit, 50ksps max sampling rate
CONMODE4Conversion Mode
FREERUN3Free Running Mode Enable
RESOLUTION2:1Result Resolution
  • 0 12-bit right-adjusted result
  • 1 More than 12-bit (oversapling) right-adjusted result
  • 2 8-bit right-adjusted result
  • 3 12-bit left-adjusted result

REFCTRLReference Control

Address
0x202
Reset
0x00
Access
read/write
  1. 7–
  2. 6REFSEL2
  3. 5REFSEL1
  4. 4REFSEL0
  5. 3–
  6. 2–
  7. 1BANDGAP
  8. 0TEMPREF
3 fields
FieldBitsWhat it does
REFSEL6:4Reference Selection
  • 0 Internal 1V
  • 1 Internal VCC / 1.6
  • 2 External reference on PORT A
  • 3 External reference on PORT D
  • 4 Internal VCC / 2
BANDGAP1Bandgap enable
TEMPREF0Temperature Reference Enable

EVCTRLEvent Control

Address
0x203
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5EVSEL2
  4. 4EVSEL1
  5. 3EVSEL0
  6. 2EVACT2
  7. 1EVACT1
  8. 0EVACT0
2 fields
FieldBitsWhat it does
EVSEL5:3Event Input Select
  • 0 Event Channel 0
  • 1 Event Channel 1
  • 2 Event Channel 2
  • 3 Event Channel 3
  • 4 Event Channel 4
  • 5 Event Channel 5
  • 6 Event Channel 6
  • 7 Event Channel 7
EVACT2:0Event Action Select
  • 0 No event action
  • 1 First event triggers channel conversion
  • 6 The ADC is flushed and restarted for accurate timing

PRESCALERClock Prescaler

Address
0x204
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2PRESCALER2
  7. 1PRESCALER1
  8. 0PRESCALER0
1 field
FieldBitsWhat it does
PRESCALER2:0Clock Prescaler Selection
  • 0 Divide clock by 4
  • 1 Divide clock by 8
  • 2 Divide clock by 16
  • 3 Divide clock by 32
  • 4 Divide clock by 64
  • 5 Divide clock by 128
  • 6 Divide clock by 256
  • 7 Divide clock by 512

INTFLAGSInterrupt Flags

Address
0x206
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0CH0IF
1 field
FieldBitsWhat it does
CH0IF0Channel 0 Interrupt Flag

TEMPTemporary Register

Address
0x207
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SAMPCTRLADC Sampling Time Control Register

Address
0x208
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5SAMPVAL5
  4. 4SAMPVAL4
  5. 3SAMPVAL3
  6. 2SAMPVAL2
  7. 1SAMPVAL1
  8. 0SAMPVAL0
1 field
FieldBitsWhat it does
SAMPVAL5:0Sampling time control register

CALCalibration Value

Address
0x20C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CH0RESChannel 0 Result

Address
0x210
Reset
0x0000
Access
read/write
Size
16-bit

CMPCompare Value

Address
0x218
Reset
0x0000
Access
read/write
Size
16-bit

DACA Digital/Analog Converter

CTRLAControl Register A

Address
0x300
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4IDOEN
  5. 3CH1EN
  6. 2CH0EN
  7. 1LPMODE
  8. 0ENABLE
5 fields
FieldBitsWhat it does
IDOEN4Internal Output Enable
CH1EN3Channel 1 Output Enable
CH0EN2Channel 0 Output Enable
LPMODE1Low Power Mode
ENABLE0Enable

CTRLBControl Register B

Address
0x301
Reset
0x00
Access
read/write
  1. 7–
  2. 6CHSEL1
  3. 5CHSEL0
  4. 4–
  5. 3–
  6. 2–
  7. 1CH1TRIG
  8. 0CH0TRIG
3 fields
FieldBitsWhat it does
CHSEL6:5Channel Select
  • 0 Single channel operation (Channel 0 only)
  • 1 Single channel operation (Channel 1 only)
  • 2 Dual channel operation (Channel 0 and channel 1)
CH1TRIG1Channel 1 Event Trig Enable
CH0TRIG0Channel 0 Event Trig Enable

CTRLCControl Register C

Address
0x302
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4REFSEL1
  5. 3REFSEL0
  6. 2–
  7. 1–
  8. 0LEFTADJ
2 fields
FieldBitsWhat it does
REFSEL4:3Reference Select
  • 0 Internal 1V
  • 1 Analog supply voltage
  • 2 External reference on AREF on PORTA
  • 3 Define for PortB kept for legacy reasons
  • 3 External reference on AREF on PORTD
LEFTADJ0Left-adjust Result

EVCTRLEvent Input Control

Address
0x303
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3EVSPLIT
  6. 2EVSEL2
  7. 1EVSEL1
  8. 0EVSEL0
2 fields
FieldBitsWhat it does
EVSPLIT3Separate Event Channel Input for Channel 1
EVSEL2:0Event Input Selection
  • 0 Event Channel 0
  • 1 Event Channel 1
  • 2 Event Channel 2
  • 3 Event Channel 3
  • 4 Event Channel 4
  • 5 Event Channel 5
  • 6 Event Channel 6
  • 7 Event Channel 7

STATUSStatus

Address
0x305
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1CH1DRE
  8. 0CH0DRE
2 fields
FieldBitsWhat it does
CH1DRE1Channel 1 Data Register Empty
CH0DRE0Channel 0 Data Register Empty

CH0GAINCALGain Calibration

Address
0x308
Reset
0x00
Access
read/write
  1. 7–
  2. 6CH0GAINCAL6
  3. 5CH0GAINCAL5
  4. 4CH0GAINCAL4
  5. 3CH0GAINCAL3
  6. 2CH0GAINCAL2
  7. 1CH0GAINCAL1
  8. 0CH0GAINCAL0
1 field
FieldBitsWhat it does
CH0GAINCAL6:0Gain Calibration

CH0OFFSETCALOffset Calibration

Address
0x309
Reset
0x00
Access
read/write
  1. 7–
  2. 6CH0OFFSETCAL6
  3. 5CH0OFFSETCAL5
  4. 4CH0OFFSETCAL4
  5. 3CH0OFFSETCAL3
  6. 2CH0OFFSETCAL2
  7. 1CH0OFFSETCAL1
  8. 0CH0OFFSETCAL0
1 field
FieldBitsWhat it does
CH0OFFSETCAL6:0Offset Calibration

CH1GAINCALGain Calibration

Address
0x30A
Reset
0x00
Access
read/write
  1. 7–
  2. 6CH1GAINCAL6
  3. 5CH1GAINCAL5
  4. 4CH1GAINCAL4
  5. 3CH1GAINCAL3
  6. 2CH1GAINCAL2
  7. 1CH1GAINCAL1
  8. 0CH1GAINCAL0
1 field
FieldBitsWhat it does
CH1GAINCAL6:0Gain Calibration

CH1OFFSETCALOffset Calibration

Address
0x30B
Reset
0x00
Access
read/write
  1. 7–
  2. 6CH1OFFSETCAL6
  3. 5CH1OFFSETCAL5
  4. 4CH1OFFSETCAL4
  5. 3CH1OFFSETCAL3
  6. 2CH1OFFSETCAL2
  7. 1CH1OFFSETCAL1
  8. 0CH1OFFSETCAL0
1 field
FieldBitsWhat it does
CH1OFFSETCAL6:0Offset Calibration

CH0DATAChannel 0 Data

Address
0x318
Reset
0x0000
Access
read/write
Size
16-bit

CH1DATAChannel 1 Data

Address
0x31A
Reset
0x0000
Access
read/write
Size
16-bit

ACA Analog Comparator

AC0CTRLAnalog Comparator 0 Control

Address
0x380
Reset
0x00
Access
read/write
  1. 7INTMODE1
  2. 6INTMODE0
  3. 5INTLVL1
  4. 4INTLVL0
  5. 3–
  6. 2HYSMODE1
  7. 1HYSMODE0
  8. 0ENABLE
4 fields
FieldBitsWhat it does
INTMODE7:6Interrupt Mode
  • 0 Interrupt on both edges
  • 2 Interrupt on falling edge
  • 3 Interrupt on rising edge
INTLVL5:4Interrupt Level
  • 0 Interrupt disabled
  • 1 Low level
  • 2 Medium level
  • 3 High level
HYSMODE2:1Hysteresis Mode
  • 0 No hysteresis
  • 1 Small hysteresis
  • 2 Large hysteresis
ENABLE0Enable

AC1CTRLAnalog Comparator 1 Control

Address
0x381
Reset
0x00
Access
read/write
  1. 7INTMODE1
  2. 6INTMODE0
  3. 5INTLVL1
  4. 4INTLVL0
  5. 3–
  6. 2HYSMODE1
  7. 1HYSMODE0
  8. 0ENABLE
4 fields
FieldBitsWhat it does
INTMODE7:6Interrupt Mode
  • 0 Interrupt on both edges
  • 2 Interrupt on falling edge
  • 3 Interrupt on rising edge
INTLVL5:4Interrupt Level
  • 0 Interrupt disabled
  • 1 Low level
  • 2 Medium level
  • 3 High level
HYSMODE2:1Hysteresis Mode
  • 0 No hysteresis
  • 1 Small hysteresis
  • 2 Large hysteresis
ENABLE0Enable

AC0MUXCTRLAnalog Comparator 0 MUX Control

Address
0x382
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5MUXPOS2
  4. 4MUXPOS1
  5. 3MUXPOS0
  6. 2MUXNEG2
  7. 1MUXNEG1
  8. 0MUXNEG0
2 fields
FieldBitsWhat it does
MUXPOS5:3MUX Positive Input
  • 0 Pin 0
  • 1 Pin 1
  • 2 Pin 2
  • 3 Pin 3
  • 4 Pin 4
  • 5 Pin 5
  • 6 Pin 6
  • 7 DAC output
MUXNEG2:0MUX Negative Input
  • 0 Pin 0
  • 1 Pin 1
  • 2 Pin 3
  • 3 Pin 5
  • 4 Pin 7
  • 5 DAC output
  • 6 Bandgap Reference
  • 7 Internal voltage scaler

AC1MUXCTRLAnalog Comparator 1 MUX Control

Address
0x383
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5MUXPOS2
  4. 4MUXPOS1
  5. 3MUXPOS0
  6. 2MUXNEG2
  7. 1MUXNEG1
  8. 0MUXNEG0
2 fields
FieldBitsWhat it does
MUXPOS5:3MUX Positive Input
  • 0 Pin 0
  • 1 Pin 1
  • 2 Pin 2
  • 3 Pin 3
  • 4 Pin 4
  • 5 Pin 5
  • 6 Pin 6
  • 7 DAC output
MUXNEG2:0MUX Negative Input
  • 0 Pin 0
  • 1 Pin 1
  • 2 Pin 3
  • 3 Pin 5
  • 4 Pin 7
  • 5 DAC output
  • 6 Bandgap Reference
  • 7 Internal voltage scaler

CTRLAControl Register A

Address
0x384
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3AC1INVEN
  6. 2AC0INVEN
  7. 1AC1OUT
  8. 0AC0OUT
4 fields
FieldBitsWhat it does
AC1INVEN3Analog Comparator 1 Output Invert Enable
AC0INVEN2Analog Comparator 0 Output Invert Enable
AC1OUT1Analog Comparator 1 Output Enable
AC0OUT0Analog Comparator 0 Output Enable

CTRLBControl Register B

Address
0x385
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5SCALEFAC5
  4. 4SCALEFAC4
  5. 3SCALEFAC3
  6. 2SCALEFAC2
  7. 1SCALEFAC1
  8. 0SCALEFAC0
1 field
FieldBitsWhat it does
SCALEFAC5:0VCC Voltage Scaler Factor

WINCTRLWindow Mode Control

Address
0x386
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4WEN
  5. 3WINTMODE1
  6. 2WINTMODE0
  7. 1WINTLVL1
  8. 0WINTLVL0
3 fields
FieldBitsWhat it does
WEN4Window Mode Enable
WINTMODE3:2Window Interrupt Mode
  • 0 Interrupt on above window
  • 1 Interrupt on inside window
  • 2 Interrupt on below window
  • 3 Interrupt on outside window
WINTLVL1:0Window Interrupt Level
  • 0 Interrupt disabled
  • 1 Low priority
  • 2 Medium priority
  • 3 High priority

STATUSStatus

Address
0x387
Reset
0x00
Access
read/write
  1. 7WSTATE1
  2. 6WSTATE0
  3. 5AC1STATE
  4. 4AC0STATE
  5. 3–
  6. 2WIF
  7. 1AC1IF
  8. 0AC0IF
6 fields
FieldBitsWhat it does
WSTATE7:6Window Mode State
  • 0 Signal above window
  • 1 Signal inside window
  • 2 Signal below window
AC1STATE5Analog Comparator 1 State
AC0STATE4Analog Comparator 0 State
WIF2Window Mode Interrupt Flag
AC1IF1Analog Comparator 1 Interrupt Flag
AC0IF0Analog Comparator 0 Interrupt Flag

CURRCTRLCurrent Source Control Register

Address
0x388
Reset
0x00
Access
read/write
  1. 7CURRENT
  2. 6CURRMODE
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1AC1CURR
  8. 0AC0CURR
4 fields
FieldBitsWhat it does
CURRENT7Current Source Enable
CURRMODE6Current Mode
AC1CURR1Analog Comparator 1 current source output
AC0CURR0Analog Comparator 0 current source output

CURRCALIBCurrent Source Calibration Register

Address
0x389
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CALIB3
  6. 2CALIB2
  7. 1CALIB1
  8. 0CALIB0
1 field
FieldBitsWhat it does
CALIB3:0Current Source Calibration

RTC Real-Time Clounter

CTRLControl Register

Address
0x400
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CORREN
  6. 2PRESCALER2
  7. 1PRESCALER1
  8. 0PRESCALER0
2 fields
FieldBitsWhat it does
CORREN3Correction Enable
PRESCALER2:0Prescaling Factor
  • 0 RTC Off
  • 1 RTC Clock
  • 2 RTC Clock / 2
  • 3 RTC Clock / 8
  • 4 RTC Clock / 16
  • 5 RTC Clock / 64
  • 6 RTC Clock / 256
  • 7 RTC Clock / 1024

STATUSStatus Register

Address
0x401
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0SYNCBUSY
1 field
FieldBitsWhat it does
SYNCBUSY0Synchronization Busy Flag

INTCTRLInterrupt Control Register

Address
0x402
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3COMPINTLVL1
  6. 2COMPINTLVL0
  7. 1OVFINTLVL1
  8. 0OVFINTLVL0
2 fields
FieldBitsWhat it does
COMPINTLVL3:2Compare Match Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
OVFINTLVL1:0Overflow Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTFLAGSInterrupt Flags

Address
0x403
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1COMPIF
  8. 0OVFIF
2 fields
FieldBitsWhat it does
COMPIF1Compare Match Interrupt Flag
OVFIF0Overflow Interrupt Flag

TEMPTemporary register

Address
0x404
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CALIBCalibration Register

Address
0x406
Reset
0x00
Access
read/write
  1. 7SIGN
  2. 6ERROR6
  3. 5ERROR5
  4. 4ERROR4
  5. 3ERROR3
  6. 2ERROR2
  7. 1ERROR1
  8. 0ERROR0
2 fields
FieldBitsWhat it does
SIGN7Correction Sign
ERROR6:0Error Value

CNTCount Register

Address
0x408
Reset
0x0000
Access
read/write
Size
16-bit

PERPeriod Register

Address
0x40A
Reset
0x0000
Access
read/write
Size
16-bit

COMPCompare Register

Address
0x40C
Reset
0x0000
Access
read/write
Size
16-bit

XCL XMEGA Custom Logic

CTRLAControl Register A

Address
0x460
Reset
0x00
Access
read/write
  1. 7LUT0OUTEN1
  2. 6LUT0OUTEN0
  3. 5PORTSEL1
  4. 4PORTSEL0
  5. 3–
  6. 2LUTCONF2
  7. 1LUTCONF1
  8. 0LUTCONF0
3 fields
FieldBitsWhat it does
LUT0OUTEN7:6LUT0 Output Enable
  • 0 LUT0 output disabled
  • 1 LUT0 Output to pin 0
  • 2 LUT0 Output to pin 4
PORTSEL5:4Port Selection
  • 0 Port C for LUT or USARTC0 for PEC
  • 1 Port D for LUT or USARTD0 for PEC
LUTCONF2:0LUT Configuration
  • 0 2-Input two LUT
  • 1 Two LUT with duplicated input
  • 2 Two LUT with one common input
  • 3 3-Input LUT
  • 4 One LUT Mux
  • 5 One D-Latch LUT
  • 6 One RS-Latch LUT
  • 7 One DFF LUT

CTRLBControl Register B

Address
0x461
Reset
0x00
Access
read/write
  1. 7IN3SEL1
  2. 6IN3SEL0
  3. 5IN2SEL1
  4. 4IN2SEL0
  5. 3IN1SEL1
  6. 2IN1SEL0
  7. 1IN0SEL1
  8. 0IN0SEL0
4 fields
FieldBitsWhat it does
IN3SEL7:6Input Selection 3
  • 0 Event system selected as source
  • 1 XCL selected as source
  • 2 LSB port pin selected as source
  • 3 MSB port pin selected as source
IN2SEL5:4Input Selection 2
  • 0 Event system selected as source
  • 1 XCL selected as source
  • 2 LSB port pin selected as source
  • 3 MSB port pin selected as source
IN1SEL3:2Input Selection 1
  • 0 Event system selected as source
  • 1 XCL selected as source
  • 2 LSB port pin selected as source
  • 3 MSB port pin selected as source
IN0SEL1:0Input Selection 0
  • 0 Event system selected as source
  • 1 XCL selected as source
  • 2 LSB port pin selected as source
  • 3 MSB port pin selected as source

CTRLCControl Register C

Address
0x462
Reset
0x00
Access
read/write
  1. 7EVASYSEL1
  2. 6EVASYSEL0
  3. 5DLYSEL1
  4. 4DLYSEL0
  5. 3DLY1CONF1
  6. 2DLY1CONF0
  7. 1DLY0CONF1
  8. 0DLY0CONF0
5 fields
FieldBitsWhat it does
EVASYSEL17Asynchronous Event Line Selection for LUT1
EVASYSEL06Asynchronous Event Line Selection for LUT0
DLYSEL5:4Delay Selection
  • 0 One cycle delay for each LUT1 and LUT0
  • 1 One cycle delay for LUT1 and two cycles for LUT0
  • 2 Two cycles delay for LUT1 and one cycle for LUT0
  • 3 Two cycle delays for each LUT1 and LUT0
DLY1CONF3:2Delay Configuration on LUT1
  • 0 Delay element disabled
  • 1 Delay enabled on LUT input
  • 2 Delay enabled on LUT output
DLY0CONF1:0Delay Configuration on LUT0
  • 0 Delay element disabled
  • 1 Delay enabled on LUT input
  • 2 Delay enabled on LUT output

CTRLDControl Register D

Address
0x463
Reset
0x00
Access
read/write
  1. 7TRUTH13
  2. 6TRUTH12
  3. 5TRUTH11
  4. 4TRUTH10
  5. 3TRUTH03
  6. 2TRUTH02
  7. 1TRUTH01
  8. 0TRUTH00
2 fields
FieldBitsWhat it does
TRUTH17:4Truth Table of LUT1
TRUTH03:0Truth Table of LUT0

CTRLEControl Register E

Address
0x464
Reset
0x00
Access
read/write
  1. 7CMDSEL
  2. 6TCSEL2
  3. 5TCSEL1
  4. 4TCSEL0
  5. 3CLKSEL3
  6. 2CLKSEL2
  7. 1CLKSEL1
  8. 0CLKSEL0
3 fields
FieldBitsWhat it does
CMDSEL7Timer/Counter Command Selection
  • 0 None
  • 1 Force restart
TCSEL6:4Timer/Counter Selection
  • 0 16-bit timer/counter
  • 1 One 8-bit timer/counter
  • 2 Two 8-bit timer/counters
  • 3 One 8-bit timer/counter and one 8-bit peripheral transmitter counter
  • 4 One 8-bit timer/counter and one 8-bit peripheral receiver counter
  • 5 Two 8-bit peripheral counters
  • 6 One 8-bit timer/counter and two 4-bit peripheral counters
CLKSEL3:0Clock Selection
  • 0 OFF
  • 1 Prescaler clk
  • 2 Prescaler clk/2
  • 3 Prescaler clk/4
  • 4 Prescaler clk/8
  • 5 Prescaler clk/64
  • 6 Prescaler clk/256
  • 7 Prescaler clk/1024
  • 8 Event channel 0
  • 9 Event channel 1
  • 10 Event channel 2
  • 11 Event channel 3
  • 12 Event channel 4
  • 13 Event channel 5
  • 14 Event channel 6
  • 15 Event channel 7

CTRLFControl Register F

Address
0x465
Reset
0x00
Access
read/write
  1. 7CMDEN1
  2. 6CMDEN0
  3. 5CMP1
  4. 4CMP0
  5. 3CCEN1
  6. 2CCEN0
  7. 1MODE1
  8. 0MODE0
6 fields
FieldBitsWhat it does
CMDEN7:6Command Enable
  • 0 Command Ignored
  • 1 Command valid for timer/counter 0
  • 2 Command valid for timer/counter 1
  • 3 Command valid for both timer/counter 0 and 1
CMP15Compare Channel 1 Output Value
  • 0 Clear WG Output
  • 1 Set WG Output
CMP04Compare Channel 0 Output Value
  • 0 Clear WG Output
  • 1 Set WG Output
CCEN13Compare or Capture Channel 1 Enable
CCEN02Compare or Capture Channel 0 Enable
MODE1:0Timer/Counter Mode
  • 0 Normal mode with compare/period
  • 1 Capture mode
  • 2 Single Slope PWM
  • 3 One-shot PWM

CTRLGControl Register G

Address
0x466
Reset
0x00
Access
read/write
  1. 7EVACTEN
  2. 6EVACT11
  3. 5EVACT10
  4. 4EVACT01
  5. 3EVACT00
  6. 2EVSRC2
  7. 1EVSRC1
  8. 0EVSRC0
4 fields
FieldBitsWhat it does
EVACTEN7Event Action Enable
EVACT16:5Event Action Selection on Timer/Counter 1
  • 0 Input Capture
  • 1 Frequency Capture
  • 2 Pulse Width Capture
  • 3 Restart timer/counter
EVACT04:3Event Action Selection on Timer/Counter 0
  • 0 Input Capture
  • 1 Frequency Capture
  • 2 Pulse Width Capture
  • 3 Restart timer/counter
EVSRC2:0Event Source Selection
  • 0 Event channel 0
  • 1 Event channel 1
  • 2 Event channel 2
  • 3 Event channel 3
  • 4 Event channel 4
  • 5 Event channel 5
  • 6 Event channel 6
  • 7 Event channel 7

INTCTRLInterrupt Control Register

Address
0x467
Reset
0x00
Access
read/write
  1. 7PEC1IE
  2. 6PEC0IE
  3. 5CC1IE
  4. 4CC0IE
  5. 3UNFINTLVL1
  6. 2UNFINTLVL0
  7. 1CCINTLVL1
  8. 0CCINTLVL0
10 fields
FieldBitsWhat it does
PEC1IE7Peripheral Counter 1 Interrupt Enable
PEC21IE7Peripheral High Counter 2 Interrupt Enable
UNF1IE7Underflow 1 Interrupt Enable
PEC0IE6Peripheral Counter 0 Interrupt Enable
UNF0IE6Underflow 0 Interrupt Enable
CC1IE5Compare Or Capture 1 Interrupt Enable
PEC20IE5Peripheral Low Counter 2 Interrupt Enable
CC0IE4Compare Or Capture 0 Interrupt Enable
UNFINTLVL3:2Timer Underflow Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCINTLVL1:0Timer Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTFLAGSInterrupt Flag Register

Address
0x468
Reset
0x00
Access
read/write
  1. 7PEC1IF
  2. 6PEC0IF
  3. 5CC1IF
  4. 4CC0IF
  5. 3–
  6. 2–
  7. 1–
  8. 0–
8 fields
FieldBitsWhat it does
PEC1IF7Peripheral Counter 1 Interrupt Flag
PEC21IF7Peripheral High Counter 2 Interrupt Flag
UNF1IF7Timer/Counter 1 Underflow Interrupt Flag
PEC0IF6Peripheral Counter 0 Interrupt Flag
UNF0IF6Timer/Counter 0 Underflow Interrupt Flag
CC1IF5Compare or Capture Channel 1 Interrupt Flag
PEC20IF5Peripheral Low Counter 2 Interrupt Flag
CC0IF4Compare or Capture Channel 0 Interrupt Flag

PLCPeripheral Length Control Register

Address
0x469
Reset
0x00
Access
read/write
  1. 7PLC7
  2. 6PLC6
  3. 5PLC5
  4. 4PLC4
  5. 3PLC3
  6. 2PLC2
  7. 1PLC1
  8. 0PLC0
1 field
FieldBitsWhat it does
PLC7:0Peripheral Length Control Bits

CNTLCounter Register Low

Address
0x46A
Reset
0x00
Access
read/write
  1. 7BCNTO7
  2. 6BCNTO6
  3. 5BCNTO5
  4. 4BCNTO4
  5. 3BCNTO3
  6. 2BCNTO2
  7. 1BCNTO1
  8. 0BCNTO0
3 fields
FieldBitsWhat it does
BCNTO7:0BTC0 Counter Byte
CNTL7:0TC16 Counter Low Byte
PCNTO7:0Peripheral Counter 0 Byte

CNTHCounter Register High

Address
0x46B
Reset
0x00
Access
read/write
  1. 7BCNT17
  2. 6BCNT16
  3. 5BCNT15
  4. 4BCNT14
  5. 3BCNT13
  6. 2BCNT12
  7. 1BCNT11
  8. 0BCNT10
5 fields
FieldBitsWhat it does
BCNT17:0BTC1 Counter Byte
CNTH7:0TC16 Counter High Byte
PCNT17:0Peripheral Counter 1 Byte
PCNT217:4Peripheral High Counter 2 Bits
PCNT203:0Peripheral Low Counter 2 Bits

CMPLCompare Register Low

Address
0x46C
Reset
0x00
Access
read/write
  1. 7BCMP07
  2. 6BCMP06
  3. 5BCMP05
  4. 4BCMP04
  5. 3BCMP03
  6. 2BCMP02
  7. 1BCMP01
  8. 0BCMP00
2 fields
FieldBitsWhat it does
BCMP07:0BTC0 Compare Byte
CMPL7:0TC16 Compare Low Byte

CMPHCompare Register High

Address
0x46D
Reset
0x00
Access
read/write
  1. 7BCMP17
  2. 6BCMP16
  3. 5BCMP15
  4. 4BCMP14
  5. 3BCMP13
  6. 2BCMP12
  7. 1BCMP11
  8. 0BCMP10
2 fields
FieldBitsWhat it does
BCMP17:0BTC1 Compare Byte
CMPH7:0TC16 Compare High Byte

PERCAPTLPeriod or Capture Register Low

Address
0x46E
Reset
0x00
Access
read/write
  1. 7BCAPT07
  2. 6BCAPT06
  3. 5BCAPT05
  4. 4BCAPT04
  5. 3BCAPT03
  6. 2BCAPT02
  7. 1BCAPT01
  8. 0BCAPT00
4 fields
FieldBitsWhat it does
BCAPT07:0BTC0 Capture Value Byte
BPER07:0BTC0 Period
CAPTL7:0TC16 Capture Value Low Byte
PERL7:0TC16 Low Byte Period

PERCAPTHPeriod or Capture Register High

Address
0x46F
Reset
0x00
Access
read/write
  1. 7BCAPT17
  2. 6BCAPT16
  3. 5BCAPT15
  4. 4BCAPT14
  5. 3BCAPT13
  6. 2BCAPT12
  7. 1BCAPT11
  8. 0BCAPT10
4 fields
FieldBitsWhat it does
BCAPT17:0BTC1 Capture Value Byte
BPER17:0BTC1 Period
CAPTH7:0TC16 Capture Value High Byte
PERH7:0TC16 High Byte Period

TWIC Two-Wire Interface

CTRLTWI Common Control Register

Address
0x480
Reset
0x00
Access
read/write
  1. 7BRIDGEEN
  2. 6SFMPEN
  3. 5SSDAHOLD1
  4. 4SSDAHOLD0
  5. 3FMPEN
  6. 2SDAHOLD1
  7. 1SDAHOLD0
  8. 0EDIEN
6 fields
FieldBitsWhat it does
BRIDGEEN7Bridge Enable
SFMPEN6Slave Fast Mode Plus Enable
SSDAHOLD5:4Slave SDA Hold Time Enable
  • 0 SDA Hold Time off
  • 1 SDA Hold Time 50 ns
  • 2 SDA Hold Time 300 ns
  • 3 SDA Hold Time 400 ns
FMPEN3FMPLUS Enable
SDAHOLD2:1SDA Hold Time Enable
  • 0 SDA Hold Time off
  • 1 SDA Hold Time 50 ns
  • 2 SDA Hold Time 300 ns
  • 3 SDA Hold Time 400 ns
EDIEN0External Driver Interface Enable

PORTA Port Configuration

DIRI/O Port Data Direction

Address
0x600
Reset
0x00
Access
read/write
  1. 7DIR7
  2. 6DIR6
  3. 5DIR5
  4. 4DIR4
  5. 3DIR3
  6. 2DIR2
  7. 1DIR1
  8. 0DIR0

DIRSETI/O Port Data Direction Set

Address
0x601
Reset
0x00
Access
read/write
  1. 7DIRSET7
  2. 6DIRSET6
  3. 5DIRSET5
  4. 4DIRSET4
  5. 3DIRSET3
  6. 2DIRSET2
  7. 1DIRSET1
  8. 0DIRSET0

DIRCLRI/O Port Data Direction Clear

Address
0x602
Reset
0x00
Access
read/write
  1. 7DIRCLR7
  2. 6DIRCLR6
  3. 5DIRCLR5
  4. 4DIRCLR4
  5. 3DIRCLR3
  6. 2DIRCLR2
  7. 1DIRCLR1
  8. 0DIRCLR0

DIRTGLI/O Port Data Direction Toggle

Address
0x603
Reset
0x00
Access
read/write
  1. 7DIRTGL7
  2. 6DIRTGL6
  3. 5DIRTGL5
  4. 4DIRTGL4
  5. 3DIRTGL3
  6. 2DIRTGL2
  7. 1DIRTGL1
  8. 0DIRTGL0

OUTI/O Port Output

Address
0x604
Reset
0x00
Access
read/write
  1. 7OUT7
  2. 6OUT6
  3. 5OUT5
  4. 4OUT4
  5. 3OUT3
  6. 2OUT2
  7. 1OUT1
  8. 0OUT0

OUTSETI/O Port Output Set

Address
0x605
Reset
0x00
Access
read/write
  1. 7OUTSET7
  2. 6OUTSET6
  3. 5OUTSET5
  4. 4OUTSET4
  5. 3OUTSET3
  6. 2OUTSET2
  7. 1OUTSET1
  8. 0OUTSET0

OUTCLRI/O Port Output Clear

Address
0x606
Reset
0x00
Access
read/write
  1. 7OUTCLR7
  2. 6OUTCLR6
  3. 5OUTCLR5
  4. 4OUTCLR4
  5. 3OUTCLR3
  6. 2OUTCLR2
  7. 1OUTCLR1
  8. 0OUTCLR0

OUTTGLI/O Port Output Toggle

Address
0x607
Reset
0x00
Access
read/write
  1. 7OUTTGL7
  2. 6OUTTGL6
  3. 5OUTTGL5
  4. 4OUTTGL4
  5. 3OUTTGL3
  6. 2OUTTGL2
  7. 1OUTTGL1
  8. 0OUTTGL0

INI/O port Input

Address
0x608
Reset
0x00
Access
read/write
  1. 7IN7
  2. 6IN6
  3. 5IN5
  4. 4IN4
  5. 3IN3
  6. 2IN2
  7. 1IN1
  8. 0IN0

INTCTRLInterrupt Control Register

Address
0x609
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1INTLVL1
  8. 0INTLVL0
1 field
FieldBitsWhat it does
INTLVL1:0Port Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTMASKPort Interrupt Mask

Address
0x60A
Reset
0x00
Access
read/write
  1. 7INTMASK7
  2. 6INTMASK6
  3. 5INTMASK5
  4. 4INTMASK4
  5. 3INTMASK3
  6. 2INTMASK2
  7. 1INTMASK1
  8. 0INTMASK0

INTFLAGSInterrupt Flag Register

Address
0x60C
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Pin 7 Interrupt Flag
INT6IF6Pin 6 Interrupt Flag
INT5IF5Pin 5 Interrupt Flag
INT4IF4Pin 4 Interrupt Flag
INT3IF3Pin 3 Interrupt Flag
INT2IF2Pin 2 Interrupt Flag
INT1IF1Pin 1 Interrupt Flag
INT0IF0Pin 0 Interrupt Flag

REMAPPin Remap Register

Address
0x60E
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4USART0
  5. 3TC4D
  6. 2TC4C
  7. 1TC4B
  8. 0TC4A
5 fields
FieldBitsWhat it does
USART04Usart0
TC4D3Timer/Counter 4 Output Compare D
TC4C2Timer/Counter 4 Output Compare C
TC4B1Timer/Counter 4 Output Compare B
TC4A0Timer/Counter 4 Output Compare A

PIN0CTRLPin 0 Control Register

Address
0x610
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN1CTRLPin 1 Control Register

Address
0x611
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN2CTRLPin 2 Control Register

Address
0x612
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN3CTRLPin 3 Control Register

Address
0x613
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN4CTRLPin 4 Control Register

Address
0x614
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN5CTRLPin 5 Control Register

Address
0x615
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN6CTRLPin 6 Control Register

Address
0x616
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN7CTRLPin 7 Control Register

Address
0x617
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PORTC Port Configuration

DIRI/O Port Data Direction

Address
0x640
Reset
0x00
Access
read/write
  1. 7DIR7
  2. 6DIR6
  3. 5DIR5
  4. 4DIR4
  5. 3DIR3
  6. 2DIR2
  7. 1DIR1
  8. 0DIR0

DIRSETI/O Port Data Direction Set

Address
0x641
Reset
0x00
Access
read/write
  1. 7DIRSET7
  2. 6DIRSET6
  3. 5DIRSET5
  4. 4DIRSET4
  5. 3DIRSET3
  6. 2DIRSET2
  7. 1DIRSET1
  8. 0DIRSET0

DIRCLRI/O Port Data Direction Clear

Address
0x642
Reset
0x00
Access
read/write
  1. 7DIRCLR7
  2. 6DIRCLR6
  3. 5DIRCLR5
  4. 4DIRCLR4
  5. 3DIRCLR3
  6. 2DIRCLR2
  7. 1DIRCLR1
  8. 0DIRCLR0

DIRTGLI/O Port Data Direction Toggle

Address
0x643
Reset
0x00
Access
read/write
  1. 7DIRTGL7
  2. 6DIRTGL6
  3. 5DIRTGL5
  4. 4DIRTGL4
  5. 3DIRTGL3
  6. 2DIRTGL2
  7. 1DIRTGL1
  8. 0DIRTGL0

OUTI/O Port Output

Address
0x644
Reset
0x00
Access
read/write
  1. 7OUT7
  2. 6OUT6
  3. 5OUT5
  4. 4OUT4
  5. 3OUT3
  6. 2OUT2
  7. 1OUT1
  8. 0OUT0

OUTSETI/O Port Output Set

Address
0x645
Reset
0x00
Access
read/write
  1. 7OUTSET7
  2. 6OUTSET6
  3. 5OUTSET5
  4. 4OUTSET4
  5. 3OUTSET3
  6. 2OUTSET2
  7. 1OUTSET1
  8. 0OUTSET0

OUTCLRI/O Port Output Clear

Address
0x646
Reset
0x00
Access
read/write
  1. 7OUTCLR7
  2. 6OUTCLR6
  3. 5OUTCLR5
  4. 4OUTCLR4
  5. 3OUTCLR3
  6. 2OUTCLR2
  7. 1OUTCLR1
  8. 0OUTCLR0

OUTTGLI/O Port Output Toggle

Address
0x647
Reset
0x00
Access
read/write
  1. 7OUTTGL7
  2. 6OUTTGL6
  3. 5OUTTGL5
  4. 4OUTTGL4
  5. 3OUTTGL3
  6. 2OUTTGL2
  7. 1OUTTGL1
  8. 0OUTTGL0

INI/O port Input

Address
0x648
Reset
0x00
Access
read/write
  1. 7IN7
  2. 6IN6
  3. 5IN5
  4. 4IN4
  5. 3IN3
  6. 2IN2
  7. 1IN1
  8. 0IN0

INTCTRLInterrupt Control Register

Address
0x649
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1INTLVL1
  8. 0INTLVL0
1 field
FieldBitsWhat it does
INTLVL1:0Port Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTMASKPort Interrupt Mask

Address
0x64A
Reset
0x00
Access
read/write
  1. 7INTMASK7
  2. 6INTMASK6
  3. 5INTMASK5
  4. 4INTMASK4
  5. 3INTMASK3
  6. 2INTMASK2
  7. 1INTMASK1
  8. 0INTMASK0

INTFLAGSInterrupt Flag Register

Address
0x64C
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Pin 7 Interrupt Flag
INT6IF6Pin 6 Interrupt Flag
INT5IF5Pin 5 Interrupt Flag
INT4IF4Pin 4 Interrupt Flag
INT3IF3Pin 3 Interrupt Flag
INT2IF2Pin 2 Interrupt Flag
INT1IF1Pin 1 Interrupt Flag
INT0IF0Pin 0 Interrupt Flag

REMAPPin Remap Register

Address
0x64E
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4USART0
  5. 3TC4D
  6. 2TC4C
  7. 1TC4B
  8. 0TC4A
5 fields
FieldBitsWhat it does
USART04Usart0
TC4D3Timer/Counter 4 Output Compare D
TC4C2Timer/Counter 4 Output Compare C
TC4B1Timer/Counter 4 Output Compare B
TC4A0Timer/Counter 4 Output Compare A

PIN0CTRLPin 0 Control Register

Address
0x650
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN1CTRLPin 1 Control Register

Address
0x651
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN2CTRLPin 2 Control Register

Address
0x652
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN3CTRLPin 3 Control Register

Address
0x653
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN4CTRLPin 4 Control Register

Address
0x654
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN5CTRLPin 5 Control Register

Address
0x655
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN6CTRLPin 6 Control Register

Address
0x656
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN7CTRLPin 7 Control Register

Address
0x657
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PORTD Port Configuration

DIRI/O Port Data Direction

Address
0x660
Reset
0x00
Access
read/write
  1. 7DIR7
  2. 6DIR6
  3. 5DIR5
  4. 4DIR4
  5. 3DIR3
  6. 2DIR2
  7. 1DIR1
  8. 0DIR0

DIRSETI/O Port Data Direction Set

Address
0x661
Reset
0x00
Access
read/write
  1. 7DIRSET7
  2. 6DIRSET6
  3. 5DIRSET5
  4. 4DIRSET4
  5. 3DIRSET3
  6. 2DIRSET2
  7. 1DIRSET1
  8. 0DIRSET0

DIRCLRI/O Port Data Direction Clear

Address
0x662
Reset
0x00
Access
read/write
  1. 7DIRCLR7
  2. 6DIRCLR6
  3. 5DIRCLR5
  4. 4DIRCLR4
  5. 3DIRCLR3
  6. 2DIRCLR2
  7. 1DIRCLR1
  8. 0DIRCLR0

DIRTGLI/O Port Data Direction Toggle

Address
0x663
Reset
0x00
Access
read/write
  1. 7DIRTGL7
  2. 6DIRTGL6
  3. 5DIRTGL5
  4. 4DIRTGL4
  5. 3DIRTGL3
  6. 2DIRTGL2
  7. 1DIRTGL1
  8. 0DIRTGL0

OUTI/O Port Output

Address
0x664
Reset
0x00
Access
read/write
  1. 7OUT7
  2. 6OUT6
  3. 5OUT5
  4. 4OUT4
  5. 3OUT3
  6. 2OUT2
  7. 1OUT1
  8. 0OUT0

OUTSETI/O Port Output Set

Address
0x665
Reset
0x00
Access
read/write
  1. 7OUTSET7
  2. 6OUTSET6
  3. 5OUTSET5
  4. 4OUTSET4
  5. 3OUTSET3
  6. 2OUTSET2
  7. 1OUTSET1
  8. 0OUTSET0

OUTCLRI/O Port Output Clear

Address
0x666
Reset
0x00
Access
read/write
  1. 7OUTCLR7
  2. 6OUTCLR6
  3. 5OUTCLR5
  4. 4OUTCLR4
  5. 3OUTCLR3
  6. 2OUTCLR2
  7. 1OUTCLR1
  8. 0OUTCLR0

OUTTGLI/O Port Output Toggle

Address
0x667
Reset
0x00
Access
read/write
  1. 7OUTTGL7
  2. 6OUTTGL6
  3. 5OUTTGL5
  4. 4OUTTGL4
  5. 3OUTTGL3
  6. 2OUTTGL2
  7. 1OUTTGL1
  8. 0OUTTGL0

INI/O port Input

Address
0x668
Reset
0x00
Access
read/write
  1. 7IN7
  2. 6IN6
  3. 5IN5
  4. 4IN4
  5. 3IN3
  6. 2IN2
  7. 1IN1
  8. 0IN0

INTCTRLInterrupt Control Register

Address
0x669
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1INTLVL1
  8. 0INTLVL0
1 field
FieldBitsWhat it does
INTLVL1:0Port Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTMASKPort Interrupt Mask

Address
0x66A
Reset
0x00
Access
read/write
  1. 7INTMASK7
  2. 6INTMASK6
  3. 5INTMASK5
  4. 4INTMASK4
  5. 3INTMASK3
  6. 2INTMASK2
  7. 1INTMASK1
  8. 0INTMASK0

INTFLAGSInterrupt Flag Register

Address
0x66C
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Pin 7 Interrupt Flag
INT6IF6Pin 6 Interrupt Flag
INT5IF5Pin 5 Interrupt Flag
INT4IF4Pin 4 Interrupt Flag
INT3IF3Pin 3 Interrupt Flag
INT2IF2Pin 2 Interrupt Flag
INT1IF1Pin 1 Interrupt Flag
INT0IF0Pin 0 Interrupt Flag

REMAPPin Remap Register

Address
0x66E
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4USART0
  5. 3TC4D
  6. 2TC4C
  7. 1TC4B
  8. 0TC4A
5 fields
FieldBitsWhat it does
USART04Usart0
TC4D3Timer/Counter 4 Output Compare D
TC4C2Timer/Counter 4 Output Compare C
TC4B1Timer/Counter 4 Output Compare B
TC4A0Timer/Counter 4 Output Compare A

PIN0CTRLPin 0 Control Register

Address
0x670
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN1CTRLPin 1 Control Register

Address
0x671
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN2CTRLPin 2 Control Register

Address
0x672
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN3CTRLPin 3 Control Register

Address
0x673
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN4CTRLPin 4 Control Register

Address
0x674
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN5CTRLPin 5 Control Register

Address
0x675
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN6CTRLPin 6 Control Register

Address
0x676
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN7CTRLPin 7 Control Register

Address
0x677
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PORTR Port Configuration

DIRI/O Port Data Direction

Address
0x7E0
Reset
0x00
Access
read/write
  1. 7DIR7
  2. 6DIR6
  3. 5DIR5
  4. 4DIR4
  5. 3DIR3
  6. 2DIR2
  7. 1DIR1
  8. 0DIR0

DIRSETI/O Port Data Direction Set

Address
0x7E1
Reset
0x00
Access
read/write
  1. 7DIRSET7
  2. 6DIRSET6
  3. 5DIRSET5
  4. 4DIRSET4
  5. 3DIRSET3
  6. 2DIRSET2
  7. 1DIRSET1
  8. 0DIRSET0

DIRCLRI/O Port Data Direction Clear

Address
0x7E2
Reset
0x00
Access
read/write
  1. 7DIRCLR7
  2. 6DIRCLR6
  3. 5DIRCLR5
  4. 4DIRCLR4
  5. 3DIRCLR3
  6. 2DIRCLR2
  7. 1DIRCLR1
  8. 0DIRCLR0

DIRTGLI/O Port Data Direction Toggle

Address
0x7E3
Reset
0x00
Access
read/write
  1. 7DIRTGL7
  2. 6DIRTGL6
  3. 5DIRTGL5
  4. 4DIRTGL4
  5. 3DIRTGL3
  6. 2DIRTGL2
  7. 1DIRTGL1
  8. 0DIRTGL0

OUTI/O Port Output

Address
0x7E4
Reset
0x00
Access
read/write
  1. 7OUT7
  2. 6OUT6
  3. 5OUT5
  4. 4OUT4
  5. 3OUT3
  6. 2OUT2
  7. 1OUT1
  8. 0OUT0

OUTSETI/O Port Output Set

Address
0x7E5
Reset
0x00
Access
read/write
  1. 7OUTSET7
  2. 6OUTSET6
  3. 5OUTSET5
  4. 4OUTSET4
  5. 3OUTSET3
  6. 2OUTSET2
  7. 1OUTSET1
  8. 0OUTSET0

OUTCLRI/O Port Output Clear

Address
0x7E6
Reset
0x00
Access
read/write
  1. 7OUTCLR7
  2. 6OUTCLR6
  3. 5OUTCLR5
  4. 4OUTCLR4
  5. 3OUTCLR3
  6. 2OUTCLR2
  7. 1OUTCLR1
  8. 0OUTCLR0

OUTTGLI/O Port Output Toggle

Address
0x7E7
Reset
0x00
Access
read/write
  1. 7OUTTGL7
  2. 6OUTTGL6
  3. 5OUTTGL5
  4. 4OUTTGL4
  5. 3OUTTGL3
  6. 2OUTTGL2
  7. 1OUTTGL1
  8. 0OUTTGL0

INI/O port Input

Address
0x7E8
Reset
0x00
Access
read/write
  1. 7IN7
  2. 6IN6
  3. 5IN5
  4. 4IN4
  5. 3IN3
  6. 2IN2
  7. 1IN1
  8. 0IN0

INTCTRLInterrupt Control Register

Address
0x7E9
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1INTLVL1
  8. 0INTLVL0
1 field
FieldBitsWhat it does
INTLVL1:0Port Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTMASKPort Interrupt Mask

Address
0x7EA
Reset
0x00
Access
read/write
  1. 7INTMASK7
  2. 6INTMASK6
  3. 5INTMASK5
  4. 4INTMASK4
  5. 3INTMASK3
  6. 2INTMASK2
  7. 1INTMASK1
  8. 0INTMASK0

INTFLAGSInterrupt Flag Register

Address
0x7EC
Reset
0x00
Access
read/write
  1. 7INT7IF
  2. 6INT6IF
  3. 5INT5IF
  4. 4INT4IF
  5. 3INT3IF
  6. 2INT2IF
  7. 1INT1IF
  8. 0INT0IF
8 fields
FieldBitsWhat it does
INT7IF7Pin 7 Interrupt Flag
INT6IF6Pin 6 Interrupt Flag
INT5IF5Pin 5 Interrupt Flag
INT4IF4Pin 4 Interrupt Flag
INT3IF3Pin 3 Interrupt Flag
INT2IF2Pin 2 Interrupt Flag
INT1IF1Pin 1 Interrupt Flag
INT0IF0Pin 0 Interrupt Flag

REMAPPin Remap Register

Address
0x7EE
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4USART0
  5. 3TC4D
  6. 2TC4C
  7. 1TC4B
  8. 0TC4A
5 fields
FieldBitsWhat it does
USART04Usart0
TC4D3Timer/Counter 4 Output Compare D
TC4C2Timer/Counter 4 Output Compare C
TC4B1Timer/Counter 4 Output Compare B
TC4A0Timer/Counter 4 Output Compare A

PIN0CTRLPin 0 Control Register

Address
0x7F0
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN1CTRLPin 1 Control Register

Address
0x7F1
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN2CTRLPin 2 Control Register

Address
0x7F2
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN3CTRLPin 3 Control Register

Address
0x7F3
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN4CTRLPin 4 Control Register

Address
0x7F4
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN5CTRLPin 5 Control Register

Address
0x7F5
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN6CTRLPin 6 Control Register

Address
0x7F6
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

PIN7CTRLPin 7 Control Register

Address
0x7F7
Reset
0x00
Access
read/write
  1. 7–
  2. 6INVEN
  3. 5OPC2
  4. 4OPC1
  5. 3OPC0
  6. 2ISC2
  7. 1ISC1
  8. 0ISC0
3 fields
FieldBitsWhat it does
INVEN6Inverted I/O Enable
OPC5:3Output/Pull Configuration
  • 0 Totempole
  • 1 Totempole w/ Bus keeper on Input and Output
  • 2 Totempole w/ Pull-down on Input
  • 3 Totempole w/ Pull-up on Input
  • 4 Wired OR
  • 5 Wired AND
  • 6 Wired OR w/ Pull-down
  • 7 Wired AND w/ Pull-up
ISC2:0Input/Sense Configuration
  • 0 Sense Both Edges
  • 1 Sense Rising Edge
  • 2 Sense Falling Edge
  • 3 Sense Level (Transparent For Events)
  • 6 Digital Input Buffer Forced Enable
  • 7 Disable Digital Input Buffer

TCC4 16-bit Timer/Counter With PWM

CTRLAControl Register A

Address
0x800
Reset
0x00
Access
read/write
  1. 7–
  2. 6SYNCHEN
  3. 5EVSTART
  4. 4UPSTOP
  5. 3CLKSEL3
  6. 2CLKSEL2
  7. 1CLKSEL1
  8. 0CLKSEL0
4 fields
FieldBitsWhat it does
SYNCHEN6Synchronization Enabled
EVSTART5Start on Next Event
UPSTOP4Stop on Next Update
CLKSEL3:0Clock Select
  • 0 Timer Off
  • 1 System Clock
  • 2 System Clock / 2
  • 3 System Clock / 4
  • 4 System Clock / 8
  • 5 System Clock / 64
  • 6 System Clock / 256
  • 7 System Clock / 1024
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

CTRLBControl Register B

Address
0x801
Reset
0x00
Access
read/write
  1. 7BYTEM1
  2. 6BYTEM0
  3. 5CIRCEN1
  4. 4CIRCEN0
  5. 3–
  6. 2WGMODE2
  7. 1WGMODE1
  8. 0WGMODE0
3 fields
FieldBitsWhat it does
BYTEM7:6Byte Mode
  • 0 16-bit mode
  • 1 Timer/Counter Operating in Byte Mode Only
CIRCEN5:4Circular Buffer Enable
  • 0 Circular Buffer Disabled
  • 1 Circular Buffer Enabled on PER/PERBUF
  • 2 Circular Buffer Enabled on CCA/CCABUF
  • 3 Circular Buffer Enabled on All Buffered Registers
WGMODE2:0Waveform Generation Mode
  • 0 Normal Mode
  • 1 Frequency Generation Mode
  • 3 Single Slope
  • 5 Dual Slope, Update on TOP
  • 6 Dual Slope, Both
  • 7 Dual Slope, Update on BOTTOM

CTRLCControl register C

Address
0x802
Reset
0x00
Access
read/write
  1. 7HCMPD
  2. 6HCMPC
  3. 5HCMPB
  4. 4HCMPA
  5. 3CMPD
  6. 2CMPC
  7. 1CMPB
  8. 0CMPA
16 fields
FieldBitsWhat it does
HCMPD7High Channel D Compare Output Value
POLD7Channel D Output Polarity
HCMPC6High Channel C Compare Output Value
POLC6Channel C Output Polarity
HCMPB5High Channel B Compare Output Value
POLB5Channel B Output Polarity
HCMPA4High Channel A Compare Output Value
POLA4Channel A Output Polarity
CMPD3Channel D Compare Output Value
LCMPD3Low Channel D Compare Output Value
CMPC2Channel C Compare Output Value
LCMPC2Low Channel C Compare Output Value
CMPB1Channel B Compare Output Value
LCMPB1Low Channel B Compare Output Value
CMPA0Channel A Compare Output Value
LCMPA0Low Channel A Compare Output Value

CTRLDControl Register D

Address
0x803
Reset
0x00
Access
read/write
  1. 7EVACT2
  2. 6EVACT1
  3. 5EVACT0
  4. 4EVDLY
  5. 3EVSEL3
  6. 2EVSEL2
  7. 1EVSEL1
  8. 0EVSEL0
3 fields
FieldBitsWhat it does
EVACT7:5Event Action
  • 0 No Event Action
  • 1 Fault Mode 1 capture
  • 2 Fault Mode 2 capture
  • 3 Up/down count
  • 4 Quadrature decode
  • 5 Restart
  • 6 Pulse-width Capture
EVDLY4Event Delay
EVSEL3:0Event Source Select
  • 0 No Event Source
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

CTRLEControl Register E

Address
0x804
Reset
0x00
Access
read/write
  1. 7CCDMODE1
  2. 6CCDMODE0
  3. 5CCCMODE1
  4. 4CCCMODE0
  5. 3CCBMODE1
  6. 2CCBMODE0
  7. 1CCAMODE1
  8. 0CCAMODE0
8 fields
FieldBitsWhat it does
CCDMODE7:6Channel D Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCDMODE7:6Channel Low D Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
CCCMODE5:4Channel C Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCCMODE5:4Channel Low C Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
CCBMODE3:2Channel B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCBMODE3:2Channel Low B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
CCAMODE1:0Channel A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCAMODE1:0Channel Low A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled

CTRLFControl Register F

Address
0x805
Reset
0x00
Access
read/write
  1. 7HCCDMODE1
  2. 6HCCDMODE0
  3. 5HCCCMODE1
  4. 4HCCCMODE0
  5. 3HCCBMODE1
  6. 2HCCBMODE0
  7. 1HCCAMODE1
  8. 0HCCAMODE0
4 fields
FieldBitsWhat it does
HCCDMODE7:6Channel High D Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
HCCCMODE5:4Channel High C Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
HCCBMODE3:2Channel High B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
HCCAMODE1:0Channel High A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled

INTCTRLAInterrupt Control Register A

Address
0x806
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5TRGINTLVL1
  4. 4TRGINTLVL0
  5. 3ERRINTLVL1
  6. 2ERRINTLVL0
  7. 1OVFINTLVL1
  8. 0OVFINTLVL0
3 fields
FieldBitsWhat it does
TRGINTLVL5:4Timer Trigger Restart Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
ERRINTLVL3:2Timer Error Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
OVFINTLVL1:0Timer Overflow/Underflow Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTCTRLBInterrupt Control Register B

Address
0x807
Reset
0x00
Access
read/write
  1. 7CCDINTLVL1
  2. 6CCDINTLVL0
  3. 5CCCINTLVL1
  4. 4CCCINTLVL0
  5. 3CCBINTLVL1
  6. 2CCBINTLVL0
  7. 1CCAINTLVL1
  8. 0CCAINTLVL0
8 fields
FieldBitsWhat it does
CCDINTLVL7:6Channel D Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCDINTLVL7:6Channel Low D Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCCINTLVL5:4Channel C Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCCINTLVL5:4Channel Low C Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCBINTLVL3:2Channel B Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCBINTLVL3:2Channel Low B Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCAINTLVL1:0Channel A Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCAINTLVL1:0Channel Low A Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

CTRLGCLRControl Register G Clear

Address
0x808
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5STOP
  4. 4–
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
STOP5Timer/Counter Stop
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Counter Direction

CTRLGSETControl Register G Set

Address
0x809
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5STOP
  4. 4–
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
STOP5Timer/Counter Stop
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Counter Direction

CTRLHCLRControl Register H Clear

Address
0x80A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4CCDBV
  5. 3CCCBV
  6. 2CCBBV
  7. 1CCABV
  8. 0LPERBV
10 fields
FieldBitsWhat it does
CCDBV4Channel D Compare or Capture Buffer Valid
LCCDBV4Channel Low D Compare or Capture Buffer Valid
CCCBV3Channel C Compare or Capture Buffer Valid
LCCCBV3Channel Low C Compare or Capture Buffer Valid
CCBBV2Channel B Compare or Capture Buffer Valid
LCCBBV2Channel Low B Compare or Capture Buffer Valid
CCABV1Channel A Compare or Capture Buffer Valid
LCCABV1Channel Low A Compare or Capture Buffer Valid
LPERBV0Period Low Buffer Valid
PERBV0Period Buffer Valid

CTRLHSETControl Register H Set

Address
0x80B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4CCDBV
  5. 3CCCBV
  6. 2CCBBV
  7. 1CCABV
  8. 0LPERBV
10 fields
FieldBitsWhat it does
CCDBV4Channel D Compare or Capture Buffer Valid
LCCDBV4Channel Low D Compare or Capture Buffer Valid
CCCBV3Channel C Compare or Capture Buffer Valid
LCCCBV3Channel Low C Compare or Capture Buffer Valid
CCBBV2Channel B Compare or Capture Buffer Valid
LCCBBV2Channel Low B Compare or Capture Buffer Valid
CCABV1Channel A Compare or Capture Buffer Valid
LCCABV1Channel Low A Compare or Capture Buffer Valid
LPERBV0Period Low Buffer Valid
PERBV0Period Buffer Valid

INTFLAGSInterrupt Flag Register

Address
0x80C
Reset
0x00
Access
read/write
  1. 7CCDIF
  2. 6CCCIF
  3. 5CCBIF
  4. 4CCAIF
  5. 3–
  6. 2TRGIF
  7. 1ERRIF
  8. 0OVFIF
11 fields
FieldBitsWhat it does
CCDIF7Channel D Compare or Capture Interrupt Flag
LCCDIF7Channel Low D Compare or Capture Interrupt Flag
CCCIF6Channel C Compare or Capture Interrupt Flag
LCCCIF6Channel Low C Compare or Capture Interrupt Flag
CCBIF5Channel B Compare or Capture Interrupt Flag
LCCBIF5Channel Low B Compare or Capture Interrupt Flag
CCAIF4Channel A Compare or Capture Interrupt Flag
LCCAIF4Channel Low A Compare or Capture Interrupt Flag
TRGIF2Trigger Restart Interrupt Flag
ERRIF1Error Interrupt Flag
OVFIF0Overflow/Underflow Interrupt Flag

TEMPTemporary Register For 16-bit Access

Address
0x80F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CNTCount

Address
0x820
Reset
0x0000
Access
read/write
Size
16-bit

PERPeriod

Address
0x826
Reset
0x0000
Access
read/write
Size
16-bit

CCACompare or Capture A

Address
0x828
Reset
0x0000
Access
read/write
Size
16-bit

CCBCompare or Capture B

Address
0x82A
Reset
0x0000
Access
read/write
Size
16-bit

CCCCompare or Capture C

Address
0x82C
Reset
0x0000
Access
read/write
Size
16-bit

CCDCompare or Capture D

Address
0x82E
Reset
0x0000
Access
read/write
Size
16-bit

PERBUFPeriod Buffer

Address
0x836
Reset
0x0000
Access
read/write
Size
16-bit

CCABUFCompare Or Capture A Buffer

Address
0x838
Reset
0x0000
Access
read/write
Size
16-bit

CCBBUFCompare Or Capture B Buffer

Address
0x83A
Reset
0x0000
Access
read/write
Size
16-bit

CCCBUFCompare Or Capture C Buffer

Address
0x83C
Reset
0x0000
Access
read/write
Size
16-bit

CCDBUFCompare Or Capture D Buffer

Address
0x83E
Reset
0x0000
Access
read/write
Size
16-bit

TCC5 16-bit Timer/Counter With PWM

CTRLAControl Register A

Address
0x840
Reset
0x00
Access
read/write
  1. 7–
  2. 6SYNCHEN
  3. 5EVSTART
  4. 4UPSTOP
  5. 3CLKSEL3
  6. 2CLKSEL2
  7. 1CLKSEL1
  8. 0CLKSEL0
4 fields
FieldBitsWhat it does
SYNCHEN6Synchronization Enabled
EVSTART5Start on Next Event
UPSTOP4Stop on Next Update
CLKSEL3:0Clock Select
  • 0 Timer Off
  • 1 System Clock
  • 2 System Clock / 2
  • 3 System Clock / 4
  • 4 System Clock / 8
  • 5 System Clock / 64
  • 6 System Clock / 256
  • 7 System Clock / 1024
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

CTRLBControl Register B

Address
0x841
Reset
0x00
Access
read/write
  1. 7BYTEM1
  2. 6BYTEM0
  3. 5CIRCEN1
  4. 4CIRCEN0
  5. 3–
  6. 2WGMODE2
  7. 1WGMODE1
  8. 0WGMODE0
3 fields
FieldBitsWhat it does
BYTEM7:6Byte Mode
  • 0 16-bit mode
  • 1 Timer/Counter Operating in Byte Mode Only
CIRCEN5:4Circular Buffer Enable
  • 0 Circular Buffer Disabled
  • 1 Circular Buffer Enabled on PER/PERBUF
  • 2 Circular Buffer Enabled on CCA/CCABUF
  • 3 Circular Buffer Enabled on All Buffered Registers
WGMODE2:0Waveform Generation Mode
  • 0 Normal Mode
  • 1 Frequency Generation Mode
  • 3 Single Slope
  • 5 Dual Slope, Update on TOP
  • 6 Dual Slope, Both
  • 7 Dual Slope, Update on BOTTOM

CTRLCControl register C

Address
0x842
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5HCMPB
  4. 4HCMPA
  5. 3–
  6. 2–
  7. 1CMPB
  8. 0CMPA
8 fields
FieldBitsWhat it does
HCMPB5High Channel B Compare Output Value
POLB5Channel B Output Polarity
HCMPA4High Channel A Compare Output Value
POLA4Channel A Output Polarity
CMPB1Channel B Compare Output Value
LCMPB1Low Channel B Compare Output Value
CMPA0Channel A Compare Output Value
LCMPA0Low Channel A Compare Output Value

CTRLDControl Register D

Address
0x843
Reset
0x00
Access
read/write
  1. 7EVACT2
  2. 6EVACT1
  3. 5EVACT0
  4. 4EVDLY
  5. 3EVSEL3
  6. 2EVSEL2
  7. 1EVSEL1
  8. 0EVSEL0
3 fields
FieldBitsWhat it does
EVACT7:5Event Action
  • 0 No Event Action
  • 1 Fault Mode 1 capture
  • 2 Fault Mode 2 capture
  • 3 Up/down count
  • 4 Quadrature decode
  • 5 Restart
  • 6 Pulse-width Capture
EVDLY4Event Delay
EVSEL3:0Event Source Select
  • 0 No Event Source
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

CTRLEControl Register E

Address
0x844
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CCBMODE1
  6. 2CCBMODE0
  7. 1CCAMODE1
  8. 0CCAMODE0
4 fields
FieldBitsWhat it does
CCBMODE3:2Channel B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCBMODE3:2Channel Low B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
CCAMODE1:0Channel A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCAMODE1:0Channel Low A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled

CTRLFControl Register F

Address
0x845
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3HCCBMODE1
  6. 2HCCBMODE0
  7. 1HCCAMODE1
  8. 0HCCAMODE0
2 fields
FieldBitsWhat it does
HCCBMODE3:2Channel High B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
HCCAMODE1:0Channel High A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled

INTCTRLAInterrupt Control Register A

Address
0x846
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5TRGINTLVL1
  4. 4TRGINTLVL0
  5. 3ERRINTLVL1
  6. 2ERRINTLVL0
  7. 1OVFINTLVL1
  8. 0OVFINTLVL0
3 fields
FieldBitsWhat it does
TRGINTLVL5:4Timer Trigger Restart Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
ERRINTLVL3:2Timer Error Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
OVFINTLVL1:0Timer Overflow/Underflow Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTCTRLBInterrupt Control Register B

Address
0x847
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CCBINTLVL1
  6. 2CCBINTLVL0
  7. 1CCAINTLVL1
  8. 0CCAINTLVL0
4 fields
FieldBitsWhat it does
CCBINTLVL3:2Channel B Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCBINTLVL3:2Channel Low B Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCAINTLVL1:0Channel A Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCAINTLVL1:0Channel Low A Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

CTRLGCLRControl Register G Clear

Address
0x848
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5STOP
  4. 4–
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
STOP5Timer/Counter Stop
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Counter Direction

CTRLGSETControl Register G Set

Address
0x849
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4STOP
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
STOP4Timer/Counter Stop
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Counter Direction

CTRLHCLRControl Register H Clear

Address
0x84A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CCBBV
  7. 1CCABV
  8. 0LPERBV
6 fields
FieldBitsWhat it does
CCBBV2Channel B Compare or Capture Buffer Valid
LCCBBV2Channel Low B Compare or Capture Buffer Valid
CCABV1Channel A Compare or Capture Buffer Valid
LCCABV1Channel Low A Compare or Capture Buffer Valid
LPERBV0Period Low Buffer Valid
PERBV0Period Buffer Valid

CTRLHSETControl Register H Set

Address
0x84B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CCBBV
  7. 1CCABV
  8. 0LPERBV
6 fields
FieldBitsWhat it does
CCBBV2Channel B Compare or Capture Buffer Valid
LCCBBV2Channel Low B Compare or Capture Buffer Valid
CCABV1Channel A Compare or Capture Buffer Valid
LCCABV1Channel Low A Compare or Capture Buffer Valid
LPERBV0Period Low Buffer Valid
PERBV0Period Buffer Valid

INTFLAGSInterrupt Flag Register

Address
0x84C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CCBIF
  4. 4CCAIF
  5. 3–
  6. 2TRGIF
  7. 1ERRIF
  8. 0OVFIF
7 fields
FieldBitsWhat it does
CCBIF5Channel B Compare or Capture Interrupt Flag
LCCBIF5Channel Low B Compare or Capture Interrupt Flag
CCAIF4Channel A Compare or Capture Interrupt Flag
LCCAIF4Channel Low A Compare or Capture Interrupt Flag
TRGIF2Trigger Restart Interrupt Flag
ERRIF1Error Interrupt Flag
OVFIF0Overflow/Underflow Interrupt Flag

TEMPTemporary Register For 16-bit Access

Address
0x84F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CNTCount

Address
0x860
Reset
0x0000
Access
read/write
Size
16-bit

PERPeriod

Address
0x866
Reset
0x0000
Access
read/write
Size
16-bit

CCACompare or Capture A

Address
0x868
Reset
0x0000
Access
read/write
Size
16-bit

CCBCompare or Capture B

Address
0x86A
Reset
0x0000
Access
read/write
Size
16-bit

PERBUFPeriod Buffer

Address
0x876
Reset
0x0000
Access
read/write
Size
16-bit

CCABUFCompare Or Capture A Buffer

Address
0x878
Reset
0x0000
Access
read/write
Size
16-bit

CCBBUFCompare Or Capture B Buffer

Address
0x87A
Reset
0x0000
Access
read/write
Size
16-bit

FAULTC4 Fault Extension

CTRLAControl A Register

Address
0x880
Reset
0x00
Access
read/write
  1. 7RAMP1
  2. 6RAMP0
  3. 5FDDBD
  4. 4PORTCTRL
  5. 3FUSE
  6. 2FILTERE
  7. 1SRCE1
  8. 0SRCE0
6 fields
FieldBitsWhat it does
RAMP7:6Ramp Mode Selection
  • 0 Normal Mode
  • 2 RAMP2 Mode
FDDBD5Fault on Debug Break Detection
PORTCTRL4Port Control Mode
FUSE3Fuse State
FILTERE2Fault E Digital Filter Selection
SRCE1:0Fault E Input selection
  • 0 Fault Protection Disabled
  • 1 Event Channel n
  • 2 Event Channel n+1
  • 3 Event Channel n+2

CTRLBControl B Register

Address
0x881
Reset
0x00
Access
read/write
  1. 7SOFTA
  2. 6HALTA1
  3. 5HALTA0
  4. 4RESTARTA
  5. 3KEEPA
  6. 2–
  7. 1SRCA1
  8. 0SRCA0
5 fields
FieldBitsWhat it does
SOFTA7Fault A Software Mode
HALTA6:5Fault A Halt Action
  • 0 Halt Action Disabled
  • 1 Hardware Halt Action
  • 2 Software Halt Action
RESTARTA4Fault A Restart Action
KEEPA3Fault A Keep Action
SRCA1:0Fault A Source Selection
  • 0 Fault A Disabled
  • 1 Event Channel n
  • 2 Event Channel n+1
  • 3 Fault A linked to Fault B State from previous cycle

CTRLCControl C Register

Address
0x882
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CAPTA
  4. 4–
  5. 3–
  6. 2FILTERA
  7. 1BLANKA
  8. 0QUALA
4 fields
FieldBitsWhat it does
CAPTA5Fault A Capture
FILTERA2Fault A Digital Filter Selection
BLANKA1Fault A Blanking
QUALA0Fault A Qualification

CTRLDControl D Register

Address
0x883
Reset
0x00
Access
read/write
  1. 7SOFTB
  2. 6HALTB1
  3. 5HALTB0
  4. 4RESTARTB
  5. 3KEEPB
  6. 2–
  7. 1SRCB1
  8. 0SRCB0
5 fields
FieldBitsWhat it does
SOFTB7Fault B Software Mode
HALTB6:5Fault B Halt Action
  • 0 Halt Action Disabled
  • 1 Hardware Halt Action
  • 2 Software Halt Action
RESTARTB4Fault B Restart Action
KEEPB3Fault B Keep Action
SRCB1:0Fault B Source Selection
  • 0 Fault B disabled
  • 1 Event Channel n
  • 2 Event Channel n+1
  • 3 Fault B linked to Fault A State from previous cycle

CTRLEControl E Register

Address
0x884
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CAPTB
  4. 4–
  5. 3–
  6. 2FILTERB
  7. 1BLANKB
  8. 0QUALB
4 fields
FieldBitsWhat it does
CAPTB5Fault B Capture
FILTERB2Fault B Digital Filter Selection
BLANKB1Fault B Blanking
QUALB0Fault B Qualification

STATUSStatus Register

Address
0x885
Reset
0x00
Access
read/write
  1. 7STATEB
  2. 6STATEA
  3. 5STATEE
  4. 4–
  5. 3IDX
  6. 2FAULTBIN
  7. 1FAULTAIN
  8. 0FAULTEIN
7 fields
FieldBitsWhat it does
STATEB7Fault B State
STATEA6Fault A State
STATEE5Fault E State
IDX3Channel Index Flag
FAULTBIN2Fault B Flag
FAULTAIN1Fault A Flag
FAULTEIN0Fault E Flag

CTRLGCLRControl Register G Clear

Address
0x886
Reset
0x00
Access
read/write
  1. 7HALTBCLR
  2. 6HALTACLR
  3. 5STATEECLR
  4. 4–
  5. 3–
  6. 2FAULTB
  7. 1FAULTA
  8. 0FAULTE
6 fields
FieldBitsWhat it does
HALTBCLR7State B Clear
HALTACLR6State A Clear
STATEECLR5State E Clear
FAULTB2Fault B Flag
FAULTA1Fault A Flag
FAULTE0Fault E Flag

CTRLGSETControl Register G set

Address
0x887
Reset
0x00
Access
read/write
  1. 7FAULTBSW
  2. 6FAULTASW
  3. 5FAULTESW
  4. 4IDXCMD1
  5. 3IDXCMD0
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
FAULTBSW7Software Fault B
FAULTASW6Software Fault A
FAULTESW5Software Fault E
IDXCMD4:3Channel index Command
  • 0 Command Disabled
  • 1 Force Cycle B in Next Cycle
  • 2 Force Cycle A in Next Cycle
  • 3 Hold Current Cycle Index in Next Cycle

FAULTC5 Fault Extension

CTRLAControl A Register

Address
0x890
Reset
0x00
Access
read/write
  1. 7RAMP1
  2. 6RAMP0
  3. 5FDDBD
  4. 4PORTCTRL
  5. 3FUSE
  6. 2FILTERE
  7. 1SRCE1
  8. 0SRCE0
6 fields
FieldBitsWhat it does
RAMP7:6Ramp Mode Selection
  • 0 Normal Mode
  • 2 RAMP2 Mode
FDDBD5Fault on Debug Break Detection
PORTCTRL4Port Control Mode
FUSE3Fuse State
FILTERE2Fault E Digital Filter Selection
SRCE1:0Fault E Input selection
  • 0 Fault Protection Disabled
  • 1 Event Channel n
  • 2 Event Channel n+1
  • 3 Event Channel n+2

CTRLBControl B Register

Address
0x891
Reset
0x00
Access
read/write
  1. 7SOFTA
  2. 6HALTA1
  3. 5HALTA0
  4. 4RESTARTA
  5. 3KEEPA
  6. 2–
  7. 1SRCA1
  8. 0SRCA0
5 fields
FieldBitsWhat it does
SOFTA7Fault A Software Mode
HALTA6:5Fault A Halt Action
  • 0 Halt Action Disabled
  • 1 Hardware Halt Action
  • 2 Software Halt Action
RESTARTA4Fault A Restart Action
KEEPA3Fault A Keep Action
SRCA1:0Fault A Source Selection
  • 0 Fault A Disabled
  • 1 Event Channel n
  • 2 Event Channel n+1
  • 3 Fault A linked to Fault B State from previous cycle

CTRLCControl C Register

Address
0x892
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CAPTA
  4. 4–
  5. 3–
  6. 2FILTERA
  7. 1BLANKA
  8. 0QUALA
4 fields
FieldBitsWhat it does
CAPTA5Fault A Capture
FILTERA2Fault A Digital Filter Selection
BLANKA1Fault A Blanking
QUALA0Fault A Qualification

CTRLDControl D Register

Address
0x893
Reset
0x00
Access
read/write
  1. 7SOFTB
  2. 6HALTB1
  3. 5HALTB0
  4. 4RESTARTB
  5. 3KEEPB
  6. 2–
  7. 1SRCB1
  8. 0SRCB0
5 fields
FieldBitsWhat it does
SOFTB7Fault B Software Mode
HALTB6:5Fault B Halt Action
  • 0 Halt Action Disabled
  • 1 Hardware Halt Action
  • 2 Software Halt Action
RESTARTB4Fault B Restart Action
KEEPB3Fault B Keep Action
SRCB1:0Fault B Source Selection
  • 0 Fault B disabled
  • 1 Event Channel n
  • 2 Event Channel n+1
  • 3 Fault B linked to Fault A State from previous cycle

CTRLEControl E Register

Address
0x894
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CAPTB
  4. 4–
  5. 3–
  6. 2FILTERB
  7. 1BLANKB
  8. 0QUALB
4 fields
FieldBitsWhat it does
CAPTB5Fault B Capture
FILTERB2Fault B Digital Filter Selection
BLANKB1Fault B Blanking
QUALB0Fault B Qualification

STATUSStatus Register

Address
0x895
Reset
0x00
Access
read/write
  1. 7STATEB
  2. 6STATEA
  3. 5STATEE
  4. 4–
  5. 3IDX
  6. 2FAULTBIN
  7. 1FAULTAIN
  8. 0FAULTEIN
7 fields
FieldBitsWhat it does
STATEB7Fault B State
STATEA6Fault A State
STATEE5Fault E State
IDX3Channel Index Flag
FAULTBIN2Fault B Flag
FAULTAIN1Fault A Flag
FAULTEIN0Fault E Flag

CTRLGCLRControl Register G Clear

Address
0x896
Reset
0x00
Access
read/write
  1. 7HALTBCLR
  2. 6HALTACLR
  3. 5STATEECLR
  4. 4–
  5. 3–
  6. 2FAULTB
  7. 1FAULTA
  8. 0FAULTE
6 fields
FieldBitsWhat it does
HALTBCLR7State B Clear
HALTACLR6State A Clear
STATEECLR5State E Clear
FAULTB2Fault B Flag
FAULTA1Fault A Flag
FAULTE0Fault E Flag

CTRLGSETControl Register G set

Address
0x897
Reset
0x00
Access
read/write
  1. 7FAULTBSW
  2. 6FAULTASW
  3. 5FAULTESW
  4. 4IDXCMD1
  5. 3IDXCMD0
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
FAULTBSW7Software Fault B
FAULTASW6Software Fault A
FAULTESW5Software Fault E
IDXCMD4:3Channel index Command
  • 0 Command Disabled
  • 1 Force Cycle B in Next Cycle
  • 2 Force Cycle A in Next Cycle
  • 3 Hold Current Cycle Index in Next Cycle

WEXC Waveform Extension

CTRLControl Register

Address
0x8A0
Reset
0x00
Access
read/write
  1. 7UPSEL
  2. 6OTMX2
  3. 5OTMX1
  4. 4OTMX0
  5. 3DTI3EN
  6. 2DTI2EN
  7. 1DTI1EN
  8. 0DTI0EN
6 fields
FieldBitsWhat it does
UPSEL7Update Source Selection
OTMX6:4Output Matrix
  • 0 Default Output Matrix Mode
  • 1 First Output matrix Mode
  • 2 Second Output matrix Mode
  • 3 Third Output matrix Mode
  • 4 Fourth Output matrix Mode
DTI3EN3Dead-Time Insertion Generator 3 Enable
DTI2EN2Dead-Time Insertion Generator 2 Enable
DTI1EN1Dead-Time Insertion Generator 1 Enable
DTI0EN0Dead-Time Insertion Generator 0 Enable

DTBOTHDead-time Concurrent Write to Both Sides Register

Address
0x8A1
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DTLSDead-time Low Side Register

Address
0x8A2
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

DTHSDead-time High Side Register

Address
0x8A3
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

STATUSCLRStatus Clear Register

Address
0x8A4
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2SWAPBUF
  7. 1PGVBUFV
  8. 0PGOBUFV
3 fields
FieldBitsWhat it does
SWAPBUF2Swap Buffer Valid
PGVBUFV1Pattern Generator Value Buffer Valid
PGOBUFV0Pattern Generator Overwrite Buffer Valid

STATUSSETStatus Set Register

Address
0x8A5
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2SWAPBUF
  7. 1PGVBUFV
  8. 0PGOBUFV
3 fields
FieldBitsWhat it does
SWAPBUF2Swap Buffer Valid
PGVBUFV1Pattern Generator Value Buffer Valid
PGOBUFV0Pattern Generator Overwrite Buffer Valid

SWAPSwap Register

Address
0x8A6
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3SWAP3
  6. 2SWAP2
  7. 1SWAP1
  8. 0SWAP0
4 fields
FieldBitsWhat it does
SWAP33Swap DTI output pair 3
SWAP22Swap DTI output pair 2
SWAP11Swap DTI output pair 1
SWAP00Swap DTI output pair 0

PGOPattern Generation Override Register

Address
0x8A7
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PGVPattern Generation Value Register

Address
0x8A8
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SWAPBUFDead Time Low Side Buffer

Address
0x8AA
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3SWAP3BUF
  6. 2SWAP2BUF
  7. 1SWAP1BUF
  8. 0SWAP0BUF
4 fields
FieldBitsWhat it does
SWAP3BUF3Swap DTI output pair 3
SWAP2BUF2Swap DTI output pair 2
SWAP1BUF1Swap DTI output pair 1
SWAP0BUF0Swap DTI output pair 0

PGOBUFPattern Generation Overwrite Buffer Register

Address
0x8AB
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PGVBUFPattern Generation Value Buffer Register

Address
0x8AC
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

OUTOVDISOutput Override Disable Register

Address
0x8AF
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

HIRESC High-Resolution Extension

CTRLAControl Register A

Address
0x8B0
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3HRPLUS1
  6. 2HRPLUS0
  7. 1HREN1
  8. 0HREN0
2 fields
FieldBitsWhat it does
HRPLUS3:2High Resolution Plus
  • 0 No Hi-Res Plus
  • 1 Hi-Res Plus enabled on Timer 4
  • 2 Hi-Res Plus enabled on Timer 5
  • 3 Hi-Res Plus enabled on Timer 4 and 5
HREN1:0High Resolution Mode
  • 0 No Hi-Res
  • 1 Hi-Res enabled on Timer 4
  • 2 Hi-Res enabled on Timer 5
  • 3 Hi-Res enabled on Timer 4 and 5

USARTC0 Universal Asynchronous Receiver-Transmitter

DATAData Register

Address
0x8C0
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

STATUSStatus Register

Address
0x8C1
Reset
0x00
Access
read/write
  1. 7RXCIF
  2. 6TXCIF
  3. 5DREIF
  4. 4FERR
  5. 3BUFOVF
  6. 2PERR
  7. 1RXSIF
  8. 0DRIF
9 fields
FieldBitsWhat it does
RXCIF7Receive Interrupt Flag
TXCIF6Transmit Interrupt Flag
DREIF5Data Register Empty Flag
FERR4Frame Error
BUFOVF3Buffer Overflow
PERR2Parity Error
RXSIF1Receive Start Bit Interrupt Flag
DRIF0Data Reception Flag
RXB80Receive Bit 8

CTRLAControl Register A

Address
0x8C2
Reset
0x00
Access
read/write
  1. 7RXSIE
  2. 6DRIE
  3. 5RXCINTLVL1
  4. 4RXCINTLVL0
  5. 3TXCINTLVL1
  6. 2TXCINTLVL0
  7. 1DREINTLVL1
  8. 0DREINTLVL0
5 fields
FieldBitsWhat it does
RXSIE7Receive Start Interrupt Enable
DRIE6Data Reception Interrupt Enable
RXCINTLVL5:4Receive Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
TXCINTLVL3:2Transmit Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
DREINTLVL1:0Data Register Empty Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

CTRLBControl Register B

Address
0x8C3
Reset
0x00
Access
read/write
  1. 7ONEWIRE
  2. 6SFDEN
  3. 5–
  4. 4RXEN
  5. 3TXEN
  6. 2CLK2X
  7. 1MPCM
  8. 0TXB8
7 fields
FieldBitsWhat it does
ONEWIRE7One Wire Mode
SFDEN6Start Frame Detection Enable
RXEN4Receiver Enable
TXEN3Transmitter Enable
CLK2X2Double transmission speed
MPCM1Multi-processor Communication Mode
TXB80Transmit bit 8

CTRLCControl Register C

Address
0x8C4
Reset
0x00
Access
read/write
  1. 7CMODE1
  2. 6CMODE0
  3. 5PMODE1
  4. 4PMODE0
  5. 3SBMODE
  6. 2CHSIZE2
  7. 1CHSIZE1
  8. 0CHSIZE0
4 fields
FieldBitsWhat it does
CMODE7:6Communication Mode
  • 0 Asynchronous Mode
  • 1 Synchronous Mode
  • 2 IrDA Mode
  • 3 Master SPI Mode
PMODE5:4Parity Mode
  • 0 No Parity
  • 2 Even Parity
  • 3 Odd Parity
SBMODE3Stop Bit Mode
CHSIZE2:0Character Size
  • 0 Character size: 5 bit
  • 1 Character size: 6 bit
  • 2 Character size: 7 bit
  • 3 Character size: 8 bit
  • 7 Character size: 9 bit

CTRLDControl Register D

Address
0x8C5
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5DECTYPE1
  4. 4DECTYPE0
  5. 3LUTACT1
  6. 2LUTACT0
  7. 1PECACT1
  8. 0PECACT0
3 fields
FieldBitsWhat it does
DECTYPE5:4Receive Interrupt Level
  • 0 DATA Field Encoding
  • 2 Start and Data Fields Encoding
  • 3 Start and Data Fields Encoding, with inversion in START field
LUTACT3:2Transmit Interrupt Level
  • 0 Standard Frame Configuration
  • 1 Receiver Decoding Enabled
  • 2 Transmitter Encoding Enabled
  • 3 Both Encoding and Decoding Enabled
PECACT1:0Data Register Empty Interrupt Level
  • 0 Standard Mode
  • 1 Variable Data Length in Reception
  • 2 Variable Data Length in Transmission
  • 3 Variable Data Length in both Reception and Transmission

BAUDCTRLABaud Rate Control Register A

Address
0x8C6
Reset
0x00
Access
read/write
  1. 7BSEL7
  2. 6BSEL6
  3. 5BSEL5
  4. 4BSEL4
  5. 3BSEL3
  6. 2BSEL2
  7. 1BSEL1
  8. 0BSEL0
1 field
FieldBitsWhat it does
BSEL7:0Baud Rate Selection Bits [7:0]

BAUDCTRLBBaud Rate Control Register B

Address
0x8C7
Reset
0x00
Access
read/write
  1. 7BSCALE3
  2. 6BSCALE2
  3. 5BSCALE1
  4. 4BSCALE0
  5. 3BSEL3
  6. 2BSEL2
  7. 1BSEL1
  8. 0BSEL0
2 fields
FieldBitsWhat it does
BSCALE7:4Baud Rate Scale
BSEL3:0Baud Rate Selection bits[11:8]

SPIC Serial Peripheral Interface

CTRLControl Register

Address
0x8E0
Reset
0x00
Access
read/write
  1. 7CLK2X
  2. 6ENABLE
  3. 5DORD
  4. 4MASTER
  5. 3MODE1
  6. 2MODE0
  7. 1PRESCALER1
  8. 0PRESCALER0
6 fields
FieldBitsWhat it does
CLK2X7Enable Double Speed
ENABLE6Enable SPI Module
DORD5Data Order Setting
MASTER4Master Operation Enable
MODE3:2SPI Mode
  • 0 SPI Mode 0, base clock at "0", sampling on leading edge (rising) & set-up on trailling edge (falling).
  • 1 SPI Mode 1, base clock at "0", set-up on leading edge (rising) & sampling on trailling edge (falling).
  • 2 SPI Mode 2, base clock at "1", sampling on leading edge (falling) & set-up on trailling edge (rising).
  • 3 SPI Mode 3, base clock at "1", set-up on leading edge (falling) & sampling on trailling edge (rising).
PRESCALER1:0Prescaler
  • 0 If CLK2X=1 CLKper/2, else (CLK2X=0) CLKper/4.
  • 1 If CLK2X=1 CLKper/8, else (CLK2X=0) CLKper/16.
  • 2 If CLK2X=1 CLKper/32, else (CLK2X=0) CLKper/64.
  • 3 If CLK2X=1 CLKper/64, else (CLK2X=0) CLKper/128.

INTCTRLInterrupt Control Register

Address
0x8E1
Reset
0x00
Access
read/write
  1. 7RXCIE
  2. 6TXCIE
  3. 5DREIE
  4. 4SSIE
  5. 3–
  6. 2–
  7. 1INTLVL1
  8. 0INTLVL0
5 fields
FieldBitsWhat it does
RXCIE7Receive Complete Interrupt Enable (In Buffer Modes Only).
TXCIE6Transmit Complete Interrupt Enable (In Buffer Modes Only).
DREIE5Data Register Empty Interrupt Enable (In Buffer Modes Only).
SSIE4Slave Select Trigger Interrupt Enable (In Buffer Modes Only).
INTLVL1:0Interrupt level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

STATUSStatus Register

Address
0x8E2
Reset
0x00
Access
read/write
  1. 7IF
  2. 6TXCIF
  3. 5DREIF
  4. 4SSIF
  5. 3–
  6. 2–
  7. 1–
  8. 0BUFOVF
7 fields
FieldBitsWhat it does
IF7Interrupt Flag (In Standard Mode Only).
RXCIF7Receive Complete Interrupt Flag (In Buffer Modes Only).
TXCIF6Transmit Complete Interrupt Flag (In Buffer Modes Only).
WRCOL6Write Collision Flag (In Standard Mode Only).
DREIF5Data Register Empty Interrupt Flag (In Buffer Modes Only).
SSIF4Slave Select Trigger Interrupt Flag (In Buffer Modes Only).
BUFOVF0Buffer Overflow (In Buffer Modes Only).

DATAData Register

Address
0x8E3
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CTRLBControl Register B

Address
0x8E4
Reset
0x00
Access
read/write
  1. 7BUFMODE1
  2. 6BUFMODE0
  3. 5–
  4. 4–
  5. 3–
  6. 2SSD
  7. 1–
  8. 0–
2 fields
FieldBitsWhat it does
BUFMODE7:6Buffer Modes
  • 0 SPI Unbuffered Mode
  • 2 Buffer Mode 1 (with dummy byte)
  • 3 Buffer Mode 2 (no dummy byte)
SSD2Slave Select Disable

IRCOM IR Communication Module

CTRLControl Register

Address
0x8F8
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3EVSEL3
  6. 2EVSEL2
  7. 1EVSEL1
  8. 0EVSEL0
1 field
FieldBitsWhat it does
EVSEL3:0Event Channel Select
  • 0 No Event Source
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

TXPLCTRLIrDA Transmitter Pulse Length Control Register

Address
0x8F9
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

RXPLCTRLIrDA Receiver Pulse Length Control Register

Address
0x8FA
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

TCD5 16-bit Timer/Counter With PWM

CTRLAControl Register A

Address
0x940
Reset
0x00
Access
read/write
  1. 7–
  2. 6SYNCHEN
  3. 5EVSTART
  4. 4UPSTOP
  5. 3CLKSEL3
  6. 2CLKSEL2
  7. 1CLKSEL1
  8. 0CLKSEL0
4 fields
FieldBitsWhat it does
SYNCHEN6Synchronization Enabled
EVSTART5Start on Next Event
UPSTOP4Stop on Next Update
CLKSEL3:0Clock Select
  • 0 Timer Off
  • 1 System Clock
  • 2 System Clock / 2
  • 3 System Clock / 4
  • 4 System Clock / 8
  • 5 System Clock / 64
  • 6 System Clock / 256
  • 7 System Clock / 1024
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

CTRLBControl Register B

Address
0x941
Reset
0x00
Access
read/write
  1. 7BYTEM1
  2. 6BYTEM0
  3. 5CIRCEN1
  4. 4CIRCEN0
  5. 3–
  6. 2WGMODE2
  7. 1WGMODE1
  8. 0WGMODE0
3 fields
FieldBitsWhat it does
BYTEM7:6Byte Mode
  • 0 16-bit mode
  • 1 Timer/Counter Operating in Byte Mode Only
CIRCEN5:4Circular Buffer Enable
  • 0 Circular Buffer Disabled
  • 1 Circular Buffer Enabled on PER/PERBUF
  • 2 Circular Buffer Enabled on CCA/CCABUF
  • 3 Circular Buffer Enabled on All Buffered Registers
WGMODE2:0Waveform Generation Mode
  • 0 Normal Mode
  • 1 Frequency Generation Mode
  • 3 Single Slope
  • 5 Dual Slope, Update on TOP
  • 6 Dual Slope, Both
  • 7 Dual Slope, Update on BOTTOM

CTRLCControl register C

Address
0x942
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5HCMPB
  4. 4HCMPA
  5. 3–
  6. 2–
  7. 1CMPB
  8. 0CMPA
8 fields
FieldBitsWhat it does
HCMPB5High Channel B Compare Output Value
POLB5Channel B Output Polarity
HCMPA4High Channel A Compare Output Value
POLA4Channel A Output Polarity
CMPB1Channel B Compare Output Value
LCMPB1Low Channel B Compare Output Value
CMPA0Channel A Compare Output Value
LCMPA0Low Channel A Compare Output Value

CTRLDControl Register D

Address
0x943
Reset
0x00
Access
read/write
  1. 7EVACT2
  2. 6EVACT1
  3. 5EVACT0
  4. 4EVDLY
  5. 3EVSEL3
  6. 2EVSEL2
  7. 1EVSEL1
  8. 0EVSEL0
3 fields
FieldBitsWhat it does
EVACT7:5Event Action
  • 0 No Event Action
  • 1 Fault Mode 1 capture
  • 2 Fault Mode 2 capture
  • 3 Up/down count
  • 4 Quadrature decode
  • 5 Restart
  • 6 Pulse-width Capture
EVDLY4Event Delay
EVSEL3:0Event Source Select
  • 0 No Event Source
  • 8 Event Channel 0
  • 9 Event Channel 1
  • 10 Event Channel 2
  • 11 Event Channel 3
  • 12 Event Channel 4
  • 13 Event Channel 5
  • 14 Event Channel 6
  • 15 Event Channel 7

CTRLEControl Register E

Address
0x944
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CCBMODE1
  6. 2CCBMODE0
  7. 1CCAMODE1
  8. 0CCAMODE0
4 fields
FieldBitsWhat it does
CCBMODE3:2Channel B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCBMODE3:2Channel Low B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
CCAMODE1:0Channel A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
LCCAMODE1:0Channel Low A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled

CTRLFControl Register F

Address
0x945
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3HCCBMODE1
  6. 2HCCBMODE0
  7. 1HCCAMODE1
  8. 0HCCAMODE0
2 fields
FieldBitsWhat it does
HCCBMODE3:2Channel High B Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled
HCCAMODE1:0Channel High A Compare or Capture Mode
  • 0 Channel Disabled
  • 1 Output Compare enabled
  • 2 Input Capture enabled
  • 3 Both Compare and Capture enabled

INTCTRLAInterrupt Control Register A

Address
0x946
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5TRGINTLVL1
  4. 4TRGINTLVL0
  5. 3ERRINTLVL1
  6. 2ERRINTLVL0
  7. 1OVFINTLVL1
  8. 0OVFINTLVL0
3 fields
FieldBitsWhat it does
TRGINTLVL5:4Timer Trigger Restart Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
ERRINTLVL3:2Timer Error Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
OVFINTLVL1:0Timer Overflow/Underflow Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

INTCTRLBInterrupt Control Register B

Address
0x947
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CCBINTLVL1
  6. 2CCBINTLVL0
  7. 1CCAINTLVL1
  8. 0CCAINTLVL0
4 fields
FieldBitsWhat it does
CCBINTLVL3:2Channel B Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCBINTLVL3:2Channel Low B Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
CCAINTLVL1:0Channel A Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
LCCAINTLVL1:0Channel Low A Compare or Capture Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

CTRLGCLRControl Register G Clear

Address
0x948
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5STOP
  4. 4–
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
STOP5Timer/Counter Stop
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Counter Direction

CTRLGSETControl Register G Set

Address
0x949
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4STOP
  5. 3CMD1
  6. 2CMD0
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
STOP4Timer/Counter Stop
CMD3:2Command
  • 0 No Command
  • 1 Force Update
  • 2 Force Restart
  • 3 Force Hard Reset
LUPD1Lock Update
DIR0Counter Direction

CTRLHCLRControl Register H Clear

Address
0x94A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CCBBV
  7. 1CCABV
  8. 0LPERBV
6 fields
FieldBitsWhat it does
CCBBV2Channel B Compare or Capture Buffer Valid
LCCBBV2Channel Low B Compare or Capture Buffer Valid
CCABV1Channel A Compare or Capture Buffer Valid
LCCABV1Channel Low A Compare or Capture Buffer Valid
LPERBV0Period Low Buffer Valid
PERBV0Period Buffer Valid

CTRLHSETControl Register H Set

Address
0x94B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CCBBV
  7. 1CCABV
  8. 0LPERBV
6 fields
FieldBitsWhat it does
CCBBV2Channel B Compare or Capture Buffer Valid
LCCBBV2Channel Low B Compare or Capture Buffer Valid
CCABV1Channel A Compare or Capture Buffer Valid
LCCABV1Channel Low A Compare or Capture Buffer Valid
LPERBV0Period Low Buffer Valid
PERBV0Period Buffer Valid

INTFLAGSInterrupt Flag Register

Address
0x94C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CCBIF
  4. 4CCAIF
  5. 3–
  6. 2TRGIF
  7. 1ERRIF
  8. 0OVFIF
7 fields
FieldBitsWhat it does
CCBIF5Channel B Compare or Capture Interrupt Flag
LCCBIF5Channel Low B Compare or Capture Interrupt Flag
CCAIF4Channel A Compare or Capture Interrupt Flag
LCCAIF4Channel Low A Compare or Capture Interrupt Flag
TRGIF2Trigger Restart Interrupt Flag
ERRIF1Error Interrupt Flag
OVFIF0Overflow/Underflow Interrupt Flag

TEMPTemporary Register For 16-bit Access

Address
0x94F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CNTCount

Address
0x960
Reset
0x0000
Access
read/write
Size
16-bit

PERPeriod

Address
0x966
Reset
0x0000
Access
read/write
Size
16-bit

CCACompare or Capture A

Address
0x968
Reset
0x0000
Access
read/write
Size
16-bit

CCBCompare or Capture B

Address
0x96A
Reset
0x0000
Access
read/write
Size
16-bit

PERBUFPeriod Buffer

Address
0x976
Reset
0x0000
Access
read/write
Size
16-bit

CCABUFCompare Or Capture A Buffer

Address
0x978
Reset
0x0000
Access
read/write
Size
16-bit

CCBBUFCompare Or Capture B Buffer

Address
0x97A
Reset
0x0000
Access
read/write
Size
16-bit

USARTD0 Universal Asynchronous Receiver-Transmitter

DATAData Register

Address
0x9C0
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

STATUSStatus Register

Address
0x9C1
Reset
0x00
Access
read/write
  1. 7RXCIF
  2. 6TXCIF
  3. 5DREIF
  4. 4FERR
  5. 3BUFOVF
  6. 2PERR
  7. 1RXSIF
  8. 0DRIF
9 fields
FieldBitsWhat it does
RXCIF7Receive Interrupt Flag
TXCIF6Transmit Interrupt Flag
DREIF5Data Register Empty Flag
FERR4Frame Error
BUFOVF3Buffer Overflow
PERR2Parity Error
RXSIF1Receive Start Bit Interrupt Flag
DRIF0Data Reception Flag
RXB80Receive Bit 8

CTRLAControl Register A

Address
0x9C2
Reset
0x00
Access
read/write
  1. 7RXSIE
  2. 6DRIE
  3. 5RXCINTLVL1
  4. 4RXCINTLVL0
  5. 3TXCINTLVL1
  6. 2TXCINTLVL0
  7. 1DREINTLVL1
  8. 0DREINTLVL0
5 fields
FieldBitsWhat it does
RXSIE7Receive Start Interrupt Enable
DRIE6Data Reception Interrupt Enable
RXCINTLVL5:4Receive Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
TXCINTLVL3:2Transmit Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level
DREINTLVL1:0Data Register Empty Interrupt Level
  • 0 Interrupt Disabled
  • 1 Low Level
  • 2 Medium Level
  • 3 High Level

CTRLBControl Register B

Address
0x9C3
Reset
0x00
Access
read/write
  1. 7ONEWIRE
  2. 6SFDEN
  3. 5–
  4. 4RXEN
  5. 3TXEN
  6. 2CLK2X
  7. 1MPCM
  8. 0TXB8
7 fields
FieldBitsWhat it does
ONEWIRE7One Wire Mode
SFDEN6Start Frame Detection Enable
RXEN4Receiver Enable
TXEN3Transmitter Enable
CLK2X2Double transmission speed
MPCM1Multi-processor Communication Mode
TXB80Transmit bit 8

CTRLCControl Register C

Address
0x9C4
Reset
0x00
Access
read/write
  1. 7CMODE1
  2. 6CMODE0
  3. 5PMODE1
  4. 4PMODE0
  5. 3SBMODE
  6. 2CHSIZE2
  7. 1CHSIZE1
  8. 0CHSIZE0
4 fields
FieldBitsWhat it does
CMODE7:6Communication Mode
  • 0 Asynchronous Mode
  • 1 Synchronous Mode
  • 2 IrDA Mode
  • 3 Master SPI Mode
PMODE5:4Parity Mode
  • 0 No Parity
  • 2 Even Parity
  • 3 Odd Parity
SBMODE3Stop Bit Mode
CHSIZE2:0Character Size
  • 0 Character size: 5 bit
  • 1 Character size: 6 bit
  • 2 Character size: 7 bit
  • 3 Character size: 8 bit
  • 7 Character size: 9 bit

CTRLDControl Register D

Address
0x9C5
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5DECTYPE1
  4. 4DECTYPE0
  5. 3LUTACT1
  6. 2LUTACT0
  7. 1PECACT1
  8. 0PECACT0
3 fields
FieldBitsWhat it does
DECTYPE5:4Receive Interrupt Level
  • 0 DATA Field Encoding
  • 2 Start and Data Fields Encoding
  • 3 Start and Data Fields Encoding, with inversion in START field
LUTACT3:2Transmit Interrupt Level
  • 0 Standard Frame Configuration
  • 1 Receiver Decoding Enabled
  • 2 Transmitter Encoding Enabled
  • 3 Both Encoding and Decoding Enabled
PECACT1:0Data Register Empty Interrupt Level
  • 0 Standard Mode
  • 1 Variable Data Length in Reception
  • 2 Variable Data Length in Transmission
  • 3 Variable Data Length in both Reception and Transmission

BAUDCTRLABaud Rate Control Register A

Address
0x9C6
Reset
0x00
Access
read/write
  1. 7BSEL7
  2. 6BSEL6
  3. 5BSEL5
  4. 4BSEL4
  5. 3BSEL3
  6. 2BSEL2
  7. 1BSEL1
  8. 0BSEL0
1 field
FieldBitsWhat it does
BSEL7:0Baud Rate Selection Bits [7:0]

BAUDCTRLBBaud Rate Control Register B

Address
0x9C7
Reset
0x00
Access
read/write
  1. 7BSCALE3
  2. 6BSCALE2
  3. 5BSCALE1
  4. 4BSCALE0
  5. 3BSEL3
  6. 2BSEL2
  7. 1BSEL1
  8. 0BSEL0
2 fields
FieldBitsWhat it does
BSCALE7:4Baud Rate Scale
BSEL3:0Baud Rate Selection bits[11:8]