EFM32HG309F64 4.1.1 Silicon Labs EFM32HG309F64 Cortex-M MCU *******************************************************************************\n * # License \n * Copyright 2022 Silicon Laboratories Inc. www.silabs.com \n *******************************************************************************\n * \n * SPDX-License-Identifier: Zlib \n * \n * The licensor of this software is Silicon Laboratories Inc. \n * \n * This software is provided 'as-is', without any express or implied \n * warranty. In no event will the authors be held liable for any damages \n * arising from the use of this software. \n * \n * Permission is granted to anyone to use this software for any purpose, \n * including commercial applications, and to alter it and redistribute it \n * freely, subject to the following restrictions: \n * \n * 1. The origin of this software must not be misrepresented; you must not \n * claim that you wrote the original software. If you use this software \n * in a product, an acknowledgment in the product documentation would be \n * appreciated but is not required. \n * 2. Altered source versions must be plainly marked as such, and must not be \n * misrepresented as being the original software. \n * 3. This notice may not be removed or altered from any source distribution. \n * \n ******************************************************************************* CM0PLUS r0p1 little false false 3 false 8 32 AES AES 0x400E0000 0 0x00000400 registers AES 16 CTRL Control Register 0x000 32 read-write 0x00000000 0x00000071 DECRYPT Decryption/Encryption Mode 0 1 read-write DATASTART AES_DATA Write Start 4 1 read-write XORSTART AES_XORDATA Write Start 5 1 read-write BYTEORDER Configure byte order in data and key registers 6 1 read-write CMD Command Register 0x004 32 write-only 0x00000000 0x00000003 START Encryption/Decryption Start 0 1 write-only STOP Encryption/Decryption Stop 1 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x00000001 RUNNING AES Running 0 1 read-only IEN Interrupt Enable Register 0x00C 32 read-write 0x00000000 0x00000001 DONE Encryption/Decryption Done Interrupt Enable 0 1 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000001 DONE Encryption/Decryption Done Interrupt Flag 0 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000001 DONE Encryption/Decryption Done Interrupt Flag Set 0 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000001 DONE Encryption/Decryption Done Interrupt Flag Clear 0 1 write-only DATA DATA Register 0x01C 32 read-write 0x00000000 0xFFFFFFFF modifyExternal DATA Data Access 0 32 read-write XORDATA XORDATA Register 0x020 32 read-write 0x00000000 0xFFFFFFFF modifyExternal XORDATA XOR Data Access 0 32 read-write KEYLA KEY Low Register 0x030 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYLA Key Low Access A 0 32 read-write KEYLB KEY Low Register 0x034 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYLB Key Low Access B 0 32 read-write KEYLC KEY Low Register 0x038 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYLC Key Low Access C 0 32 read-write KEYLD KEY Low Register 0x03C 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYLD Key Low Access D 0 32 read-write DMA DMA 0x400C2000 0 0x00002000 registers DMA 0 STATUS DMA Status Registers 0x000 32 read-only 0x10050000 0x001F00F1 EN DMA Enable Status 0 1 read-only STATE Control Current State 4 4 read-only IDLE Idle 0x00000000 RDCHCTRLDATA Reading channel controller data 0x00000001 RDSRCENDPTR Reading source data end pointer 0x00000002 RDDSTENDPTR Reading destination data end pointer 0x00000003 RDSRCDATA Reading source data 0x00000004 WRDSTDATA Writing destination data 0x00000005 WAITREQCLR Waiting for DMA request to clear 0x00000006 WRCHCTRLDATA Writing channel controller data 0x00000007 STALLED Stalled 0x00000008 DONE Done 0x00000009 PERSCATTRANS Peripheral scatter-gather transition 0x0000000A CHNUM Channel Number 16 5 read-only CONFIG DMA Configuration Register 0x004 32 write-only 0x00000000 0x00000021 EN Enable DMA 0 1 write-only CHPROT Channel Protection Control 5 1 write-only CTRLBASE Channel Control Data Base Pointer Register 0x008 32 read-write 0x00000000 0xFFFFFFFF CTRLBASE Channel Control Data Base Pointer 0 32 read-write ALTCTRLBASE Channel Alternate Control Data Base Pointer Register 0x00C 32 read-only 0x00000080 0xFFFFFFFF ALTCTRLBASE Channel Alternate Control Data Base Pointer 0 32 read-only CHWAITSTATUS Channel Wait on Request Status Register 0x010 32 read-only 0x0000003F 0x0000003F CH0WAITSTATUS Channel 0 Wait on Request Status 0 1 read-only CH1WAITSTATUS Channel 1 Wait on Request Status 1 1 read-only CH2WAITSTATUS Channel 2 Wait on Request Status 2 1 read-only CH3WAITSTATUS Channel 3 Wait on Request Status 3 1 read-only CH4WAITSTATUS Channel 4 Wait on Request Status 4 1 read-only CH5WAITSTATUS Channel 5 Wait on Request Status 5 1 read-only CHSWREQ Channel Software Request Register 0x014 32 write-only 0x00000000 0x0000003F CH0SWREQ Channel 0 Software Request 0 1 write-only CH1SWREQ Channel 1 Software Request 1 1 write-only CH2SWREQ Channel 2 Software Request 2 1 write-only CH3SWREQ Channel 3 Software Request 3 1 write-only CH4SWREQ Channel 4 Software Request 4 1 write-only CH5SWREQ Channel 5 Software Request 5 1 write-only CHUSEBURSTS Channel Useburst Set Register 0x018 32 read-write 0x00000000 0x0000003F CH0USEBURSTS Channel 0 Useburst Set 0 1 read-write CH1USEBURSTS Channel 1 Useburst Set 1 1 read-write CH2USEBURSTS Channel 2 Useburst Set 2 1 read-write CH3USEBURSTS Channel 3 Useburst Set 3 1 read-write CH4USEBURSTS Channel 4 Useburst Set 4 1 read-write CH5USEBURSTS Channel 5 Useburst Set 5 1 read-write CHUSEBURSTC Channel Useburst Clear Register 0x01C 32 write-only 0x00000000 0x0000003F CH0USEBURSTC Channel 0 Useburst Clear 0 1 write-only CH1USEBURSTC Channel 1 Useburst Clear 1 1 write-only CH2USEBURSTC Channel 2 Useburst Clear 2 1 write-only CH3USEBURSTC Channel 3 Useburst Clear 3 1 write-only CH4USEBURSTC Channel 4 Useburst Clear 4 1 write-only CH5USEBURSTC Channel 5 Useburst Clear 5 1 write-only CHREQMASKS Channel Request Mask Set Register 0x020 32 write-only 0x00000000 0x0000003F CH0REQMASKS Channel 0 Request Mask Set 0 1 write-only CH1REQMASKS Channel 1 Request Mask Set 1 1 write-only CH2REQMASKS Channel 2 Request Mask Set 2 1 write-only CH3REQMASKS Channel 3 Request Mask Set 3 1 write-only CH4REQMASKS Channel 4 Request Mask Set 4 1 write-only CH5REQMASKS Channel 5 Request Mask Set 5 1 write-only CHREQMASKC Channel Request Mask Clear Register 0x024 32 write-only 0x00000000 0x0000003F CH0REQMASKC Channel 0 Request Mask Clear 0 1 write-only CH1REQMASKC Channel 1 Request Mask Clear 1 1 write-only CH2REQMASKC Channel 2 Request Mask Clear 2 1 write-only CH3REQMASKC Channel 3 Request Mask Clear 3 1 write-only CH4REQMASKC Channel 4 Request Mask Clear 4 1 write-only CH5REQMASKC Channel 5 Request Mask Clear 5 1 write-only CHENS Channel Enable Set Register 0x028 32 write-only 0x00000000 0x0000003F CH0ENS Channel 0 Enable Set 0 1 write-only CH1ENS Channel 1 Enable Set 1 1 write-only CH2ENS Channel 2 Enable Set 2 1 write-only CH3ENS Channel 3 Enable Set 3 1 write-only CH4ENS Channel 4 Enable Set 4 1 write-only CH5ENS Channel 5 Enable Set 5 1 write-only CHENC Channel Enable Clear Register 0x02C 32 write-only 0x00000000 0x0000003F CH0ENC Channel 0 Enable Clear 0 1 write-only CH1ENC Channel 1 Enable Clear 1 1 write-only CH2ENC Channel 2 Enable Clear 2 1 write-only CH3ENC Channel 3 Enable Clear 3 1 write-only CH4ENC Channel 4 Enable Clear 4 1 write-only CH5ENC Channel 5 Enable Clear 5 1 write-only CHALTS Channel Alternate Set Register 0x030 32 write-only 0x00000000 0x0000003F CH0ALTS Channel 0 Alternate Structure Set 0 1 write-only CH1ALTS Channel 1 Alternate Structure Set 1 1 write-only CH2ALTS Channel 2 Alternate Structure Set 2 1 write-only CH3ALTS Channel 3 Alternate Structure Set 3 1 write-only CH4ALTS Channel 4 Alternate Structure Set 4 1 write-only CH5ALTS Channel 5 Alternate Structure Set 5 1 write-only CHALTC Channel Alternate Clear Register 0x034 32 write-only 0x00000000 0x0000003F CH0ALTC Channel 0 Alternate Clear 0 1 write-only CH1ALTC Channel 1 Alternate Clear 1 1 write-only CH2ALTC Channel 2 Alternate Clear 2 1 write-only CH3ALTC Channel 3 Alternate Clear 3 1 write-only CH4ALTC Channel 4 Alternate Clear 4 1 write-only CH5ALTC Channel 5 Alternate Clear 5 1 write-only CHPRIS Channel Priority Set Register 0x038 32 write-only 0x00000000 0x0000003F CH0PRIS Channel 0 High Priority Set 0 1 write-only CH1PRIS Channel 1 High Priority Set 1 1 write-only CH2PRIS Channel 2 High Priority Set 2 1 write-only CH3PRIS Channel 3 High Priority Set 3 1 write-only CH4PRIS Channel 4 High Priority Set 4 1 write-only CH5PRIS Channel 5 High Priority Set 5 1 write-only CHPRIC Channel Priority Clear Register 0x03C 32 write-only 0x00000000 0x0000003F CH0PRIC Channel 0 High Priority Clear 0 1 write-only CH1PRIC Channel 1 High Priority Clear 1 1 write-only CH2PRIC Channel 2 High Priority Clear 2 1 write-only CH3PRIC Channel 3 High Priority Clear 3 1 write-only CH4PRIC Channel 4 High Priority Clear 4 1 write-only CH5PRIC Channel 5 High Priority Clear 5 1 write-only ERRORC Bus Error Clear Register 0x04C 32 read-write 0x00000000 0x00000001 ERRORC Bus Error Clear 0 1 read-write CHREQSTATUS Channel Request Status 0xE10 32 read-only 0x00000000 0x0000003F CH0REQSTATUS Channel 0 Request Status 0 1 read-only CH1REQSTATUS Channel 1 Request Status 1 1 read-only CH2REQSTATUS Channel 2 Request Status 2 1 read-only CH3REQSTATUS Channel 3 Request Status 3 1 read-only CH4REQSTATUS Channel 4 Request Status 4 1 read-only CH5REQSTATUS Channel 5 Request Status 5 1 read-only CHSREQSTATUS Channel Single Request Status 0xE18 32 read-only 0x00000000 0x0000003F CH0SREQSTATUS Channel 0 Single Request Status 0 1 read-only CH1SREQSTATUS Channel 1 Single Request Status 1 1 read-only CH2SREQSTATUS Channel 2 Single Request Status 2 1 read-only CH3SREQSTATUS Channel 3 Single Request Status 3 1 read-only CH4SREQSTATUS Channel 4 Single Request Status 4 1 read-only CH5SREQSTATUS Channel 5 Single Request Status 5 1 read-only IF Interrupt Flag Register 0x1000 32 read-only 0x00000000 0x8000003F CH0DONE DMA Channel 0 Complete Interrupt Flag 0 1 read-only CH1DONE DMA Channel 1 Complete Interrupt Flag 1 1 read-only CH2DONE DMA Channel 2 Complete Interrupt Flag 2 1 read-only CH3DONE DMA Channel 3 Complete Interrupt Flag 3 1 read-only CH4DONE DMA Channel 4 Complete Interrupt Flag 4 1 read-only CH5DONE DMA Channel 5 Complete Interrupt Flag 5 1 read-only ERR DMA Error Interrupt Flag 31 1 read-only IFS Interrupt Flag Set Register 0x1004 32 write-only 0x00000000 0x8000003F CH0DONE DMA Channel 0 Complete Interrupt Flag Set 0 1 write-only CH1DONE DMA Channel 1 Complete Interrupt Flag Set 1 1 write-only CH2DONE DMA Channel 2 Complete Interrupt Flag Set 2 1 write-only CH3DONE DMA Channel 3 Complete Interrupt Flag Set 3 1 write-only CH4DONE DMA Channel 4 Complete Interrupt Flag Set 4 1 write-only CH5DONE DMA Channel 5 Complete Interrupt Flag Set 5 1 write-only ERR DMA Error Interrupt Flag Set 31 1 write-only IFC Interrupt Flag Clear Register 0x1008 32 write-only 0x00000000 0x8000003F CH0DONE DMA Channel 0 Complete Interrupt Flag Clear 0 1 write-only CH1DONE DMA Channel 1 Complete Interrupt Flag Clear 1 1 write-only CH2DONE DMA Channel 2 Complete Interrupt Flag Clear 2 1 write-only CH3DONE DMA Channel 3 Complete Interrupt Flag Clear 3 1 write-only CH4DONE DMA Channel 4 Complete Interrupt Flag Clear 4 1 write-only CH5DONE DMA Channel 5 Complete Interrupt Flag Clear 5 1 write-only ERR DMA Error Interrupt Flag Clear 31 1 write-only IEN Interrupt Enable register 0x100C 32 read-write 0x00000000 0x8000003F CH0DONE DMA Channel 0 Complete Interrupt Enable 0 1 read-write CH1DONE DMA Channel 1 Complete Interrupt Enable 1 1 read-write CH2DONE DMA Channel 2 Complete Interrupt Enable 2 1 read-write CH3DONE DMA Channel 3 Complete Interrupt Enable 3 1 read-write CH4DONE DMA Channel 4 Complete Interrupt Enable 4 1 read-write CH5DONE DMA Channel 5 Complete Interrupt Enable 5 1 read-write ERR DMA Error Interrupt Flag Enable 31 1 read-write CH0_CTRL Channel Control Register 0x1100 32 read-write 0x00000000 0x003F000F SIGSEL Signal Select 0 4 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x0000000C USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x0000000D LEUART0 Low Energy UART 0 0x00000010 I2C0 I2C 0 0x00000014 TIMER0 Timer 0 0x00000018 TIMER1 Timer 1 0x00000019 TIMER2 Timer 2 0x0000001A MSC 0x00000030 AES Advanced Encryption Standard Accelerator 0x00000031 CH1_CTRL Channel Control Register 0x1104 32 read-write 0x00000000 0x003F000F SIGSEL Signal Select 0 4 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x0000000C USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x0000000D LEUART0 Low Energy UART 0 0x00000010 I2C0 I2C 0 0x00000014 TIMER0 Timer 0 0x00000018 TIMER1 Timer 1 0x00000019 TIMER2 Timer 2 0x0000001A MSC 0x00000030 AES Advanced Encryption Standard Accelerator 0x00000031 CH2_CTRL Channel Control Register 0x1108 32 read-write 0x00000000 0x003F000F SIGSEL Signal Select 0 4 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x0000000C USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x0000000D LEUART0 Low Energy UART 0 0x00000010 I2C0 I2C 0 0x00000014 TIMER0 Timer 0 0x00000018 TIMER1 Timer 1 0x00000019 TIMER2 Timer 2 0x0000001A MSC 0x00000030 AES Advanced Encryption Standard Accelerator 0x00000031 CH3_CTRL Channel Control Register 0x110C 32 read-write 0x00000000 0x003F000F SIGSEL Signal Select 0 4 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x0000000C USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x0000000D LEUART0 Low Energy UART 0 0x00000010 I2C0 I2C 0 0x00000014 TIMER0 Timer 0 0x00000018 TIMER1 Timer 1 0x00000019 TIMER2 Timer 2 0x0000001A MSC 0x00000030 AES Advanced Encryption Standard Accelerator 0x00000031 CH4_CTRL Channel Control Register 0x1110 32 read-write 0x00000000 0x003F000F SIGSEL Signal Select 0 4 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x0000000C USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x0000000D LEUART0 Low Energy UART 0 0x00000010 I2C0 I2C 0 0x00000014 TIMER0 Timer 0 0x00000018 TIMER1 Timer 1 0x00000019 TIMER2 Timer 2 0x0000001A MSC 0x00000030 AES Advanced Encryption Standard Accelerator 0x00000031 CH5_CTRL Channel Control Register 0x1114 32 read-write 0x00000000 0x003F000F SIGSEL Signal Select 0 4 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x0000000C USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x0000000D LEUART0 Low Energy UART 0 0x00000010 I2C0 I2C 0 0x00000014 TIMER0 Timer 0 0x00000018 TIMER1 Timer 1 0x00000019 TIMER2 Timer 2 0x0000001A MSC 0x00000030 AES Advanced Encryption Standard Accelerator 0x00000031 USB USB 0x400C4000 0x3C000 0x00001000 registers 0 0x00000400 registers USB 19 CTRL System Control Register 0x000 32 read-write 0x00000020 0x03330EB2 DMPUAP DMPU Active Polarity 1 1 read-write LEMOSCCTRL Low Energy Mode Oscillator Control 4 2 read-write NONE Low Energy Mode has no effect on neither USBC or USHFRCO. 0x00000000 GATE The USBC clock is gated when Low Energy Mode is active. 0x00000001 SUSPEND The USBC clock is gated, and USHFRCO is suspended (if not selected as HFCLK) when Low Energy Mode is active. 0x00000002 LEMPHYCTRL Low Energy Mode USB PHY Control 7 1 read-write LEMIDLEEN Low Energy Mode on Bus Idle Enable 9 1 read-write LEMNAKEN Low Energy Mode on OUT NAK Enable 10 1 read-write LEMADDRMEN Low Energy Mode on Device Address Mismatch Enable 11 1 read-write VREGDIS Voltage Regulator Disable 16 1 read-write VREGOSEN VREGO Sense Enable 17 1 read-write BIASPROGEM01 Regulator Bias Programming Value in EM0/1 20 2 read-write BIASPROGEM23 Regulator Bias Programming Value in EM2/3 24 2 read-write STATUS System Status Register 0x004 32 read-only 0x00000000 0x00000005 VREGOS VREGO Sense Output 0 1 read-only LEMACTIVE Low Energy Mode Active 2 1 read-only IF Interrupt Flag Register 0x008 32 read-only 0x00000003 0x00000003 VREGOSH VREGO Sense High Interrupt Flag 0 1 read-only VREGOSL VREGO Sense Low Interrupt Flag 1 1 read-only IFS Interrupt Flag Set Register 0x00C 32 write-only 0x00000000 0x00000003 VREGOSH Set VREGO Sense High Interrupt Flag 0 1 write-only VREGOSL Set VREGO Sense Low Interrupt Flag 1 1 write-only IFC Interrupt Flag Clear Register 0x010 32 write-only 0x00000000 0x00000003 VREGOSH Clear VREGO Sense High Interrupt Flag 0 1 write-only VREGOSL Clear VREGO Sense Low Interrupt Flag 1 1 write-only IEN Interrupt Enable Register 0x014 32 read-write 0x00000000 0x00000003 VREGOSH VREGO Sense High Interrupt Enable 0 1 read-write VREGOSL VREGO Sense Low Interrupt Enable 1 1 read-write ROUTE I/O Routing Register 0x018 32 read-write 0x00000000 0x00000005 PHYPEN USB PHY Pin Enable 0 1 read-write DMPUPEN DMPU Pin Enable 2 1 read-write GAHBCFG AHB Configuration Register 0x3C008 32 read-write 0x00000000 0x00E000BF GLBLINTRMSK Global Interrupt Mask 0 1 read-write HBSTLEN Burst Length/Type 1 4 read-write SINGLE Single transfer. 0x00000000 INCR Incrementing burst of unspecified length. 0x00000001 INCR4 4-beat incrementing burst. 0x00000003 INCR8 8-beat incrementing burst. 0x00000005 INCR16 16-beat incrementing burst. 0x00000007 DMAEN DMA Enable 5 1 read-write NPTXFEMPLVL Non-Periodic TxFIFO Empty Level 7 1 read-write REMMEMSUPP Remote Memory Support 21 1 read-write NOTIALLDMAWRIT Notify All DMA Writes 22 1 read-write AHBSINGLE AHB Single Support 23 1 read-write GUSBCFG USB Configuration Register 0x3C00C 32 read-write 0x00001440 0x90403C27 TOUTCAL Timeout Calibration 0 3 read-write FSINTF Full-Speed Serial Interface Select 5 1 read-write USBTRDTIM USB Turnaround Time 10 4 read-write TERMSELDLPULSE TermSel DLine Pulsing Selection 22 1 read-write TXENDDELAY Tx End Delay 28 1 read-write CORRUPTTXPKT Corrupt Tx packet 31 1 write-only GRSTCTL Reset Register 0x3C010 32 read-write 0x80000000 0xC00007F3 CSFTRST Core Soft Reset 0 1 read-write PIUFSSFTRST PIU FS Dedicated Controller Soft Reset 1 1 read-write RXFFLSH RxFIFO Flush 4 1 read-write TXFFLSH TxFIFO Flush 5 1 read-write TXFNUM TxFIFO Number 6 5 read-write F0 Host mode: Non-periodic TxFIFO flush. Device: Tx FIFO 0 flush 0x00000000 F1 Host mode: Periodic TxFIFO flush. Device: TXFIFO 1 flush. 0x00000001 F2 Device mode: TXFIFO 2 flush. 0x00000002 F3 Device mode: TXFIFO 3 flush. 0x00000003 F4 Device mode: TXFIFO 4 flush. 0x00000004 F5 Device mode: TXFIFO 5 flush. 0x00000005 F6 Device mode: TXFIFO 6 flush. 0x00000006 FALL Flush all the transmit FIFOs in device or host mode. 0x00000010 DMAREQ DMA Request Signal 30 1 read-only AHBIDLE AHB Master Idle 31 1 read-only GINTSTS Interrupt Register 0x3C014 32 read-write 0x00000000 0x80FCFCD9 CURMOD Current Mode of Operation 0 1 read-only SOF Start of Frame 3 1 read-write RXFLVL RxFIFO Non-Empty 4 1 read-only GINNAKEFF Global IN Non-periodic NAK Effective 6 1 read-only GOUTNAKEFF Global OUT NAK Effective 7 1 read-only ERLYSUSP Early Suspend 10 1 read-write USBSUSP USB Suspend 11 1 read-write USBRST USB Reset 12 1 read-write ENUMDONE Enumeration Done 13 1 read-write ISOOUTDROP Isochronous OUT Packet Dropped Interrupt 14 1 read-write EOPF End of Periodic Frame Interrupt 15 1 read-write IEPINT IN Endpoints Interrupt 18 1 read-only OEPINT OUT Endpoints Interrupt 19 1 read-only INCOMPISOIN Incomplete Isochronous IN Transfer 20 1 read-write INCOMPLP Incomplete Periodic Transfer 21 1 read-write FETSUSP Data Fetch Suspended 22 1 read-write RESETDET Reset detected Interrupt 23 1 read-write WKUPINT Resume/Remote Wakeup Detected Interrupt 31 1 read-write GINTMSK Interrupt Mask Register 0x3C018 32 read-write 0x00000000 0x80FCFCDA MODEMISMSK Mode Mismatch Interrupt Mask 1 1 read-write SOFMSK Start of Frame Mask 3 1 read-write RXFLVLMSK Receive FIFO Non-Empty Mask 4 1 read-write GINNAKEFFMSK Global Non-periodic IN NAK Effective Mask 6 1 read-write GOUTNAKEFFMSK Global OUT NAK Effective Mask 7 1 read-write ERLYSUSPMSK Early Suspend Mask 10 1 read-write USBSUSPMSK USB Suspend Mask 11 1 read-write USBRSTMSK USB Reset Mask 12 1 read-write ENUMDONEMSK Enumeration Done Mask 13 1 read-write ISOOUTDROPMSK Isochronous OUT Packet Dropped Interrupt Mask 14 1 read-write EOPFMSK End of Periodic Frame Interrupt Mask 15 1 read-write IEPINTMSK IN Endpoints Interrupt Mask 18 1 read-write OEPINTMSK OUT Endpoints Interrupt Mask 19 1 read-write INCOMPISOINMSK Incomplete Isochronous IN Transfer Mask 20 1 read-write INCOMPLPMSK Incomplete Periodic Transfer Mask 21 1 read-write FETSUSPMSK Data Fetch Suspended Mask 22 1 read-write RESETDETMSK Reset detected Interrupt Mask 23 1 read-write WKUPINTMSK Resume/Remote Wakeup Detected Interrupt Mask 31 1 read-write GRXSTSR Receive Status Debug Read Register 0x3C01C 32 read-only 0x00000000 0x01FFFFFF CHEPNUM Channel Number host only / Endpoint Number 0 4 read-only BCNT Byte Count (host or device) 4 11 read-only DPID Data PID (host or device) 15 2 read-only DATA0 DATA0 PID. 0x00000000 DATA1 DATA1 PID. 0x00000001 DATA2 DATA2 PID. 0x00000002 MDATA MDATA PID. 0x00000003 PKTSTS Packet Status (host or device) 17 4 read-only GOUTNAK Device mode: Global OUT NAK (triggers an interrupt). 0x00000001 PKTRCV Host mode: IN data packet received. Device mode: OUT data packet received. 0x00000002 XFERCOMPL Host mode: IN transfer completed (triggers an interrupt). Device mode: OUT transfer completed (triggers an interrupt). 0x00000003 SETUPCOMPL Device mode: SETUP transaction completed (triggers an interrupt). 0x00000004 TGLERR Host mode: Data toggle error (triggers an interrupt). 0x00000005 SETUPRCV Device mode: SETUP data packet received. 0x00000006 CHLT Host mode: Channel halted (triggers an interrupt). 0x00000007 FN Frame Number 21 4 read-only GRXSTSP Receive Status Read and Pop Register 0x3C020 32 read-only 0x00000000 0x01FFFFFF CHEPNUM Channel Number host only / Endpoint Number 0 4 read-only BCNT Byte Count (host or device) 4 11 read-only DPID Data PID (host or device) 15 2 read-only DATA0 DATA0 PID. 0x00000000 DATA1 DATA1 PID. 0x00000001 DATA2 DATA2 PID. 0x00000002 MDATA MDATA PID. 0x00000003 PKTSTS Packet Status (host or device) 17 4 read-only GOUTNAK Device mode: Global OUT NAK (triggers an interrupt). 0x00000001 PKTRCV Host mode: IN data packet received. Device mode: OUT data packet received. 0x00000002 XFERCOMPL Host mode: IN transfer completed (triggers an interrupt). Device mode: OUT transfer completed (triggers an interrupt). 0x00000003 SETUPCOMPL Device mode: SETUP transaction completed (triggers an interrupt). 0x00000004 TGLERR Host mode: Data toggle error (triggers an interrupt). 0x00000005 SETUPRCV Device mode: SETUP data packet received. 0x00000006 CHLT Host mode: Channel halted (triggers an interrupt). 0x00000007 FN Frame Number 21 4 read-only GRXFSIZ Receive FIFO Size Register 0x3C024 32 read-write 0x00000200 0x000003FF RXFDEP RxFIFO Depth 0 10 read-write GNPTXFSIZ Non-periodic Transmit FIFO Size Register 0x3C028 32 read-write 0x02000200 0xFFFF03FF NPTXFSTADDR Non-periodic Transmit RAM Start Address host only 0 10 read-write NPTXFINEPTXF0DEP Non-periodic TxFIFO Depth host only / IN Endpoint TxFIFO 0 Depth 16 16 read-write GDFIFOCFG Global DFIFO Configuration Register 0x3C05C 32 read-write 0x05F80600 0xFFFFFFFF GDFIFOCFG DFIFO Config 0 16 read-write EPINFOBASEADDR Endpoint Info Base Address 16 16 read-write DIEPTXF1 Device IN Endpoint Transmit FIFO 1 Size Register 0x3C104 32 read-write 0x02000400 0x03FF07FF INEPNTXFSTADDR IN Endpoint FIFO 1 Transmit RAM Start Address 0 11 read-write INEPNTXFDEP IN Endpoint TxFIFO Depth 16 10 read-write DIEPTXF2 Device IN Endpoint Transmit FIFO 2 Size Register 0x3C108 32 read-write 0x02000600 0x03FF07FF INEPNTXFSTADDR IN Endpoint FIFO 2 Transmit RAM Start Address 0 11 read-write INEPNTXFDEP IN Endpoint TxFIFO Depth 16 10 read-write DIEPTXF3 Device IN Endpoint Transmit FIFO 3 Size Register 0x3C10C 32 read-write 0x02000800 0x03FF0FFF INEPNTXFSTADDR IN Endpoint FIFO 3 Transmit RAM Start Address 0 12 read-write INEPNTXFDEP IN Endpoint TxFIFO Depth 16 10 read-write DCFG Device Configuration Register 0x3C800 32 read-write 0x08000000 0xFC009FFF DEVSPD Device Speed 0 2 read-write LS Low speed (PHY clock is 6 MHz). If you select 6 MHz LS mode, you must do a soft reset. 0x00000002 FS Full speed (PHY clock is 48 MHz). 0x00000003 NZSTSOUTHSHK Non-Zero-Length Status OUT Handshake 2 1 read-write ENA32KHZSUSP Enable 32 KHz Suspend mode 3 1 read-write DEVADDR Device Address 4 7 read-write PERFRINT Periodic Frame Interval 11 2 read-write 80PCNT 80% of the frame interval. 0x00000000 85PCNT 85% of the frame interval. 0x00000001 90PCNT 90% of the frame interval. 0x00000002 95PCNT 95% of the frame interval. 0x00000003 ERRATICINTMSK 15 1 read-write RESVALID Resume Validation Period 26 6 read-write DCTL Device Control Register 0x3C804 32 read-write 0x00000002 0x00018FFF RMTWKUPSIG Remote Wakeup Signaling 0 1 read-write SFTDISCON Soft Disconnect 1 1 read-write GNPINNAKSTS Global Non-periodic IN NAK Status 2 1 read-only GOUTNAKSTS Global OUT NAK Status 3 1 read-only TSTCTL Test Control 4 3 read-write DISABLE Test mode disabled. 0x00000000 J Test_J mode. 0x00000001 K Test_K mode. 0x00000002 SE0NAK Test_SE0_NAK mode. 0x00000003 PACKET Test_Packet mode. 0x00000004 FORCE Test_Force_Enable. 0x00000005 SGNPINNAK Set Global Non-periodic IN NAK 7 1 write-only CGNPINNAK Clear Global Non-periodic IN NAK 8 1 write-only SGOUTNAK Set Global OUT NAK 9 1 write-only CGOUTNAK Clear Global OUT NAK 10 1 write-only PWRONPRGDONE Power-On Programming Done 11 1 read-write IGNRFRMNUM Ignore Frame number For Isochronous End points 15 1 read-write NAKONBBLE NAK on Babble Error 16 1 read-write DSTS Device Status Register 0x3C808 32 read-only 0x00000002 0x00FFFF0F SUSPSTS Suspend Status 0 1 read-only ENUMSPD Enumerated Speed 1 2 read-only LS Low speed (PHY clock is running at 6 MHz). 0x00000002 FS Full speed (PHY clock is running at 48 MHz). 0x00000003 ERRTICERR Erratic Error 3 1 read-only SOFFN Frame Number of the Received SOF 8 14 read-only DEVLNSTS Device Line Status 22 2 read-only DIEPMSK Device IN Endpoint Common Interrupt Mask Register 0x3C810 32 read-write 0x00000000 0x0000215F XFERCOMPLMSK Transfer Completed Interrupt Mask 0 1 read-write EPDISBLDMSK Endpoint Disabled Interrupt Mask 1 1 read-write AHBERRMSK AHB Error Mask 2 1 read-write TIMEOUTMSK Timeout Condition Mask 3 1 read-write INTKNTXFEMPMSK IN Token Received When TxFIFO Empty Mask 4 1 read-write INEPNAKEFFMSK IN Endpoint NAK Effective Mask 6 1 read-write TXFIFOUNDRNMSK Fifo Underrun Mask 8 1 read-write NAKMSK NAK interrupt Mask 13 1 read-write DOEPMSK Device OUT Endpoint Common Interrupt Mask Register 0x3C814 32 read-write 0x00000000 0x0000317F XFERCOMPLMSK Transfer Completed Interrupt Mask 0 1 read-write EPDISBLDMSK Endpoint Disabled Interrupt Mask 1 1 read-write AHBERRMSK AHB Error 2 1 read-write SETUPMSK SETUP Phase Done Mask 3 1 read-write OUTTKNEPDISMSK OUT Token Received when Endpoint Disabled Mask 4 1 read-write STSPHSERCVDMSK Status Phase Received Mask 5 1 read-write BACK2BACKSETUP Back-to-Back SETUP Packets Received Mask 6 1 read-write OUTPKTERRMSK OUT Packet Error Mask 8 1 read-write BBLEERRMSK Babble Error interrupt Mask 12 1 read-write NAKMSK NAK interrupt Mask 13 1 read-write DAINT Device All Endpoints Interrupt Register 0x3C818 32 read-only 0x00000000 0x000F000F INEPINT0 IN Endpoint 0 Interrupt Bit 0 1 read-only INEPINT1 IN Endpoint 1 Interrupt Bit 1 1 read-only INEPINT2 IN Endpoint 2 Interrupt Bit 2 1 read-only INEPINT3 IN Endpoint 3 Interrupt Bit 3 1 read-only OUTEPINT0 OUT Endpoint 0 Interrupt Bit 16 1 read-only OUTEPINT1 OUT Endpoint 1 Interrupt Bit 17 1 read-only OUTEPINT2 OUT Endpoint 2 Interrupt Bit 18 1 read-only OUTEPINT3 OUT Endpoint 3 Interrupt Bit 19 1 read-only DAINTMSK Device All Endpoints Interrupt Mask Register 0x3C81C 32 read-write 0x00000000 0x000F000F INEPMSK0 IN Endpoint 0 Interrupt mask Bit 0 1 read-write INEPMSK1 IN Endpoint 1 Interrupt mask Bit 1 1 read-write INEPMSK2 IN Endpoint 2 Interrupt mask Bit 2 1 read-write INEPMSK3 IN Endpoint 3 Interrupt mask Bit 3 1 read-write OUTEPMSK0 OUT Endpoint 0 Interrupt mask Bit 16 1 read-write OUTEPMSK1 OUT Endpoint 1 Interrupt mask Bit 17 1 read-write OUTEPMSK2 OUT Endpoint 2 Interrupt mask Bit 18 1 read-write OUTEPMSK3 OUT Endpoint 3 Interrupt mask Bit 19 1 read-write DIEPEMPMSK Device IN Endpoint FIFO Empty Interrupt Mask Register 0x3C834 32 read-write 0x00000000 0x0000FFFF DIEPEMPMSK IN EP Tx FIFO Empty Interrupt Mask Bits 0 16 read-write DIEP0CTL Device IN Endpoint 0 Control Register 0x3C900 32 read-write 0x00008000 0xCFEE8003 MPS Maximum Packet Size 0 2 read-write 64B 64 bytes. 0x00000000 32B 32 bytes. 0x00000001 16B 16 bytes. 0x00000002 8B 8 bytes. 0x00000003 USBACTEP USB Active Endpoint 15 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-only STALL Handshake 21 1 read-write TXFNUM TxFIFO Number 22 4 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DIEP0INT Device IN Endpoint 0 Interrupt Register 0x3C908 32 read-write 0x00000080 0x000038DF XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write TIMEOUT Timeout Condition 3 1 read-write INTKNTXFEMP IN Token Received When TxFIFO is Empty 4 1 read-write INEPNAKEFF IN Endpoint NAK Effective 6 1 read-write TXFEMP Transmit FIFO Empty 7 1 read-only PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR NAK Interrupt 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write DIEP0TSIZ Device IN Endpoint 0 Transfer Size Register 0x3C910 32 read-write 0x00000000 0x0018007F XFERSIZE Transfer Size 0 7 read-write PKTCNT Packet Count 19 2 read-write DIEP0DMAADDR Device IN Endpoint 0 DMA Address Register 0x3C914 32 read-write 0x00000000 0xFFFFFFFF DIEP0DMAADDR DMA Address 0 32 read-write DIEP0TXFSTS Device IN Endpoint 0 Transmit FIFO Status Register 0x3C918 32 read-only 0x00000200 0x0000FFFF SPCAVAIL TxFIFO Space Available 0 16 read-only DIEP0_CTL Device IN Endpoint x+1 Control Register 0x3C920 32 read-write 0x00000000 0xFFEF87FF MPS Maximum Packet Size 0 11 read-write USBACTEP USB Active Endpoint 15 1 read-write DPIDEOF Endpoint Data PID / Even or Odd Frame 16 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-write CONTROL Control Endpoint. 0x00000000 ISO Isochronous Endpoint. 0x00000001 BULK Bulk Endpoint. 0x00000002 INT Interrupt Endpoint. 0x00000003 STALL Handshake 21 1 read-write TXFNUM TxFIFO Number 22 4 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only SETD0PIDEF Set DATA0 PID / Even Frame 28 1 write-only SETD1PIDOF Set DATA1 PID / Odd Frame 29 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DIEP0_INT Device IN Endpoint x+1 Interrupt Register 0x3C928 32 read-write 0x00000080 0x000038DF XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write TIMEOUT Timeout Condition 3 1 read-write INTKNTXFEMP IN Token Received When TxFIFO is Empty 4 1 read-write INEPNAKEFF IN Endpoint NAK Effective 6 1 read-write TXFEMP Transmit FIFO Empty 7 1 read-only PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR NAK Interrupt 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write DIEP0_TSIZ Device IN Endpoint x+1 Transfer Size Register 0x3C930 32 read-write 0x00000000 0x7FFFFFFF XFERSIZE Transfer Size 0 19 read-write PKTCNT Packet Count 19 10 read-write MC Multi Count 29 2 read-write DIEP0_DMAADDR Device IN Endpoint x+1 DMA Address Register 0x3C934 32 read-write 0x00000000 0xFFFFFFFF DMAADDR DMA Address 0 32 read-write DIEP0_TXFSTS Device IN Endpoint x+1 Transmit FIFO Status Register 0x3C938 32 read-only 0x00000200 0x0000FFFF SPCAVAIL TxFIFO Space Available 0 16 read-only DIEP1_CTL Device IN Endpoint x+1 Control Register 0x3C940 32 read-write 0x00000000 0xFFEF87FF MPS Maximum Packet Size 0 11 read-write USBACTEP USB Active Endpoint 15 1 read-write DPIDEOF Endpoint Data PID / Even or Odd Frame 16 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-write CONTROL Control Endpoint. 0x00000000 ISO Isochronous Endpoint. 0x00000001 BULK Bulk Endpoint. 0x00000002 INT Interrupt Endpoint. 0x00000003 STALL Handshake 21 1 read-write TXFNUM TxFIFO Number 22 4 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only SETD0PIDEF Set DATA0 PID / Even Frame 28 1 write-only SETD1PIDOF Set DATA1 PID / Odd Frame 29 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DIEP1_INT Device IN Endpoint x+1 Interrupt Register 0x3C948 32 read-write 0x00000080 0x000038DF XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write TIMEOUT Timeout Condition 3 1 read-write INTKNTXFEMP IN Token Received When TxFIFO is Empty 4 1 read-write INEPNAKEFF IN Endpoint NAK Effective 6 1 read-write TXFEMP Transmit FIFO Empty 7 1 read-only PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR NAK Interrupt 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write DIEP1_TSIZ Device IN Endpoint x+1 Transfer Size Register 0x3C950 32 read-write 0x00000000 0x7FFFFFFF XFERSIZE Transfer Size 0 19 read-write PKTCNT Packet Count 19 10 read-write MC Multi Count 29 2 read-write DIEP1_DMAADDR Device IN Endpoint x+1 DMA Address Register 0x3C954 32 read-write 0x00000000 0xFFFFFFFF DMAADDR DMA Address 0 32 read-write DIEP1_TXFSTS Device IN Endpoint x+1 Transmit FIFO Status Register 0x3C958 32 read-only 0x00000200 0x0000FFFF SPCAVAIL TxFIFO Space Available 0 16 read-only DIEP2_CTL Device IN Endpoint x+1 Control Register 0x3C960 32 read-write 0x00000000 0xFFEF87FF MPS Maximum Packet Size 0 11 read-write USBACTEP USB Active Endpoint 15 1 read-write DPIDEOF Endpoint Data PID / Even or Odd Frame 16 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-write CONTROL Control Endpoint. 0x00000000 ISO Isochronous Endpoint. 0x00000001 BULK Bulk Endpoint. 0x00000002 INT Interrupt Endpoint. 0x00000003 STALL Handshake 21 1 read-write TXFNUM TxFIFO Number 22 4 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only SETD0PIDEF Set DATA0 PID / Even Frame 28 1 write-only SETD1PIDOF Set DATA1 PID / Odd Frame 29 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DIEP2_INT Device IN Endpoint x+1 Interrupt Register 0x3C968 32 read-write 0x00000080 0x000038DF XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write TIMEOUT Timeout Condition 3 1 read-write INTKNTXFEMP IN Token Received When TxFIFO is Empty 4 1 read-write INEPNAKEFF IN Endpoint NAK Effective 6 1 read-write TXFEMP Transmit FIFO Empty 7 1 read-only PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR NAK Interrupt 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write DIEP2_TSIZ Device IN Endpoint x+1 Transfer Size Register 0x3C970 32 read-write 0x00000000 0x7FFFFFFF XFERSIZE Transfer Size 0 19 read-write PKTCNT Packet Count 19 10 read-write MC Multi Count 29 2 read-write DIEP2_DMAADDR Device IN Endpoint x+1 DMA Address Register 0x3C974 32 read-write 0x00000000 0xFFFFFFFF DMAADDR DMA Address 0 32 read-write DIEP2_TXFSTS Device IN Endpoint x+1 Transmit FIFO Status Register 0x3C978 32 read-only 0x00000200 0x0000FFFF SPCAVAIL TxFIFO Space Available 0 16 read-only DOEP0CTL Device OUT Endpoint 0 Control Register 0x3CB00 32 read-write 0x00008000 0xCC3E8003 MPS Maximum Packet Size 0 2 read-only 64B 64 bytes. 0x00000000 32B 32 bytes. 0x00000001 16B 16 bytes. 0x00000002 8B 8 bytes. 0x00000003 USBACTEP USB Active Endpoint 15 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-only SNP Snoop Mode 20 1 read-write STALL Handshake 21 1 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only EPDIS Endpoint Disable 30 1 read-only EPENA Endpoint Enable 31 1 read-write DOEP0INT Device OUT Endpoint 0 Interrupt Register 0x3CB08 32 read-write 0x00000000 0x0000B87F XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write SETUP Setup Phase Done 3 1 read-write OUTTKNEPDIS OUT Token Received When Endpoint Disabled 4 1 read-write STSPHSERCVD Status Phase Received For Control Write 5 1 read-write BACK2BACKSETUP Back-to-Back SETUP Packets Received 6 1 read-write PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR NAK Interrupt 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write STUPPKTRCVD Setup Packet Received 15 1 read-write DOEP0TSIZ Device OUT Endpoint 0 Transfer Size Register 0x3CB10 32 read-write 0x00000000 0x6008007F XFERSIZE Transfer Size 0 7 read-write PKTCNT Packet Count 19 1 read-write SUPCNT SETUP Packet Count 29 2 read-write DOEP0DMAADDR Device OUT Endpoint 0 DMA Address Register 0x3CB14 32 read-write 0x00000000 0xFFFFFFFF DOEP0DMAADDR DMA Address 0 32 read-write DOEP0_CTL Device OUT Endpoint x+1 Control Register 0x3CB20 32 read-write 0x00000000 0xFC3F87FF MPS Maximum Packet Size 0 11 read-write USBACTEP USB Active Endpoint 15 1 read-write DPIDEOF Endpoint Data PID / Even-odd Frame 16 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-write CONTROL Control Endpoint. 0x00000000 ISO Isochronous Endpoint. 0x00000001 BULK Bulk Endpoint. 0x00000002 INT Interrupt Endpoint. 0x00000003 SNP Snoop Mode 20 1 read-write STALL STALL Handshake 21 1 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only SETD0PIDEF Set DATA0 PID / Even Frame 28 1 write-only SETD1PIDOF Set DATA1 PID / Odd Frame 29 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DOEP0_INT Device OUT Endpoint x+1 Interrupt Register 0x3CB28 32 read-write 0x00000000 0x0000B87F XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write SETUP Setup Phase Done 3 1 read-write OUTTKNEPDIS OUT Token Received When Endpoint Disabled 4 1 read-write STSPHSERCVD Status Phase Received For Control Write 5 1 read-write BACK2BACKSETUP Back-to-Back SETUP Packets Received 6 1 read-write PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR Babble Error 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write STUPPKTRCVD Setup Packet Received 15 1 read-write DOEP0_TSIZ Device OUT Endpoint x+1 Transfer Size Register 0x3CB30 32 read-write 0x00000000 0x7FFFFFFF XFERSIZE Transfer Size 0 19 read-write PKTCNT Packet Count 19 10 read-write RXDPIDSUPCNT Receive Data PID / SETUP Packet Count 29 2 read-only DATA0 DATA0 PID. 0x00000000 DATA2 DATA2 PID / 1 Packet. 0x00000001 DATA1 DATA1 PID / 2 Packets. 0x00000002 MDATA MDATA PID / 3 Packets. 0x00000003 DOEP0_DMAADDR Device OUT Endpoint x+1 DMA Address Register 0x3CB34 32 read-write 0x00000000 0xFFFFFFFF DMAADDR DMA Address 0 32 read-write DOEP1_CTL Device OUT Endpoint x+1 Control Register 0x3CB40 32 read-write 0x00000000 0xFC3F87FF MPS Maximum Packet Size 0 11 read-write USBACTEP USB Active Endpoint 15 1 read-write DPIDEOF Endpoint Data PID / Even-odd Frame 16 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-write CONTROL Control Endpoint. 0x00000000 ISO Isochronous Endpoint. 0x00000001 BULK Bulk Endpoint. 0x00000002 INT Interrupt Endpoint. 0x00000003 SNP Snoop Mode 20 1 read-write STALL STALL Handshake 21 1 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only SETD0PIDEF Set DATA0 PID / Even Frame 28 1 write-only SETD1PIDOF Set DATA1 PID / Odd Frame 29 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DOEP1_INT Device OUT Endpoint x+1 Interrupt Register 0x3CB48 32 read-write 0x00000000 0x0000B87F XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write SETUP Setup Phase Done 3 1 read-write OUTTKNEPDIS OUT Token Received When Endpoint Disabled 4 1 read-write STSPHSERCVD Status Phase Received For Control Write 5 1 read-write BACK2BACKSETUP Back-to-Back SETUP Packets Received 6 1 read-write PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR Babble Error 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write STUPPKTRCVD Setup Packet Received 15 1 read-write DOEP1_TSIZ Device OUT Endpoint x+1 Transfer Size Register 0x3CB50 32 read-write 0x00000000 0x7FFFFFFF XFERSIZE Transfer Size 0 19 read-write PKTCNT Packet Count 19 10 read-write RXDPIDSUPCNT Receive Data PID / SETUP Packet Count 29 2 read-only DATA0 DATA0 PID. 0x00000000 DATA2 DATA2 PID / 1 Packet. 0x00000001 DATA1 DATA1 PID / 2 Packets. 0x00000002 MDATA MDATA PID / 3 Packets. 0x00000003 DOEP1_DMAADDR Device OUT Endpoint x+1 DMA Address Register 0x3CB54 32 read-write 0x00000000 0xFFFFFFFF DMAADDR DMA Address 0 32 read-write DOEP2_CTL Device OUT Endpoint x+1 Control Register 0x3CB60 32 read-write 0x00000000 0xFC3F87FF MPS Maximum Packet Size 0 11 read-write USBACTEP USB Active Endpoint 15 1 read-write DPIDEOF Endpoint Data PID / Even-odd Frame 16 1 read-only NAKSTS NAK Status 17 1 read-only EPTYPE Endpoint Type 18 2 read-write CONTROL Control Endpoint. 0x00000000 ISO Isochronous Endpoint. 0x00000001 BULK Bulk Endpoint. 0x00000002 INT Interrupt Endpoint. 0x00000003 SNP Snoop Mode 20 1 read-write STALL STALL Handshake 21 1 read-write CNAK Clear NAK 26 1 write-only SNAK Set NAK 27 1 write-only SETD0PIDEF Set DATA0 PID / Even Frame 28 1 write-only SETD1PIDOF Set DATA1 PID / Odd Frame 29 1 write-only EPDIS Endpoint Disable 30 1 read-write EPENA Endpoint Enable 31 1 read-write DOEP2_INT Device OUT Endpoint x+1 Interrupt Register 0x3CB68 32 read-write 0x00000000 0x0000B87F XFERCOMPL Transfer Completed Interrupt 0 1 read-write EPDISBLD Endpoint Disabled Interrupt 1 1 read-write AHBERR AHB Error 2 1 read-write SETUP Setup Phase Done 3 1 read-write OUTTKNEPDIS OUT Token Received When Endpoint Disabled 4 1 read-write STSPHSERCVD Status Phase Received For Control Write 5 1 read-write BACK2BACKSETUP Back-to-Back SETUP Packets Received 6 1 read-write PKTDRPSTS Packet Drop Status 11 1 read-write BBLEERR Babble Error 12 1 read-write NAKINTRPT NAK Interrupt 13 1 read-write STUPPKTRCVD Setup Packet Received 15 1 read-write DOEP2_TSIZ Device OUT Endpoint x+1 Transfer Size Register 0x3CB70 32 read-write 0x00000000 0x7FFFFFFF XFERSIZE Transfer Size 0 19 read-write PKTCNT Packet Count 19 10 read-write RXDPIDSUPCNT Receive Data PID / SETUP Packet Count 29 2 read-only DATA0 DATA0 PID. 0x00000000 DATA2 DATA2 PID / 1 Packet. 0x00000001 DATA1 DATA1 PID / 2 Packets. 0x00000002 MDATA MDATA PID / 3 Packets. 0x00000003 DOEP2_DMAADDR Device OUT Endpoint x+1 DMA Address Register 0x3CB74 32 read-write 0x00000000 0xFFFFFFFF DMAADDR DMA Address 0 32 read-write PCGCCTL Power and Clock Gating Control Register 0x3CE00 32 read-write 0x00000000 0x0000004F STOPPCLK Stop PHY clock 0 1 read-write GATEHCLK Gate HCLK 1 1 read-write PWRCLMP Power Clamp 2 1 read-write RSTPDWNMODULE Reset Power-Down Modules 3 1 read-write PHYSLEEP PHY In Sleep 6 1 read-only MSC MSC 0x400C0000 0 0x00000400 registers MSC 15 CTRL Memory System Control Register 0x000 32 read-write 0x00000001 0x00000001 BUSFAULT Bus Fault Response Enable 0 1 read-write READCTRL Read Control Register 0x004 32 read-write 0x00000001 0x0000009F MODE Read Mode 0 3 read-write WS0 Zero wait-states inserted in fetch or read transfers. 0x00000000 WS1 One wait-state inserted for each fetch or read transfer. This mode is required for a core frequency above 16 MHz. 0x00000001 IFCDIS Internal Flash Cache Disable 3 1 read-write AIDIS Automatic Invalidate Disable 4 1 read-write RAMCEN RAM Cache Enable 7 1 read-write WRITECTRL Write Control Register 0x008 32 read-write 0x00000000 0x00000003 WREN Enable Write/Erase Controller 0 1 read-write IRQERASEABORT Abort Page Erase on Interrupt 1 1 read-write WRITECMD Write Command Register 0x00C 32 write-only 0x00000000 0x0000113F LADDRIM Load MSC_ADDRB into ADDR 0 1 write-only ERASEPAGE Erase Page 1 1 write-only WRITEEND End Write Mode 2 1 write-only WRITEONCE Word Write-Once Trigger 3 1 write-only WRITETRIG Word Write Sequence Trigger 4 1 write-only ERASEABORT Abort erase sequence 5 1 write-only ERASEMAIN0 Mass erase region 0 8 1 write-only CLEARWDATA Clear WDATA state 12 1 write-only ADDRB Page Erase/Write Address Buffer 0x010 32 read-write 0x00000000 0xFFFFFFFF ADDRB Page Erase or Write Address Buffer 0 32 read-write WDATA Write Data Register 0x018 32 read-write 0x00000000 0xFFFFFFFF WDATA Write Data 0 32 read-write STATUS Status Register 0x01C 32 read-only 0x00000008 0x0000007F BUSY Erase/Write Busy 0 1 read-only LOCKED Access Locked 1 1 read-only INVADDR Invalid Write Address or Erase Page 2 1 read-only WDATAREADY WDATA Write Ready 3 1 read-only WORDTIMEOUT Flash Write Word Timeout 4 1 read-only ERASEABORTED The Current Flash Erase Operation Aborted 5 1 read-only PCRUNNING Performance Counters Running 6 1 read-only IF Interrupt Flag Register 0x02C 32 read-only 0x00000000 0x0000000F ERASE Erase Done Interrupt Read Flag 0 1 read-only WRITE Write Done Interrupt Read Flag 1 1 read-only CHOF Cache Hits Overflow Interrupt Flag 2 1 read-only CMOF Cache Misses Overflow Interrupt Flag 3 1 read-only IFS Interrupt Flag Set Register 0x030 32 write-only 0x00000000 0x0000000F ERASE Erase Done Interrupt Set 0 1 write-only WRITE Write Done Interrupt Set 1 1 write-only CHOF Cache Hits Overflow Interrupt Set 2 1 write-only CMOF Cache Misses Overflow Interrupt Set 3 1 write-only IFC Interrupt Flag Clear Register 0x034 32 write-only 0x00000000 0x0000000F ERASE Erase Done Interrupt Clear 0 1 write-only WRITE Write Done Interrupt Clear 1 1 write-only CHOF Cache Hits Overflow Interrupt Clear 2 1 write-only CMOF Cache Misses Overflow Interrupt Clear 3 1 write-only IEN Interrupt Enable Register 0x038 32 read-write 0x00000000 0x0000000F ERASE Erase Done Interrupt Enable 0 1 read-write WRITE Write Done Interrupt Enable 1 1 read-write CHOF Cache Hits Overflow Interrupt Enable 2 1 read-write CMOF Cache Misses Overflow Interrupt Enable 3 1 read-write LOCK Configuration Lock Register 0x03C 32 read-write 0x00000000 0x0000FFFF LOCKKEY Configuration Lock 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 CMD Command Register 0x040 32 write-only 0x00000000 0x00000007 INVCACHE Invalidate Instruction Cache 0 1 write-only STARTPC Start Performance Counters 1 1 write-only STOPPC Stop Performance Counters 2 1 write-only CACHEHITS Cache Hits Performance Counter 0x044 32 read-only 0x00000000 0x000FFFFF CACHEHITS Cache hits since last performance counter start command. 0 20 read-only CACHEMISSES Cache Misses Performance Counter 0x048 32 read-only 0x00000000 0x000FFFFF CACHEMISSES Cache misses since last performance counter start command. 0 20 read-only TIMEBASE Flash Write and Erase Timebase 0x050 32 read-write 0x00000010 0x0001003F BASE Timebase used by MSC to time flash writes and erases 0 6 read-write PERIOD Sets the timebase period 16 1 read-write MASSLOCK Mass Erase Lock Register 0x054 32 read-write 0x00000001 0x0000FFFF LOCKKEY Mass Erase Lock 0 16 read-write UNLOCKED Mass erase unlocked. 0x00000000 LOCKED Mass erase locked. 0x00000001 IRQLATENCY Irq Latency Register 0x058 32 read-write 0x00000000 0x000000FF IRQLATENCY Irq Latency Register 0 8 read-write EMU EMU 0x400C6000 0 0x00000400 registers CTRL Control Register 0x000 32 read-write 0x00000000 0x0000000F EMVREG Energy Mode Voltage Regulator Control 0 1 read-write EM2BLOCK Energy Mode 2 Block 1 1 read-write EM4CTRL Energy Mode 4 Control 2 2 read-write LOCK Configuration Lock Register 0x008 32 read-write 0x00000000 0x0000FFFF LOCKKEY Configuration Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 AUXCTRL Auxiliary Control Register 0x024 32 read-write 0x00000000 0x00000001 HRCCLR Hard Reset Cause Clear 0 1 read-write RMU RMU 0x400CA000 0 0x00000400 registers CTRL Control Register 0x000 32 read-write 0x00000000 0x00000001 LOCKUPRDIS Lockup Reset Disable 0 1 read-write RSTCAUSE Reset Cause Register 0x004 32 read-only 0x00000000 0x000007FF PORST Power On Reset 0 1 read-only BODUNREGRST Brown Out Detector Unregulated Domain Reset 1 1 read-only BODREGRST Brown Out Detector Regulated Domain Reset 2 1 read-only EXTRST External Pin Reset 3 1 read-only WDOGRST Watchdog Reset 4 1 read-only LOCKUPRST LOCKUP Reset 5 1 read-only SYSREQRST System Request Reset 6 1 read-only EM4RST EM4 Reset 7 1 read-only EM4WURST EM4 Wake-up Reset 8 1 read-only BODAVDD0 AVDD0 Bod Reset 9 1 read-only BODAVDD1 AVDD1 Bod Reset 10 1 read-only CMD Command Register 0x008 32 write-only 0x00000000 0x00000001 RCCLR Reset Cause Clear 0 1 write-only CMU CMU 0x400C8000 0 0x00000400 registers CMU 13 CTRL CMU Control Register 0x000 32 read-write 0x000C262C 0x07FFFEEF HFXOMODE HFXO Mode 0 2 read-write XTAL 4-25 MHz crystal oscillator. 0x00000000 BUFEXTCLK An AC coupled buffer is coupled in series with HFXTAL_N, suitable for external sine wave (4-25 MHz). The sine wave should have a minimum of 200 mV peak to peak. 0x00000001 DIGEXTCLK Digital external clock on HFXTAL_N pin. Oscillator is effectively bypassed. 0x00000002 HFXOBOOST HFXO Start-up Boost Current 2 2 read-write 50PCENT 50 %. 0x00000000 70PCENT 70 %. 0x00000001 80PCENT 80 %. 0x00000002 100PCENT 100 % (default). 0x00000003 HFXOBUFCUR HFXO Boost Buffer Current 5 2 read-write HFXOGLITCHDETEN HFXO Glitch Detector Enable 7 1 read-write HFXOTIMEOUT HFXO Timeout 9 2 read-write 8CYCLES Timeout period of 8 cycles. 0x00000000 256CYCLES Timeout period of 256 cycles. 0x00000001 1KCYCLES Timeout period of 1024 cycles. 0x00000002 16KCYCLES Timeout period of 16384 cycles. 0x00000003 LFXOMODE LFXO Mode 11 2 read-write XTAL 32.768 kHz crystal oscillator. 0x00000000 BUFEXTCLK An AC coupled buffer is coupled in series with LFXTAL_N pin, suitable for external sinus wave (32.768 kHz). 0x00000001 DIGEXTCLK Digital external clock on LFXTAL_N pin. Oscillator is effectively bypassed. 0x00000002 LFXOBOOST LFXO Start-up Boost Current 13 1 read-write HFCLKDIV HFCLK Division 14 3 read-write LFXOBUFCUR LFXO Boost Buffer Current 17 1 read-write LFXOTIMEOUT LFXO Timeout 18 2 read-write 8CYCLES Timeout period of 8 cycles. 0x00000000 1KCYCLES Timeout period of 1024 cycles. 0x00000001 16KCYCLES Timeout period of 16384 cycles. 0x00000002 32KCYCLES Timeout period of 32768 cycles. 0x00000003 CLKOUTSEL0 Clock Output Select 0 20 3 read-write HFRCO HFRCO (directly from oscillator). 0x00000000 HFXO HFXO (directly from oscillator). 0x00000001 HFCLK2 HFCLK/2. 0x00000002 HFCLK4 HFCLK/4. 0x00000003 HFCLK8 HFCLK/8. 0x00000004 HFCLK16 HFCLK/16. 0x00000005 ULFRCO ULFRCO (directly from oscillator). 0x00000006 AUXHFRCO AUXHFRCO (directly from oscillator). 0x00000007 CLKOUTSEL1 Clock Output Select 1 23 4 read-write LFRCO LFRCO (directly from oscillator). 0x00000000 LFXO LFXO (directly from oscillator). 0x00000001 HFCLK HFCLK (undivided). 0x00000002 LFXOQ LFXO (qualified). 0x00000003 HFXOQ HFXO (qualified). 0x00000004 LFRCOQ LFRCO (qualified). 0x00000005 HFRCOQ HFRCO (qualified). 0x00000006 AUXHFRCOQ AUXHFRCO (qualified). 0x00000007 USHFRCO USHFRCO 0x00000008 HFCORECLKDIV High Frequency Core Clock Division Register 0x004 32 read-write 0x00000000 0x0000010F HFCORECLKDIV HFCORECLK Divider 0 4 read-write HFCLK HFCORECLK = HFCLK. 0x00000000 HFCLK2 HFCORECLK = HFCLK/2. 0x00000001 HFCLK4 HFCORECLK = HFCLK/4. 0x00000002 HFCLK8 HFCORECLK = HFCLK/8. 0x00000003 HFCLK16 HFCORECLK = HFCLK/16. 0x00000004 HFCLK32 HFCORECLK = HFCLK/32. 0x00000005 HFCLK64 HFCORECLK = HFCLK/64. 0x00000006 HFCLK128 HFCORECLK = HFCLK/128. 0x00000007 HFCLK256 HFCORECLK = HFCLK/256. 0x00000008 HFCLK512 HFCORECLK = HFCLK/512. 0x00000009 HFCORECLKLEDIV Additional Division Factor For HFCORECLKLE 8 1 read-write HFPERCLKDIV High Frequency Peripheral Clock Division Register 0x008 32 read-write 0x00000100 0x0000010F HFPERCLKDIV HFPERCLK Divider 0 4 read-write HFCLK HFPERCLK = HFCLK. 0x00000000 HFCLK2 HFPERCLK = HFCLK/2. 0x00000001 HFCLK4 HFPERCLK = HFCLK/4. 0x00000002 HFCLK8 HFPERCLK = HFCLK/8. 0x00000003 HFCLK16 HFPERCLK = HFCLK/16. 0x00000004 HFCLK32 HFPERCLK = HFCLK/32. 0x00000005 HFCLK64 HFPERCLK = HFCLK/64. 0x00000006 HFCLK128 HFPERCLK = HFCLK/128. 0x00000007 HFCLK256 HFPERCLK = HFCLK/256. 0x00000008 HFCLK512 HFPERCLK = HFCLK/512. 0x00000009 HFPERCLKEN HFPERCLK Enable 8 1 read-write HFRCOCTRL HFRCO Control Register 0x00C 32 read-write 0x00000380 0x0001F7FF TUNING HFRCO Tuning Value 0 8 read-write BAND HFRCO Band Select 8 3 read-write 1MHZ 1 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000000 7MHZ 7 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000001 11MHZ 11 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000002 14MHZ 14 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000003 21MHZ 21 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000004 SUDELAY HFRCO Start-up Delay 12 5 read-write LFRCOCTRL LFRCO Control Register 0x010 32 read-write 0x00000040 0x0000007F TUNING LFRCO Tuning Value 0 7 read-write AUXHFRCOCTRL AUXHFRCO Control Register 0x014 32 read-write 0x00000080 0x000007FF TUNING AUXHFRCO Tuning Value 0 8 read-write BAND AUXHFRCO Band Select 8 3 read-write 14MHZ 14 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000000 11MHZ 11 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000001 7MHZ 7 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000002 1MHZ 1 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000003 21MHZ 21 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000007 CALCTRL Calibration Control Register 0x018 32 read-write 0x00000000 0x0000007F UPSEL Calibration Up-counter Select 0 3 read-write HFXO Select HFXO as up-counter. 0x00000000 LFXO Select LFXO as up-counter. 0x00000001 HFRCO Select HFRCO as up-counter. 0x00000002 LFRCO Select LFRCO as up-counter. 0x00000003 AUXHFRCO Select AUXHFRCO as up-counter. 0x00000004 USHFRCO Select USHFRCO as up-counter. 0x00000005 DOWNSEL Calibration Down-counter Select 3 3 read-write HFCLK Select HFCLK for down-counter. 0x00000000 HFXO Select HFXO for down-counter. 0x00000001 LFXO Select LFXO for down-counter. 0x00000002 HFRCO Select HFRCO for down-counter. 0x00000003 LFRCO Select LFRCO for down-counter. 0x00000004 AUXHFRCO Select AUXHFRCO for down-counter. 0x00000005 USHFRCO Select USHFRCO for down-counter. 0x00000006 CONT Continuous Calibration 6 1 read-write CALCNT Calibration Counter Register 0x01C 32 read-write 0x00000000 0x000FFFFF CALCNT Calibration Counter 0 20 read-write OSCENCMD Oscillator Enable/Disable Command Register 0x020 32 write-only 0x00000000 0x00000FFF HFRCOEN HFRCO Enable 0 1 write-only HFRCODIS HFRCO Disable 1 1 write-only HFXOEN HFXO Enable 2 1 write-only HFXODIS HFXO Disable 3 1 write-only AUXHFRCOEN AUXHFRCO Enable 4 1 write-only AUXHFRCODIS AUXHFRCO Disable 5 1 write-only LFRCOEN LFRCO Enable 6 1 write-only LFRCODIS LFRCO Disable 7 1 write-only LFXOEN LFXO Enable 8 1 write-only LFXODIS LFXO Disable 9 1 write-only USHFRCOEN USHFRCO Enable 10 1 write-only USHFRCODIS USHFRCO Disable 11 1 write-only CMD Command Register 0x024 32 write-only 0x00000000 0x000000FF HFCLKSEL HFCLK Select 0 3 write-only HFRCO Select HFRCO as HFCLK. 0x00000001 HFXO Select HFXO as HFCLK. 0x00000002 LFRCO Select LFRCO as HFCLK. 0x00000003 LFXO Select LFXO as HFCLK. 0x00000004 USHFRCODIV2 Select USHFRCO divided by two as HFCLK. 0x00000005 CALSTART Calibration Start 3 1 write-only CALSTOP Calibration Stop 4 1 write-only USBCCLKSEL USB Core Clock Select 5 3 write-only LFXO Select LFXO as HFCORECLKUSBC. 0x00000002 LFRCO Select LFRCO as HFCORECLKUSBC. 0x00000003 USHFRCO Select USHFRCO as HFCORECLKUSBC. 0x00000004 LFCLKSEL Low Frequency Clock Select Register 0x028 32 read-write 0x00000015 0x0011003F LFA Clock Select for LFA 0 2 read-write DISABLED LFACLK is disabled 0x00000000 LFRCO LFRCO selected as LFACLK 0x00000001 LFXO LFXO selected as LFACLK 0x00000002 HFCORECLKLEDIV2 HFCORECLKLE divided by two or four is selected as LFACLK. The division factor is determined by CMU_CTRL_HFLE and CMU_HFCORECLKDIV_HFCORECLKLEDIV. 0x00000003 LFB Clock Select for LFB 2 2 read-write DISABLED LFBCLK is disabled 0x00000000 LFRCO LFRCO selected as LFBCLK 0x00000001 LFXO LFXO selected as LFBCLK 0x00000002 HFCORECLKLEDIV2 HFCORECLKLE divided by two or four is selected as LFACLK. The division factor is determined by CMU_CTRL_HFLE and CMU_HFCORECLKDIV_HFCORECLKLEDIV. 0x00000003 LFC Clock Select for LFC 4 2 read-write DISABLED LFCCLK clock disabled. 0x00000000 LFRCO LFRCO selected as LFCCLK clock 0x00000001 LFXO LFXO selected as LFCCLK clock 0x00000002 LFAE Clock Select for LFA Extended 16 1 read-write LFBE Clock Select for LFB Extended 20 1 read-write STATUS Status Register 0x02C 32 read-only 0x00000403 0x04F77FFF HFRCOENS HFRCO Enable Status 0 1 read-only HFRCORDY HFRCO Ready 1 1 read-only HFXOENS HFXO Enable Status 2 1 read-only HFXORDY HFXO Ready 3 1 read-only AUXHFRCOENS AUXHFRCO Enable Status 4 1 read-only AUXHFRCORDY AUXHFRCO Ready 5 1 read-only LFRCOENS LFRCO Enable Status 6 1 read-only LFRCORDY LFRCO Ready 7 1 read-only LFXOENS LFXO Enable Status 8 1 read-only LFXORDY LFXO Ready 9 1 read-only HFRCOSEL HFRCO Selected 10 1 read-only HFXOSEL HFXO Selected 11 1 read-only LFRCOSEL LFRCO Selected 12 1 read-only LFXOSEL LFXO Selected 13 1 read-only CALBSY Calibration Busy 14 1 read-only USBCLFXOSEL USBC LFXO Selected 16 1 read-only USBCLFRCOSEL USBC LFRCO Selected 17 1 read-only USBCUSHFRCOSEL USBC USHFRCO Selected 18 1 read-only USBCHFCLKSYNC USBC is synchronous to HFCLK 20 1 read-only USHFRCOENS USHFRCO Enable Status 21 1 read-only USHFRCORDY USHFRCO Ready 22 1 read-only USHFRCOSUSPEND USHFRCO is suspended 23 1 read-only USHFRCODIV2SEL USHFRCODIV2 Selected 26 1 read-only IF Interrupt Flag Register 0x030 32 read-only 0x00000001 0x0000037F HFRCORDY HFRCO Ready Interrupt Flag 0 1 read-only HFXORDY HFXO Ready Interrupt Flag 1 1 read-only LFRCORDY LFRCO Ready Interrupt Flag 2 1 read-only LFXORDY LFXO Ready Interrupt Flag 3 1 read-only AUXHFRCORDY AUXHFRCO Ready Interrupt Flag 4 1 read-only CALRDY Calibration Ready Interrupt Flag 5 1 read-only CALOF Calibration Overflow Interrupt Flag 6 1 read-only USHFRCORDY USHFRCO Ready Interrupt Flag 8 1 read-only USBCHFOSCSEL USBC HF-oscillator Selected Interrupt Flag 9 1 read-only IFS Interrupt Flag Set Register 0x034 32 write-only 0x00000000 0x0000037F HFRCORDY HFRCO Ready Interrupt Flag Set 0 1 write-only HFXORDY HFXO Ready Interrupt Flag Set 1 1 write-only LFRCORDY LFRCO Ready Interrupt Flag Set 2 1 write-only LFXORDY LFXO Ready Interrupt Flag Set 3 1 write-only AUXHFRCORDY AUXHFRCO Ready Interrupt Flag Set 4 1 write-only CALRDY Calibration Ready Interrupt Flag Set 5 1 write-only CALOF Calibration Overflow Interrupt Flag Set 6 1 write-only USHFRCORDY USHFRCO Ready Interrupt Flag Set 8 1 write-only USBCHFOSCSEL USBC HF-oscillator Selected Interrupt Flag Set 9 1 write-only IFC Interrupt Flag Clear Register 0x038 32 write-only 0x00000000 0x0000037F HFRCORDY HFRCO Ready Interrupt Flag Clear 0 1 write-only HFXORDY HFXO Ready Interrupt Flag Clear 1 1 write-only LFRCORDY LFRCO Ready Interrupt Flag Clear 2 1 write-only LFXORDY LFXO Ready Interrupt Flag Clear 3 1 write-only AUXHFRCORDY AUXHFRCO Ready Interrupt Flag Clear 4 1 write-only CALRDY Calibration Ready Interrupt Flag Clear 5 1 write-only CALOF Calibration Overflow Interrupt Flag Clear 6 1 write-only USHFRCORDY USHFRCO Ready Interrupt Flag Clear 8 1 write-only USBCHFOSCSEL USBC HF-oscillator Selected Interrupt Flag Clear 9 1 write-only IEN Interrupt Enable Register 0x03C 32 read-write 0x00000000 0x0000037F HFRCORDY HFRCO Ready Interrupt Enable 0 1 read-write HFXORDY HFXO Ready Interrupt Enable 1 1 read-write LFRCORDY LFRCO Ready Interrupt Enable 2 1 read-write LFXORDY LFXO Ready Interrupt Enable 3 1 read-write AUXHFRCORDY AUXHFRCO Ready Interrupt Enable 4 1 read-write CALRDY Calibration Ready Interrupt Enable 5 1 read-write CALOF Calibration Overflow Interrupt Enable 6 1 read-write USHFRCORDY USHFRCO Ready Interrupt Enable 8 1 read-write USBCHFOSCSEL USBC HF-oscillator Selected Interrupt Flag Clear 9 1 read-write HFCORECLKEN0 High Frequency Core Clock Enable Register 0 0x040 32 read-write 0x00000000 0x0000001F AES Advanced Encryption Standard Accelerator Clock Enable 0 1 read-write DMA Direct Memory Access Controller Clock Enable 1 1 read-write LE Low Energy Peripheral Interface Clock Enable 2 1 read-write USBC Universal Serial Bus Interface Core Clock Enable 3 1 read-write USB Universal Serial Bus Interface Clock Enable 4 1 read-write HFPERCLKEN0 High Frequency Peripheral Clock Enable Register 0 0x044 32 read-write 0x00000000 0x00000FFF TIMER0 Timer 0 Clock Enable 0 1 read-write TIMER1 Timer 1 Clock Enable 1 1 read-write TIMER2 Timer 2 Clock Enable 2 1 read-write USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 Clock Enable 3 1 read-write USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 Clock Enable 4 1 read-write ACMP0 Analog Comparator 0 Clock Enable 5 1 read-write PRS Peripheral Reflex System Clock Enable 6 1 read-write IDAC0 Current Digital to Analog Converter 0 Clock Enable 7 1 read-write GPIO General purpose Input/Output Clock Enable 8 1 read-write VCMP Voltage Comparator Clock Enable 9 1 read-write ADC0 Analog to Digital Converter 0 Clock Enable 10 1 read-write I2C0 I2C 0 Clock Enable 11 1 read-write SYNCBUSY Synchronization Busy Register 0x050 32 read-only 0x00000000 0x00000155 LFACLKEN0 Low Frequency A Clock Enable 0 Busy 0 1 read-only LFAPRESC0 Low Frequency A Prescaler 0 Busy 2 1 read-only LFBCLKEN0 Low Frequency B Clock Enable 0 Busy 4 1 read-only LFBPRESC0 Low Frequency B Prescaler 0 Busy 6 1 read-only LFCCLKEN0 Low Frequency C Clock Enable 0 Busy 8 1 read-only FREEZE Freeze Register 0x054 32 read-write 0x00000000 0x00000001 REGFREEZE Register Update Freeze 0 1 read-write LFACLKEN0 Low Frequency A Clock Enable Register 0 (Async Reg) 0x058 32 read-write 0x00000000 0x00000001 RTC Real-Time Counter Clock Enable 0 1 read-write LFBCLKEN0 Low Frequency B Clock Enable Register 0 (Async Reg) 0x060 32 read-write 0x00000000 0x00000001 LEUART0 Low Energy UART 0 Clock Enable 0 1 read-write LFCCLKEN0 Low Frequency C Clock Enable Register 0 (Async Reg) 0x064 32 read-write 0x00000000 0x00000001 USBLE Universal Serial Bus Low Energy Clock Clock Enable 0 1 read-write LFAPRESC0 Low Frequency A Prescaler Register 0 (Async Reg) 0x068 32 read-write 0x00000000 0x0000000F RTC Real-Time Counter Prescaler 0 4 read-write DIV1 LFACLKRTC = LFACLK 0x00000000 DIV2 LFACLKRTC = LFACLK/2 0x00000001 DIV4 LFACLKRTC = LFACLK/4 0x00000002 DIV8 LFACLKRTC = LFACLK/8 0x00000003 DIV16 LFACLKRTC = LFACLK/16 0x00000004 DIV32 LFACLKRTC = LFACLK/32 0x00000005 DIV64 LFACLKRTC = LFACLK/64 0x00000006 DIV128 LFACLKRTC = LFACLK/128 0x00000007 DIV256 LFACLKRTC = LFACLK/256 0x00000008 DIV512 LFACLKRTC = LFACLK/512 0x00000009 DIV1024 LFACLKRTC = LFACLK/1024 0x0000000A DIV2048 LFACLKRTC = LFACLK/2048 0x0000000B DIV4096 LFACLKRTC = LFACLK/4096 0x0000000C DIV8192 LFACLKRTC = LFACLK/8192 0x0000000D DIV16384 LFACLKRTC = LFACLK/16384 0x0000000E DIV32768 LFACLKRTC = LFACLK/32768 0x0000000F LFBPRESC0 Low Frequency B Prescaler Register 0 (Async Reg) 0x070 32 read-write 0x00000000 0x00000003 LEUART0 Low Energy UART 0 Prescaler 0 2 read-write DIV1 LFBCLKLEUART0 = LFBCLK 0x00000000 DIV2 LFBCLKLEUART0 = LFBCLK/2 0x00000001 DIV4 LFBCLKLEUART0 = LFBCLK/4 0x00000002 DIV8 LFBCLKLEUART0 = LFBCLK/8 0x00000003 PCNTCTRL PCNT Control Register 0x078 32 read-write 0x00000000 0x00000003 PCNT0CLKEN PCNT0 Clock Enable 0 1 read-write PCNT0CLKSEL PCNT0 Clock Select 1 1 read-write ROUTE I/O Routing Register 0x080 32 read-write 0x00000000 0x0000001F CLKOUT0PEN CLKOUT0 Pin Enable 0 1 read-write CLKOUT1PEN CLKOUT1 Pin Enable 1 1 read-write LOCATION I/O Location 2 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOCK Configuration Lock Register 0x084 32 read-write 0x00000000 0x0000FFFF LOCKKEY Configuration Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 USBCRCTRL USB Clock Recovery Control 0x0D0 32 read-write 0x00000000 0x00000003 EN Clock Recovery Enable 0 1 read-write LSMODE Low Speed Clock Recovery Mode 1 1 read-write USHFRCOCTRL USHFRCO Control 0x0D4 32 read-write 0x000FF040 0x000FF37F TUNING USHFRCO frequency adjust 0 7 read-write DITHEN USHFRCO dither enable 8 1 read-write SUSPEND USHFRCO suspend 9 1 read-write TIMEOUT USHFRCO Timeout 12 8 read-write USHFRCOTUNE USHFRCO Frequency Tune 0x0D8 32 read-write 0x00000020 0x0000003F FINETUNING Oscillator fine frequency adjust 0 6 read-write USHFRCOCONF USHFRCO Configuration 0x0DC 32 read-write 0x00000001 0x00000017 BAND USHFRCO Band Select 0 3 read-write 48MHZ 48 MHz band. NOTE: Also set the TUNING and FINETUNING value when changing band. 0x00000001 24MHZ 24 MHz band. NOTE: Also set the TUNING and FINETUNING value when changing band. 0x00000003 USHFRCODIV2DIS USHFRCO divider for HFCLK disable 4 1 read-write TIMER0 TIMER0 0x40010000 0 0x00000400 registers TIMER0 2 CTRL Control Register 0x000 32 read-write 0x00000000 0x3F032FFB MODE Timer Mode 0 2 read-write UP Up-count mode 0x00000000 DOWN Down-count mode 0x00000001 UPDOWN Up/down-count mode 0x00000002 QDEC Quadrature decoder mode 0x00000003 SYNC Timer Start/Stop/Reload Synchronization 3 1 read-write OSMEN One-shot Mode Enable 4 1 read-write QDM Quadrature Decoder Mode Selection 5 1 read-write DEBUGRUN Debug Mode Run Enable 6 1 read-write DMACLRACT DMA Request Clear on Active 7 1 read-write RISEA Timer Rising Input Edge Action 8 2 read-write NONE No action 0x00000000 START Start counter without reload 0x00000001 STOP Stop counter without reload 0x00000002 RELOADSTART Reload and start counter 0x00000003 FALLA Timer Falling Input Edge Action 10 2 read-write NONE No action 0x00000000 START Start counter without reload 0x00000001 STOP Stop counter without reload 0x00000002 RELOADSTART Reload and start counter 0x00000003 X2CNT 2x Count Mode 13 1 read-write CLKSEL Clock Source Select 16 2 read-write PRESCHFPERCLK Prescaled HFPERCLK 0x00000000 CC1 Compare/Capture Channel 1 Input 0x00000001 TIMEROUF Timer is clocked by underflow(down-count) or overflow(up-count) in the lower numbered neighbor Timer 0x00000002 PRESC Prescaler Setting 24 4 read-write DIV1 The HFPERCLK is undivided 0x00000000 DIV2 The HFPERCLK is divided by 2 0x00000001 DIV4 The HFPERCLK is divided by 4 0x00000002 DIV8 The HFPERCLK is divided by 8 0x00000003 DIV16 The HFPERCLK is divided by 16 0x00000004 DIV32 The HFPERCLK is divided by 32 0x00000005 DIV64 The HFPERCLK is divided by 64 0x00000006 DIV128 The HFPERCLK is divided by 128 0x00000007 DIV256 The HFPERCLK is divided by 256 0x00000008 DIV512 The HFPERCLK is divided by 512 0x00000009 DIV1024 The HFPERCLK is divided by 1024 0x0000000A ATI Always Track Inputs 28 1 read-write RSSCOIST Reload-Start Sets Compare Output initial State 29 1 read-write CMD Command Register 0x004 32 write-only 0x00000000 0x00000003 START Start Timer 0 1 write-only STOP Stop Timer 1 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x07070707 RUNNING Running 0 1 read-only DIR Direction 1 1 read-only TOPBV TOPB Valid 2 1 read-only CCVBV0 CC0 CCVB Valid 8 1 read-only CCVBV1 CC1 CCVB Valid 9 1 read-only CCVBV2 CC2 CCVB Valid 10 1 read-only ICV0 CC0 Input Capture Valid 16 1 read-only ICV1 CC1 Input Capture Valid 17 1 read-only ICV2 CC2 Input Capture Valid 18 1 read-only CCPOL0 CC0 Polarity 24 1 read-only CCPOL1 CC1 Polarity 25 1 read-only CCPOL2 CC2 Polarity 26 1 read-only IEN Interrupt Enable Register 0x00C 32 read-write 0x00000000 0x00000773 OF Overflow Interrupt Enable 0 1 read-write UF Underflow Interrupt Enable 1 1 read-write CC0 CC Channel 0 Interrupt Enable 4 1 read-write CC1 CC Channel 1 Interrupt Enable 5 1 read-write CC2 CC Channel 2 Interrupt Enable 6 1 read-write ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Enable 8 1 read-write ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Enable 9 1 read-write ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Enable 10 1 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000773 OF Overflow Interrupt Flag 0 1 read-only UF Underflow Interrupt Flag 1 1 read-only CC0 CC Channel 0 Interrupt Flag 4 1 read-only CC1 CC Channel 1 Interrupt Flag 5 1 read-only CC2 CC Channel 2 Interrupt Flag 6 1 read-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag 8 1 read-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag 9 1 read-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag 10 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000773 OF Overflow Interrupt Flag Set 0 1 write-only UF Underflow Interrupt Flag Set 1 1 write-only CC0 CC Channel 0 Interrupt Flag Set 4 1 write-only CC1 CC Channel 1 Interrupt Flag Set 5 1 write-only CC2 CC Channel 2 Interrupt Flag Set 6 1 write-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag Set 8 1 write-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag Set 9 1 write-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag Set 10 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000773 OF Overflow Interrupt Flag Clear 0 1 write-only UF Underflow Interrupt Flag Clear 1 1 write-only CC0 CC Channel 0 Interrupt Flag Clear 4 1 write-only CC1 CC Channel 1 Interrupt Flag Clear 5 1 write-only CC2 CC Channel 2 Interrupt Flag Clear 6 1 write-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag Clear 8 1 write-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag Clear 9 1 write-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag Clear 10 1 write-only TOP Counter Top Value Register 0x01C 32 read-write 0x0000FFFF 0x0000FFFF TOP Counter Top Value 0 16 read-write TOPB Counter Top Value Buffer Register 0x020 32 read-write 0x00000000 0x0000FFFF TOPB Counter Top Value Buffer 0 16 read-write CNT Counter Value Register 0x024 32 read-write 0x00000000 0x0000FFFF CNT Counter Value 0 16 read-write ROUTE I/O Routing Register 0x028 32 read-write 0x00000000 0x00070707 CC0PEN CC Channel 0 Pin Enable 0 1 read-write CC1PEN CC Channel 1 Pin Enable 1 1 read-write CC2PEN CC Channel 2 Pin Enable 2 1 read-write CDTI0PEN CC Channel 0 Complementary Dead-Time Insertion Pin Enable 8 1 read-write CDTI1PEN CC Channel 1 Complementary Dead-Time Insertion Pin Enable 9 1 read-write CDTI2PEN CC Channel 2 Complementary Dead-Time Insertion Pin Enable 10 1 read-write LOCATION I/O Location 16 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 LOC6 Location 6 0x00000006 CC0_CTRL CC Channel Control Register 0x030 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC0_CCV CC Channel Value Register 0x034 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC0_CCVP CC Channel Value Peek Register 0x038 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC0_CCVB CC Channel Buffer Register 0x03C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write CC1_CTRL CC Channel Control Register 0x040 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC1_CCV CC Channel Value Register 0x044 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC1_CCVP CC Channel Value Peek Register 0x048 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC1_CCVB CC Channel Buffer Register 0x04C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write CC2_CTRL CC Channel Control Register 0x050 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC2_CCV CC Channel Value Register 0x054 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC2_CCVP CC Channel Value Peek Register 0x058 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC2_CCVB CC Channel Buffer Register 0x05C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write DTCTRL DTI Control Register 0x070 32 read-write 0x00000000 0x0100007F DTEN DTI Enable 0 1 read-write DTDAS DTI Automatic Start-up Functionality 1 1 read-write DTIPOL DTI Inactive Polarity 2 1 read-write DTCINV DTI Complementary Output Invert. 3 1 read-write DTPRSSEL DTI PRS Source Channel Select 4 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 DTPRSEN DTI PRS Source Enable 24 1 read-write DTTIME DTI Time Control Register 0x074 32 read-write 0x00000000 0x003F3F0F DTPRESC DTI Prescaler Setting 0 4 read-write DIV1 The HFPERCLK is undivided 0x00000000 DIV2 The HFPERCLK is divided by 2 0x00000001 DIV4 The HFPERCLK is divided by 4 0x00000002 DIV8 The HFPERCLK is divided by 8 0x00000003 DIV16 The HFPERCLK is divided by 16 0x00000004 DIV32 The HFPERCLK is divided by 32 0x00000005 DIV64 The HFPERCLK is divided by 64 0x00000006 DIV128 The HFPERCLK is divided by 128 0x00000007 DIV256 The HFPERCLK is divided by 256 0x00000008 DIV512 The HFPERCLK is divided by 512 0x00000009 DIV1024 The HFPERCLK is divided by 1024 0x0000000A DTRISET DTI Rise-time 8 6 read-write DTFALLT DTI Fall-time 16 6 read-write DTFC DTI Fault Configuration Register 0x078 32 read-write 0x00000000 0x0F030707 DTPRS0FSEL DTI PRS Fault Source 0 Select 0 3 read-write PRSCH0 PRS Channel 0 selected as fault source 0 0x00000000 PRSCH1 PRS Channel 1 selected as fault source 0 0x00000001 PRSCH2 PRS Channel 2 selected as fault source 0 0x00000002 PRSCH3 PRS Channel 3 selected as fault source 0 0x00000003 PRSCH4 PRS Channel 4 selected as fault source 0 0x00000004 PRSCH5 PRS Channel 5 selected as fault source 0 0x00000005 PRSCH6 PRS Channel 6 selected as fault source 0 0x00000006 PRSCH7 PRS Channel 7 selected as fault source 0 0x00000007 DTPRS1FSEL DTI PRS Fault Source 1 Select 8 3 read-write PRSCH0 PRS Channel 0 selected as fault source 1 0x00000000 PRSCH1 PRS Channel 1 selected as fault source 1 0x00000001 PRSCH2 PRS Channel 2 selected as fault source 1 0x00000002 PRSCH3 PRS Channel 3 selected as fault source 1 0x00000003 PRSCH4 PRS Channel 4 selected as fault source 1 0x00000004 PRSCH5 PRS Channel 5 selected as fault source 1 0x00000005 PRSCH6 PRS Channel 6 selected as fault source 1 0x00000006 PRSCH7 PRS Channel 7 selected as fault source 1 0x00000007 DTFA DTI Fault Action 16 2 read-write NONE No action on fault 0x00000000 INACTIVE Set outputs inactive 0x00000001 CLEAR Clear outputs 0x00000002 TRISTATE Tristate outputs 0x00000003 DTPRS0FEN DTI PRS 0 Fault Enable 24 1 read-write DTPRS1FEN DTI PRS 1 Fault Enable 25 1 read-write DTDBGFEN DTI Debugger Fault Enable 26 1 read-write DTLOCKUPFEN DTI Lockup Fault Enable 27 1 read-write DTOGEN DTI Output Generation Enable Register 0x07C 32 read-write 0x00000000 0x0000003F DTOGCC0EN DTI CC0 Output Generation Enable 0 1 read-write DTOGCC1EN DTI CC1 Output Generation Enable 1 1 read-write DTOGCC2EN DTI CC2 Output Generation Enable 2 1 read-write DTOGCDTI0EN DTI CDTI0 Output Generation Enable 3 1 read-write DTOGCDTI1EN DTI CDTI1 Output Generation Enable 4 1 read-write DTOGCDTI2EN DTI CDTI2 Output Generation Enable 5 1 read-write DTFAULT DTI Fault Register 0x080 32 read-only 0x00000000 0x0000000F DTPRS0F DTI PRS 0 Fault 0 1 read-only DTPRS1F DTI PRS 1 Fault 1 1 read-only DTDBGF DTI Debugger Fault 2 1 read-only DTLOCKUPF DTI Lockup Fault 3 1 read-only DTFAULTC DTI Fault Clear Register 0x084 32 write-only 0x00000000 0x0000000F DTPRS0FC DTI PRS0 Fault Clear 0 1 write-only DTPRS1FC DTI PRS1 Fault Clear 1 1 write-only DTDBGFC DTI Debugger Fault Clear 2 1 write-only TLOCKUPFC DTI Lockup Fault Clear 3 1 write-only DTLOCK DTI Configuration Lock Register 0x088 32 read-write 0x00000000 0x0000FFFF LOCKKEY DTI Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 TIMER1 TIMER1 0x40010400 0 0x00000400 registers TIMER1 7 CTRL Control Register 0x000 32 read-write 0x00000000 0x3F032FFB MODE Timer Mode 0 2 read-write UP Up-count mode 0x00000000 DOWN Down-count mode 0x00000001 UPDOWN Up/down-count mode 0x00000002 QDEC Quadrature decoder mode 0x00000003 SYNC Timer Start/Stop/Reload Synchronization 3 1 read-write OSMEN One-shot Mode Enable 4 1 read-write QDM Quadrature Decoder Mode Selection 5 1 read-write DEBUGRUN Debug Mode Run Enable 6 1 read-write DMACLRACT DMA Request Clear on Active 7 1 read-write RISEA Timer Rising Input Edge Action 8 2 read-write NONE No action 0x00000000 START Start counter without reload 0x00000001 STOP Stop counter without reload 0x00000002 RELOADSTART Reload and start counter 0x00000003 FALLA Timer Falling Input Edge Action 10 2 read-write NONE No action 0x00000000 START Start counter without reload 0x00000001 STOP Stop counter without reload 0x00000002 RELOADSTART Reload and start counter 0x00000003 X2CNT 2x Count Mode 13 1 read-write CLKSEL Clock Source Select 16 2 read-write PRESCHFPERCLK Prescaled HFPERCLK 0x00000000 CC1 Compare/Capture Channel 1 Input 0x00000001 TIMEROUF Timer is clocked by underflow(down-count) or overflow(up-count) in the lower numbered neighbor Timer 0x00000002 PRESC Prescaler Setting 24 4 read-write DIV1 The HFPERCLK is undivided 0x00000000 DIV2 The HFPERCLK is divided by 2 0x00000001 DIV4 The HFPERCLK is divided by 4 0x00000002 DIV8 The HFPERCLK is divided by 8 0x00000003 DIV16 The HFPERCLK is divided by 16 0x00000004 DIV32 The HFPERCLK is divided by 32 0x00000005 DIV64 The HFPERCLK is divided by 64 0x00000006 DIV128 The HFPERCLK is divided by 128 0x00000007 DIV256 The HFPERCLK is divided by 256 0x00000008 DIV512 The HFPERCLK is divided by 512 0x00000009 DIV1024 The HFPERCLK is divided by 1024 0x0000000A ATI Always Track Inputs 28 1 read-write RSSCOIST Reload-Start Sets Compare Output initial State 29 1 read-write CMD Command Register 0x004 32 write-only 0x00000000 0x00000003 START Start Timer 0 1 write-only STOP Stop Timer 1 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x07070707 RUNNING Running 0 1 read-only DIR Direction 1 1 read-only TOPBV TOPB Valid 2 1 read-only CCVBV0 CC0 CCVB Valid 8 1 read-only CCVBV1 CC1 CCVB Valid 9 1 read-only CCVBV2 CC2 CCVB Valid 10 1 read-only ICV0 CC0 Input Capture Valid 16 1 read-only ICV1 CC1 Input Capture Valid 17 1 read-only ICV2 CC2 Input Capture Valid 18 1 read-only CCPOL0 CC0 Polarity 24 1 read-only CCPOL1 CC1 Polarity 25 1 read-only CCPOL2 CC2 Polarity 26 1 read-only IEN Interrupt Enable Register 0x00C 32 read-write 0x00000000 0x00000773 OF Overflow Interrupt Enable 0 1 read-write UF Underflow Interrupt Enable 1 1 read-write CC0 CC Channel 0 Interrupt Enable 4 1 read-write CC1 CC Channel 1 Interrupt Enable 5 1 read-write CC2 CC Channel 2 Interrupt Enable 6 1 read-write ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Enable 8 1 read-write ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Enable 9 1 read-write ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Enable 10 1 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000773 OF Overflow Interrupt Flag 0 1 read-only UF Underflow Interrupt Flag 1 1 read-only CC0 CC Channel 0 Interrupt Flag 4 1 read-only CC1 CC Channel 1 Interrupt Flag 5 1 read-only CC2 CC Channel 2 Interrupt Flag 6 1 read-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag 8 1 read-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag 9 1 read-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag 10 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000773 OF Overflow Interrupt Flag Set 0 1 write-only UF Underflow Interrupt Flag Set 1 1 write-only CC0 CC Channel 0 Interrupt Flag Set 4 1 write-only CC1 CC Channel 1 Interrupt Flag Set 5 1 write-only CC2 CC Channel 2 Interrupt Flag Set 6 1 write-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag Set 8 1 write-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag Set 9 1 write-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag Set 10 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000773 OF Overflow Interrupt Flag Clear 0 1 write-only UF Underflow Interrupt Flag Clear 1 1 write-only CC0 CC Channel 0 Interrupt Flag Clear 4 1 write-only CC1 CC Channel 1 Interrupt Flag Clear 5 1 write-only CC2 CC Channel 2 Interrupt Flag Clear 6 1 write-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag Clear 8 1 write-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag Clear 9 1 write-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag Clear 10 1 write-only TOP Counter Top Value Register 0x01C 32 read-write 0x0000FFFF 0x0000FFFF TOP Counter Top Value 0 16 read-write TOPB Counter Top Value Buffer Register 0x020 32 read-write 0x00000000 0x0000FFFF TOPB Counter Top Value Buffer 0 16 read-write CNT Counter Value Register 0x024 32 read-write 0x00000000 0x0000FFFF CNT Counter Value 0 16 read-write ROUTE I/O Routing Register 0x028 32 read-write 0x00000000 0x00070707 CC0PEN CC Channel 0 Pin Enable 0 1 read-write CC1PEN CC Channel 1 Pin Enable 1 1 read-write CC2PEN CC Channel 2 Pin Enable 2 1 read-write CDTI0PEN CC Channel 0 Complementary Dead-Time Insertion Pin Enable 8 1 read-write CDTI1PEN CC Channel 1 Complementary Dead-Time Insertion Pin Enable 9 1 read-write CDTI2PEN CC Channel 2 Complementary Dead-Time Insertion Pin Enable 10 1 read-write LOCATION I/O Location 16 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 LOC6 Location 6 0x00000006 CC0_CTRL CC Channel Control Register 0x030 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC0_CCV CC Channel Value Register 0x034 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC0_CCVP CC Channel Value Peek Register 0x038 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC0_CCVB CC Channel Buffer Register 0x03C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write CC1_CTRL CC Channel Control Register 0x040 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC1_CCV CC Channel Value Register 0x044 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC1_CCVP CC Channel Value Peek Register 0x048 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC1_CCVB CC Channel Buffer Register 0x04C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write CC2_CTRL CC Channel Control Register 0x050 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC2_CCV CC Channel Value Register 0x054 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC2_CCVP CC Channel Value Peek Register 0x058 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC2_CCVB CC Channel Buffer Register 0x05C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write DTCTRL DTI Control Register 0x070 32 read-write 0x00000000 0x0100007F DTEN DTI Enable 0 1 read-write DTDAS DTI Automatic Start-up Functionality 1 1 read-write DTIPOL DTI Inactive Polarity 2 1 read-write DTCINV DTI Complementary Output Invert. 3 1 read-write DTPRSSEL DTI PRS Source Channel Select 4 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 DTPRSEN DTI PRS Source Enable 24 1 read-write DTTIME DTI Time Control Register 0x074 32 read-write 0x00000000 0x003F3F0F DTPRESC DTI Prescaler Setting 0 4 read-write DIV1 The HFPERCLK is undivided 0x00000000 DIV2 The HFPERCLK is divided by 2 0x00000001 DIV4 The HFPERCLK is divided by 4 0x00000002 DIV8 The HFPERCLK is divided by 8 0x00000003 DIV16 The HFPERCLK is divided by 16 0x00000004 DIV32 The HFPERCLK is divided by 32 0x00000005 DIV64 The HFPERCLK is divided by 64 0x00000006 DIV128 The HFPERCLK is divided by 128 0x00000007 DIV256 The HFPERCLK is divided by 256 0x00000008 DIV512 The HFPERCLK is divided by 512 0x00000009 DIV1024 The HFPERCLK is divided by 1024 0x0000000A DTRISET DTI Rise-time 8 6 read-write DTFALLT DTI Fall-time 16 6 read-write DTFC DTI Fault Configuration Register 0x078 32 read-write 0x00000000 0x0F030707 DTPRS0FSEL DTI PRS Fault Source 0 Select 0 3 read-write PRSCH0 PRS Channel 0 selected as fault source 0 0x00000000 PRSCH1 PRS Channel 1 selected as fault source 0 0x00000001 PRSCH2 PRS Channel 2 selected as fault source 0 0x00000002 PRSCH3 PRS Channel 3 selected as fault source 0 0x00000003 PRSCH4 PRS Channel 4 selected as fault source 0 0x00000004 PRSCH5 PRS Channel 5 selected as fault source 0 0x00000005 PRSCH6 PRS Channel 6 selected as fault source 0 0x00000006 PRSCH7 PRS Channel 7 selected as fault source 0 0x00000007 DTPRS1FSEL DTI PRS Fault Source 1 Select 8 3 read-write PRSCH0 PRS Channel 0 selected as fault source 1 0x00000000 PRSCH1 PRS Channel 1 selected as fault source 1 0x00000001 PRSCH2 PRS Channel 2 selected as fault source 1 0x00000002 PRSCH3 PRS Channel 3 selected as fault source 1 0x00000003 PRSCH4 PRS Channel 4 selected as fault source 1 0x00000004 PRSCH5 PRS Channel 5 selected as fault source 1 0x00000005 PRSCH6 PRS Channel 6 selected as fault source 1 0x00000006 PRSCH7 PRS Channel 7 selected as fault source 1 0x00000007 DTFA DTI Fault Action 16 2 read-write NONE No action on fault 0x00000000 INACTIVE Set outputs inactive 0x00000001 CLEAR Clear outputs 0x00000002 TRISTATE Tristate outputs 0x00000003 DTPRS0FEN DTI PRS 0 Fault Enable 24 1 read-write DTPRS1FEN DTI PRS 1 Fault Enable 25 1 read-write DTDBGFEN DTI Debugger Fault Enable 26 1 read-write DTLOCKUPFEN DTI Lockup Fault Enable 27 1 read-write DTOGEN DTI Output Generation Enable Register 0x07C 32 read-write 0x00000000 0x0000003F DTOGCC0EN DTI CC0 Output Generation Enable 0 1 read-write DTOGCC1EN DTI CC1 Output Generation Enable 1 1 read-write DTOGCC2EN DTI CC2 Output Generation Enable 2 1 read-write DTOGCDTI0EN DTI CDTI0 Output Generation Enable 3 1 read-write DTOGCDTI1EN DTI CDTI1 Output Generation Enable 4 1 read-write DTOGCDTI2EN DTI CDTI2 Output Generation Enable 5 1 read-write DTFAULT DTI Fault Register 0x080 32 read-only 0x00000000 0x0000000F DTPRS0F DTI PRS 0 Fault 0 1 read-only DTPRS1F DTI PRS 1 Fault 1 1 read-only DTDBGF DTI Debugger Fault 2 1 read-only DTLOCKUPF DTI Lockup Fault 3 1 read-only DTFAULTC DTI Fault Clear Register 0x084 32 write-only 0x00000000 0x0000000F DTPRS0FC DTI PRS0 Fault Clear 0 1 write-only DTPRS1FC DTI PRS1 Fault Clear 1 1 write-only DTDBGFC DTI Debugger Fault Clear 2 1 write-only TLOCKUPFC DTI Lockup Fault Clear 3 1 write-only DTLOCK DTI Configuration Lock Register 0x088 32 read-write 0x00000000 0x0000FFFF LOCKKEY DTI Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 TIMER2 TIMER2 0x40010800 0 0x00000400 registers TIMER2 20 CTRL Control Register 0x000 32 read-write 0x00000000 0x3F032FFB MODE Timer Mode 0 2 read-write UP Up-count mode 0x00000000 DOWN Down-count mode 0x00000001 UPDOWN Up/down-count mode 0x00000002 QDEC Quadrature decoder mode 0x00000003 SYNC Timer Start/Stop/Reload Synchronization 3 1 read-write OSMEN One-shot Mode Enable 4 1 read-write QDM Quadrature Decoder Mode Selection 5 1 read-write DEBUGRUN Debug Mode Run Enable 6 1 read-write DMACLRACT DMA Request Clear on Active 7 1 read-write RISEA Timer Rising Input Edge Action 8 2 read-write NONE No action 0x00000000 START Start counter without reload 0x00000001 STOP Stop counter without reload 0x00000002 RELOADSTART Reload and start counter 0x00000003 FALLA Timer Falling Input Edge Action 10 2 read-write NONE No action 0x00000000 START Start counter without reload 0x00000001 STOP Stop counter without reload 0x00000002 RELOADSTART Reload and start counter 0x00000003 X2CNT 2x Count Mode 13 1 read-write CLKSEL Clock Source Select 16 2 read-write PRESCHFPERCLK Prescaled HFPERCLK 0x00000000 CC1 Compare/Capture Channel 1 Input 0x00000001 TIMEROUF Timer is clocked by underflow(down-count) or overflow(up-count) in the lower numbered neighbor Timer 0x00000002 PRESC Prescaler Setting 24 4 read-write DIV1 The HFPERCLK is undivided 0x00000000 DIV2 The HFPERCLK is divided by 2 0x00000001 DIV4 The HFPERCLK is divided by 4 0x00000002 DIV8 The HFPERCLK is divided by 8 0x00000003 DIV16 The HFPERCLK is divided by 16 0x00000004 DIV32 The HFPERCLK is divided by 32 0x00000005 DIV64 The HFPERCLK is divided by 64 0x00000006 DIV128 The HFPERCLK is divided by 128 0x00000007 DIV256 The HFPERCLK is divided by 256 0x00000008 DIV512 The HFPERCLK is divided by 512 0x00000009 DIV1024 The HFPERCLK is divided by 1024 0x0000000A ATI Always Track Inputs 28 1 read-write RSSCOIST Reload-Start Sets Compare Output initial State 29 1 read-write CMD Command Register 0x004 32 write-only 0x00000000 0x00000003 START Start Timer 0 1 write-only STOP Stop Timer 1 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x07070707 RUNNING Running 0 1 read-only DIR Direction 1 1 read-only TOPBV TOPB Valid 2 1 read-only CCVBV0 CC0 CCVB Valid 8 1 read-only CCVBV1 CC1 CCVB Valid 9 1 read-only CCVBV2 CC2 CCVB Valid 10 1 read-only ICV0 CC0 Input Capture Valid 16 1 read-only ICV1 CC1 Input Capture Valid 17 1 read-only ICV2 CC2 Input Capture Valid 18 1 read-only CCPOL0 CC0 Polarity 24 1 read-only CCPOL1 CC1 Polarity 25 1 read-only CCPOL2 CC2 Polarity 26 1 read-only IEN Interrupt Enable Register 0x00C 32 read-write 0x00000000 0x00000773 OF Overflow Interrupt Enable 0 1 read-write UF Underflow Interrupt Enable 1 1 read-write CC0 CC Channel 0 Interrupt Enable 4 1 read-write CC1 CC Channel 1 Interrupt Enable 5 1 read-write CC2 CC Channel 2 Interrupt Enable 6 1 read-write ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Enable 8 1 read-write ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Enable 9 1 read-write ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Enable 10 1 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000773 OF Overflow Interrupt Flag 0 1 read-only UF Underflow Interrupt Flag 1 1 read-only CC0 CC Channel 0 Interrupt Flag 4 1 read-only CC1 CC Channel 1 Interrupt Flag 5 1 read-only CC2 CC Channel 2 Interrupt Flag 6 1 read-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag 8 1 read-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag 9 1 read-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag 10 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000773 OF Overflow Interrupt Flag Set 0 1 write-only UF Underflow Interrupt Flag Set 1 1 write-only CC0 CC Channel 0 Interrupt Flag Set 4 1 write-only CC1 CC Channel 1 Interrupt Flag Set 5 1 write-only CC2 CC Channel 2 Interrupt Flag Set 6 1 write-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag Set 8 1 write-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag Set 9 1 write-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag Set 10 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000773 OF Overflow Interrupt Flag Clear 0 1 write-only UF Underflow Interrupt Flag Clear 1 1 write-only CC0 CC Channel 0 Interrupt Flag Clear 4 1 write-only CC1 CC Channel 1 Interrupt Flag Clear 5 1 write-only CC2 CC Channel 2 Interrupt Flag Clear 6 1 write-only ICBOF0 CC Channel 0 Input Capture Buffer Overflow Interrupt Flag Clear 8 1 write-only ICBOF1 CC Channel 1 Input Capture Buffer Overflow Interrupt Flag Clear 9 1 write-only ICBOF2 CC Channel 2 Input Capture Buffer Overflow Interrupt Flag Clear 10 1 write-only TOP Counter Top Value Register 0x01C 32 read-write 0x0000FFFF 0x0000FFFF TOP Counter Top Value 0 16 read-write TOPB Counter Top Value Buffer Register 0x020 32 read-write 0x00000000 0x0000FFFF TOPB Counter Top Value Buffer 0 16 read-write CNT Counter Value Register 0x024 32 read-write 0x00000000 0x0000FFFF CNT Counter Value 0 16 read-write ROUTE I/O Routing Register 0x028 32 read-write 0x00000000 0x00070707 CC0PEN CC Channel 0 Pin Enable 0 1 read-write CC1PEN CC Channel 1 Pin Enable 1 1 read-write CC2PEN CC Channel 2 Pin Enable 2 1 read-write CDTI0PEN CC Channel 0 Complementary Dead-Time Insertion Pin Enable 8 1 read-write CDTI1PEN CC Channel 1 Complementary Dead-Time Insertion Pin Enable 9 1 read-write CDTI2PEN CC Channel 2 Complementary Dead-Time Insertion Pin Enable 10 1 read-write LOCATION I/O Location 16 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 LOC6 Location 6 0x00000006 CC0_CTRL CC Channel Control Register 0x030 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC0_CCV CC Channel Value Register 0x034 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC0_CCVP CC Channel Value Peek Register 0x038 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC0_CCVB CC Channel Buffer Register 0x03C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write CC1_CTRL CC Channel Control Register 0x040 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC1_CCV CC Channel Value Register 0x044 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC1_CCVP CC Channel Value Peek Register 0x048 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC1_CCVB CC Channel Buffer Register 0x04C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write CC2_CTRL CC Channel Control Register 0x050 32 read-write 0x00000000 0x1F373F17 MODE CC Channel Mode 0 2 read-write OFF Compare/Capture channel turned off 0x00000000 INPUTCAPTURE Input capture 0x00000001 OUTPUTCOMPARE Output compare 0x00000002 PWM Pulse-Width Modulation 0x00000003 OUTINV Output Invert 2 1 read-write COIST Compare Output Initial State 4 1 read-write CMOA Compare Match Output Action 8 2 read-write NONE No action on compare match 0x00000000 TOGGLE Toggle output on compare match 0x00000001 CLEAR Clear output on compare match 0x00000002 SET Set output on compare match 0x00000003 COFOA Counter Overflow Output Action 10 2 read-write NONE No action on counter overflow 0x00000000 TOGGLE Toggle output on counter overflow 0x00000001 CLEAR Clear output on counter overflow 0x00000002 SET Set output on counter overflow 0x00000003 CUFOA Counter Underflow Output Action 12 2 read-write NONE No action on counter underflow 0x00000000 TOGGLE Toggle output on counter underflow 0x00000001 CLEAR Clear output on counter underflow 0x00000002 SET Set output on counter underflow 0x00000003 PRSSEL Compare/Capture Channel PRS Input Channel Selection 16 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 INSEL Input Selection 20 1 read-write FILT Digital Filter 21 1 read-write ICEDGE Input Capture Edge Select 24 2 read-write RISING Rising edges detected 0x00000000 FALLING Falling edges detected 0x00000001 BOTH Both edges detected 0x00000002 NONE No edge detection, signal is left as it is 0x00000003 ICEVCTRL Input Capture Event Control 26 2 read-write EVERYEDGE PRS output pulse, interrupt flag and DMA request set on every capture 0x00000000 EVERYSECONDEDGE PRS output pulse, interrupt flag and DMA request set on every second capture 0x00000001 RISING PRS output pulse, interrupt flag and DMA request set on rising edge only (if ICEDGE = BOTH) 0x00000002 FALLING PRS output pulse, interrupt flag and DMA request set on falling edge only (if ICEDGE = BOTH) 0x00000003 PRSCONF PRS Configuration 28 1 read-write CC2_CCV CC Channel Value Register 0x054 32 read-write 0x00000000 0x0000FFFF CCV CC Channel Value 0 16 read-write CC2_CCVP CC Channel Value Peek Register 0x058 32 read-only 0x00000000 0x0000FFFF CCVP CC Channel Value Peek 0 16 read-only CC2_CCVB CC Channel Buffer Register 0x05C 32 read-write 0x00000000 0x0000FFFF CCVB CC Channel Value Buffer 0 16 read-write DTCTRL DTI Control Register 0x070 32 read-write 0x00000000 0x0100007F DTEN DTI Enable 0 1 read-write DTDAS DTI Automatic Start-up Functionality 1 1 read-write DTIPOL DTI Inactive Polarity 2 1 read-write DTCINV DTI Complementary Output Invert. 3 1 read-write DTPRSSEL DTI PRS Source Channel Select 4 3 read-write PRSCH0 PRS Channel 0 selected as input 0x00000000 PRSCH1 PRS Channel 1 selected as input 0x00000001 PRSCH2 PRS Channel 2 selected as input 0x00000002 PRSCH3 PRS Channel 3 selected as input 0x00000003 PRSCH4 PRS Channel 4 selected as input 0x00000004 PRSCH5 PRS Channel 5 selected as input 0x00000005 DTPRSEN DTI PRS Source Enable 24 1 read-write DTTIME DTI Time Control Register 0x074 32 read-write 0x00000000 0x003F3F0F DTPRESC DTI Prescaler Setting 0 4 read-write DIV1 The HFPERCLK is undivided 0x00000000 DIV2 The HFPERCLK is divided by 2 0x00000001 DIV4 The HFPERCLK is divided by 4 0x00000002 DIV8 The HFPERCLK is divided by 8 0x00000003 DIV16 The HFPERCLK is divided by 16 0x00000004 DIV32 The HFPERCLK is divided by 32 0x00000005 DIV64 The HFPERCLK is divided by 64 0x00000006 DIV128 The HFPERCLK is divided by 128 0x00000007 DIV256 The HFPERCLK is divided by 256 0x00000008 DIV512 The HFPERCLK is divided by 512 0x00000009 DIV1024 The HFPERCLK is divided by 1024 0x0000000A DTRISET DTI Rise-time 8 6 read-write DTFALLT DTI Fall-time 16 6 read-write DTFC DTI Fault Configuration Register 0x078 32 read-write 0x00000000 0x0F030707 DTPRS0FSEL DTI PRS Fault Source 0 Select 0 3 read-write PRSCH0 PRS Channel 0 selected as fault source 0 0x00000000 PRSCH1 PRS Channel 1 selected as fault source 0 0x00000001 PRSCH2 PRS Channel 2 selected as fault source 0 0x00000002 PRSCH3 PRS Channel 3 selected as fault source 0 0x00000003 PRSCH4 PRS Channel 4 selected as fault source 0 0x00000004 PRSCH5 PRS Channel 5 selected as fault source 0 0x00000005 PRSCH6 PRS Channel 6 selected as fault source 0 0x00000006 PRSCH7 PRS Channel 7 selected as fault source 0 0x00000007 DTPRS1FSEL DTI PRS Fault Source 1 Select 8 3 read-write PRSCH0 PRS Channel 0 selected as fault source 1 0x00000000 PRSCH1 PRS Channel 1 selected as fault source 1 0x00000001 PRSCH2 PRS Channel 2 selected as fault source 1 0x00000002 PRSCH3 PRS Channel 3 selected as fault source 1 0x00000003 PRSCH4 PRS Channel 4 selected as fault source 1 0x00000004 PRSCH5 PRS Channel 5 selected as fault source 1 0x00000005 PRSCH6 PRS Channel 6 selected as fault source 1 0x00000006 PRSCH7 PRS Channel 7 selected as fault source 1 0x00000007 DTFA DTI Fault Action 16 2 read-write NONE No action on fault 0x00000000 INACTIVE Set outputs inactive 0x00000001 CLEAR Clear outputs 0x00000002 TRISTATE Tristate outputs 0x00000003 DTPRS0FEN DTI PRS 0 Fault Enable 24 1 read-write DTPRS1FEN DTI PRS 1 Fault Enable 25 1 read-write DTDBGFEN DTI Debugger Fault Enable 26 1 read-write DTLOCKUPFEN DTI Lockup Fault Enable 27 1 read-write DTOGEN DTI Output Generation Enable Register 0x07C 32 read-write 0x00000000 0x0000003F DTOGCC0EN DTI CC0 Output Generation Enable 0 1 read-write DTOGCC1EN DTI CC1 Output Generation Enable 1 1 read-write DTOGCC2EN DTI CC2 Output Generation Enable 2 1 read-write DTOGCDTI0EN DTI CDTI0 Output Generation Enable 3 1 read-write DTOGCDTI1EN DTI CDTI1 Output Generation Enable 4 1 read-write DTOGCDTI2EN DTI CDTI2 Output Generation Enable 5 1 read-write DTFAULT DTI Fault Register 0x080 32 read-only 0x00000000 0x0000000F DTPRS0F DTI PRS 0 Fault 0 1 read-only DTPRS1F DTI PRS 1 Fault 1 1 read-only DTDBGF DTI Debugger Fault 2 1 read-only DTLOCKUPF DTI Lockup Fault 3 1 read-only DTFAULTC DTI Fault Clear Register 0x084 32 write-only 0x00000000 0x0000000F DTPRS0FC DTI PRS0 Fault Clear 0 1 write-only DTPRS1FC DTI PRS1 Fault Clear 1 1 write-only DTDBGFC DTI Debugger Fault Clear 2 1 write-only TLOCKUPFC DTI Lockup Fault Clear 3 1 write-only DTLOCK DTI Configuration Lock Register 0x088 32 read-write 0x00000000 0x0000FFFF LOCKKEY DTI Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 ACMP0 ACMP0 0x40001000 0 0x00000400 registers ACMP0 3 CTRL Control Register 0x000 32 read-write 0x47000000 0xCF03077F EN Analog Comparator Enable 0 1 read-write MUXEN Input Mux Enable 1 1 read-write INACTVAL Inactive Value 2 1 read-write GPIOINV Comparator GPIO Output Invert 3 1 read-write HYSTSEL Hysteresis Select 4 3 read-write HYST0 No hysteresis. 0x00000000 HYST1 ~15 mV hysteresis. 0x00000001 HYST2 ~22 mV hysteresis. 0x00000002 HYST3 ~29 mV hysteresis. 0x00000003 HYST4 ~36 mV hysteresis. 0x00000004 HYST5 ~43 mV hysteresis. 0x00000005 HYST6 ~50 mV hysteresis. 0x00000006 HYST7 ~57 mV hysteresis. 0x00000007 WARMTIME Warm-up Time 8 3 read-write 4CYCLES 4 HFPERCLK cycles. 0x00000000 8CYCLES 8 HFPERCLK cycles. 0x00000001 16CYCLES 16 HFPERCLK cycles. 0x00000002 32CYCLES 32 HFPERCLK cycles. 0x00000003 64CYCLES 64 HFPERCLK cycles. 0x00000004 128CYCLES 128 HFPERCLK cycles. 0x00000005 256CYCLES 256 HFPERCLK cycles. 0x00000006 512CYCLES 512 HFPERCLK cycles. 0x00000007 IRISE Rising Edge Interrupt Sense 16 1 read-write IFALL Falling Edge Interrupt Sense 17 1 read-write BIASPROG Bias Configuration 24 4 read-write HALFBIAS Half Bias Current 30 1 read-write FULLBIAS Full Bias Current 31 1 read-write INPUTSEL Input Selection Register 0x004 32 read-write 0x00010080 0x31013FF7 POSSEL Positive Input Select 0 3 read-write CH0 Channel 0 as positive input. 0x00000000 CH1 Channel 1 as positive input. 0x00000001 CH2 Channel 2 as positive input. 0x00000002 CH3 Channel 3 as positive input. 0x00000003 CH4 Channel 4 as positive input. 0x00000004 CH5 Channel 5 as positive input. 0x00000005 CH6 Channel 6 as positive input. 0x00000006 CH7 Channel 7 as positive input. 0x00000007 NEGSEL Negative Input Select 4 4 read-write CH0 Channel 0 as negative input. 0x00000000 CH1 Channel 1 as negative input. 0x00000001 CH2 Channel 2 as negative input. 0x00000002 CH3 Channel 3 as negative input. 0x00000003 CH4 Channel 4 as negative input. 0x00000004 CH5 Channel 5 as negative input. 0x00000005 CH6 Channel 6 as negative input. 0x00000006 CH7 Channel 7 as negative input. 0x00000007 1V25 1.25 V as negative input. 0x00000008 2V5 2.5 V as negative input. 0x00000009 VDD Scaled VDD as negative input. 0x0000000A CAPSENSE Capacitive sense mode. 0x0000000B VDDLEVEL VDD Reference Level 8 6 read-write LPREF Low Power Reference Mode 16 1 read-write CSRESEN Capacitive Sense Mode Internal Resistor Enable 24 1 read-write CSRESSEL Capacitive Sense Mode Internal Resistor Select 28 2 read-write RES0 Internal capacitive sense resistor value 0. 0x00000000 RES1 Internal capacitive sense resistor value 1. 0x00000001 RES2 Internal capacitive sense resistor value 2. 0x00000002 RES3 Internal capacitive sense resistor value 3. 0x00000003 STATUS Status Register 0x008 32 read-only 0x00000000 0x00000003 ACMPACT Analog Comparator Active 0 1 read-only ACMPOUT Analog Comparator Output 1 1 read-only IEN Interrupt Enable Register 0x00C 32 read-write 0x00000000 0x00000003 EDGE Edge Trigger Interrupt Enable 0 1 read-write WARMUP Warm-up Interrupt Enable 1 1 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000003 EDGE Edge Triggered Interrupt Flag 0 1 read-only WARMUP Warm-up Interrupt Flag 1 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000003 EDGE Edge Triggered Interrupt Flag Set 0 1 write-only WARMUP Warm-up Interrupt Flag Set 1 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000003 EDGE Edge Triggered Interrupt Flag Clear 0 1 write-only WARMUP Warm-up Interrupt Flag Clear 1 1 write-only ROUTE I/O Routing Register 0x01C 32 read-write 0x00000000 0x00000701 ACMPPEN ACMP Output Pin Enable 0 1 read-write LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 USART0 USART0 0x4000C000 0 0x00000400 registers USART0_RX 17 USART0_TX 18 CTRL Control Register 0x000 32 read-write 0x00000000 0xFFFFFF7F SYNC USART Synchronous Mode 0 1 read-write LOOPBK Loopback Enable 1 1 read-write CCEN Collision Check Enable 2 1 read-write MPM Multi-Processor Mode 3 1 read-write MPAB Multi-Processor Address-Bit 4 1 read-write OVS Oversampling 5 2 read-write X16 Regular UART mode with 16X oversampling in asynchronous mode 0x00000000 X8 Double speed with 8X oversampling in asynchronous mode 0x00000001 X6 6X oversampling in asynchronous mode 0x00000002 X4 Quadruple speed with 4X oversampling in asynchronous mode 0x00000003 CLKPOL Clock Polarity 8 1 read-write CLKPHA Clock Edge For Setup/Sample 9 1 read-write MSBF Most Significant Bit First 10 1 read-write CSMA Action On Slave-Select In Master Mode 11 1 read-write TXBIL TX Buffer Interrupt Level 12 1 read-write RXINV Receiver Input Invert 13 1 read-write TXINV Transmitter output Invert 14 1 read-write CSINV Chip Select Invert 15 1 read-write AUTOCS Automatic Chip Select 16 1 read-write AUTOTRI Automatic TX Tristate 17 1 read-write SCMODE SmartCard Mode 18 1 read-write SCRETRANS SmartCard Retransmit 19 1 read-write SKIPPERRF Skip Parity Error Frames 20 1 read-write BIT8DV Bit 8 Default Value 21 1 read-write ERRSDMA Halt DMA On Error 22 1 read-write ERRSRX Disable RX On Error 23 1 read-write ERRSTX Disable TX On Error 24 1 read-write SSSEARLY Synchronous Slave Setup Early 25 1 read-write TXDELAY TX Delay Transmission 26 2 read-write NONE Frames are transmitted immediately 0x00000000 SINGLE Transmission of new frames are delayed by a single baud period 0x00000001 DOUBLE Transmission of new frames are delayed by two baud periods 0x00000002 TRIPLE Transmission of new frames are delayed by three baud periods 0x00000003 BYTESWAP Byteswap In Double Accesses 28 1 read-write AUTOTX Always Transmit When RX Not Full 29 1 read-write MVDIS Majority Vote Disable 30 1 read-write SMSDELAY Synchronous Master Sample Delay 31 1 read-write FRAME USART Frame Format Register 0x004 32 read-write 0x00001005 0x0000330F DATABITS Data-Bit Mode 0 4 read-write FOUR Each frame contains 4 data bits 0x00000001 FIVE Each frame contains 5 data bits 0x00000002 SIX Each frame contains 6 data bits 0x00000003 SEVEN Each frame contains 7 data bits 0x00000004 EIGHT Each frame contains 8 data bits 0x00000005 NINE Each frame contains 9 data bits 0x00000006 TEN Each frame contains 10 data bits 0x00000007 ELEVEN Each frame contains 11 data bits 0x00000008 TWELVE Each frame contains 12 data bits 0x00000009 THIRTEEN Each frame contains 13 data bits 0x0000000A FOURTEEN Each frame contains 14 data bits 0x0000000B FIFTEEN Each frame contains 15 data bits 0x0000000C SIXTEEN Each frame contains 16 data bits 0x0000000D PARITY Parity-Bit Mode 8 2 read-write NONE Parity bits are not used 0x00000000 EVEN Even parity are used. Parity bits are automatically generated and checked by hardware. 0x00000002 ODD Odd parity is used. Parity bits are automatically generated and checked by hardware. 0x00000003 STOPBITS Stop-Bit Mode 12 2 read-write HALF The transmitter generates a half stop bit. Stop-bits are not verified by receiver 0x00000000 ONE One stop bit is generated and verified 0x00000001 ONEANDAHALF The transmitter generates one and a half stop bit. The receiver verifies the first stop bit 0x00000002 TWO The transmitter generates two stop bits. The receiver checks the first stop-bit only 0x00000003 TRIGCTRL USART Trigger Control register 0x008 32 read-write 0x00000000 0x00000077 TSEL Trigger PRS Channel Select 0 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 RXTEN Receive Trigger Enable 4 1 read-write TXTEN Transmit Trigger Enable 5 1 read-write AUTOTXTEN AUTOTX Trigger Enable 6 1 read-write CMD Command Register 0x00C 32 write-only 0x00000000 0x00000FFF RXEN Receiver Enable 0 1 write-only RXDIS Receiver Disable 1 1 write-only TXEN Transmitter Enable 2 1 write-only TXDIS Transmitter Disable 3 1 write-only MASTEREN Master Enable 4 1 write-only MASTERDIS Master Disable 5 1 write-only RXBLOCKEN Receiver Block Enable 6 1 write-only RXBLOCKDIS Receiver Block Disable 7 1 write-only TXTRIEN Transmitter Tristate Enable 8 1 write-only TXTRIDIS Transmitter Tristate Disable 9 1 write-only CLEARTX Clear TX 10 1 write-only CLEARRX Clear RX 11 1 write-only STATUS USART Status Register 0x010 32 read-only 0x00000040 0x00001FFF RXENS Receiver Enable Status 0 1 read-only TXENS Transmitter Enable Status 1 1 read-only MASTER SPI Master Mode 2 1 read-only RXBLOCK Block Incoming Data 3 1 read-only TXTRI Transmitter Tristated 4 1 read-only TXC TX Complete 5 1 read-only TXBL TX Buffer Level 6 1 read-only RXDATAV RX Data Valid 7 1 read-only RXFULL RX FIFO Full 8 1 read-only TXBDRIGHT TX Buffer Expects Double Right Data 9 1 read-only TXBSRIGHT TX Buffer Expects Single Right Data 10 1 read-only RXDATAVRIGHT RX Data Right 11 1 read-only RXFULLRIGHT RX Full of Right Data 12 1 read-only CLKDIV Clock Control Register 0x014 32 read-write 0x00000000 0x001FFFF8 DIVEXT Extended Fractional Clock Divider 3 3 read-write DIV Fractional Clock Divider 6 15 read-write RXDATAX RX Buffer Data Extended Register 0x018 32 read-only 0x00000000 0x0000C1FF modifyExternal RXDATA RX Data 0 9 read-only PERR Data Parity Error 14 1 read-only FERR Data Framing Error 15 1 read-only RXDATA RX Buffer Data Register 0x01C 32 read-only 0x00000000 0x000000FF modifyExternal RXDATA RX Data 0 8 read-only RXDOUBLEX RX Buffer Double Data Extended Register 0x020 32 read-only 0x00000000 0xC1FFC1FF modifyExternal RXDATA0 RX Data 0 0 9 read-only PERR0 Data Parity Error 0 14 1 read-only FERR0 Data Framing Error 0 15 1 read-only RXDATA1 RX Data 1 16 9 read-only PERR1 Data Parity Error 1 30 1 read-only FERR1 Data Framing Error 1 31 1 read-only RXDOUBLE RX FIFO Double Data Register 0x024 32 read-only 0x00000000 0x0000FFFF modifyExternal RXDATA0 RX Data 0 0 8 read-only RXDATA1 RX Data 1 8 8 read-only RXDATAXP RX Buffer Data Extended Peek Register 0x028 32 read-only 0x00000000 0x0000C1FF RXDATAP RX Data Peek 0 9 read-only PERRP Data Parity Error Peek 14 1 read-only FERRP Data Framing Error Peek 15 1 read-only RXDOUBLEXP RX Buffer Double Data Extended Peek Register 0x02C 32 read-only 0x00000000 0xC1FFC1FF RXDATAP0 RX Data 0 Peek 0 9 read-only PERRP0 Data Parity Error 0 Peek 14 1 read-only FERRP0 Data Framing Error 0 Peek 15 1 read-only RXDATAP1 RX Data 1 Peek 16 9 read-only PERRP1 Data Parity Error 1 Peek 30 1 read-only FERRP1 Data Framing Error 1 Peek 31 1 read-only TXDATAX TX Buffer Data Extended Register 0x030 32 write-only 0x00000000 0x0000F9FF TXDATAX TX Data 0 9 write-only UBRXAT Unblock RX After Transmission 11 1 write-only TXTRIAT Set TXTRI After Transmission 12 1 write-only TXBREAK Transmit Data As Break 13 1 write-only TXDISAT Clear TXEN After Transmission 14 1 write-only RXENAT Enable RX After Transmission 15 1 write-only TXDATA TX Buffer Data Register 0x034 32 write-only 0x00000000 0x000000FF TXDATA TX Data 0 8 write-only TXDOUBLEX TX Buffer Double Data Extended Register 0x038 32 write-only 0x00000000 0xF9FFF9FF TXDATA0 TX Data 0 9 write-only UBRXAT0 Unblock RX After Transmission 11 1 write-only TXTRIAT0 Set TXTRI After Transmission 12 1 write-only TXBREAK0 Transmit Data As Break 13 1 write-only TXDISAT0 Clear TXEN After Transmission 14 1 write-only RXENAT0 Enable RX After Transmission 15 1 write-only TXDATA1 TX Data 16 9 write-only UBRXAT1 Unblock RX After Transmission 27 1 write-only TXTRIAT1 Set TXTRI After Transmission 28 1 write-only TXBREAK1 Transmit Data As Break 29 1 write-only TXDISAT1 Clear TXEN After Transmission 30 1 write-only RXENAT1 Enable RX After Transmission 31 1 write-only TXDOUBLE TX Buffer Double Data Register 0x03C 32 write-only 0x00000000 0x0000FFFF TXDATA0 TX Data 0 8 write-only TXDATA1 TX Data 8 8 write-only IF Interrupt Flag Register 0x040 32 read-only 0x00000002 0x00001FFF TXC TX Complete Interrupt Flag 0 1 read-only TXBL TX Buffer Level Interrupt Flag 1 1 read-only RXDATAV RX Data Valid Interrupt Flag 2 1 read-only RXFULL RX Buffer Full Interrupt Flag 3 1 read-only RXOF RX Overflow Interrupt Flag 4 1 read-only RXUF RX Underflow Interrupt Flag 5 1 read-only TXOF TX Overflow Interrupt Flag 6 1 read-only TXUF TX Underflow Interrupt Flag 7 1 read-only PERR Parity Error Interrupt Flag 8 1 read-only FERR Framing Error Interrupt Flag 9 1 read-only MPAF Multi-Processor Address Frame Interrupt Flag 10 1 read-only SSM Slave-Select In Master Mode Interrupt Flag 11 1 read-only CCF Collision Check Fail Interrupt Flag 12 1 read-only IFS Interrupt Flag Set Register 0x044 32 write-only 0x00000000 0x00001FF9 TXC Set TX Complete Interrupt Flag 0 1 write-only RXFULL Set RX Buffer Full Interrupt Flag 3 1 write-only RXOF Set RX Overflow Interrupt Flag 4 1 write-only RXUF Set RX Underflow Interrupt Flag 5 1 write-only TXOF Set TX Overflow Interrupt Flag 6 1 write-only TXUF Set TX Underflow Interrupt Flag 7 1 write-only PERR Set Parity Error Interrupt Flag 8 1 write-only FERR Set Framing Error Interrupt Flag 9 1 write-only MPAF Set Multi-Processor Address Frame Interrupt Flag 10 1 write-only SSM Set Slave-Select in Master mode Interrupt Flag 11 1 write-only CCF Set Collision Check Fail Interrupt Flag 12 1 write-only IFC Interrupt Flag Clear Register 0x048 32 write-only 0x00000000 0x00001FF9 TXC Clear TX Complete Interrupt Flag 0 1 write-only RXFULL Clear RX Buffer Full Interrupt Flag 3 1 write-only RXOF Clear RX Overflow Interrupt Flag 4 1 write-only RXUF Clear RX Underflow Interrupt Flag 5 1 write-only TXOF Clear TX Overflow Interrupt Flag 6 1 write-only TXUF Clear TX Underflow Interrupt Flag 7 1 write-only PERR Clear Parity Error Interrupt Flag 8 1 write-only FERR Clear Framing Error Interrupt Flag 9 1 write-only MPAF Clear Multi-Processor Address Frame Interrupt Flag 10 1 write-only SSM Clear Slave-Select In Master Mode Interrupt Flag 11 1 write-only CCF Clear Collision Check Fail Interrupt Flag 12 1 write-only IEN Interrupt Enable Register 0x04C 32 read-write 0x00000000 0x00001FFF TXC TX Complete Interrupt Enable 0 1 read-write TXBL TX Buffer Level Interrupt Enable 1 1 read-write RXDATAV RX Data Valid Interrupt Enable 2 1 read-write RXFULL RX Buffer Full Interrupt Enable 3 1 read-write RXOF RX Overflow Interrupt Enable 4 1 read-write RXUF RX Underflow Interrupt Enable 5 1 read-write TXOF TX Overflow Interrupt Enable 6 1 read-write TXUF TX Underflow Interrupt Enable 7 1 read-write PERR Parity Error Interrupt Enable 8 1 read-write FERR Framing Error Interrupt Enable 9 1 read-write MPAF Multi-Processor Address Frame Interrupt Enable 10 1 read-write SSM Slave-Select In Master Mode Interrupt Enable 11 1 read-write CCF Collision Check Fail Interrupt Enable 12 1 read-write IRCTRL IrDA Control Register 0x050 32 read-write 0x00000000 0x000000FF IREN Enable IrDA Module 0 1 read-write IRPW IrDA TX Pulse Width 1 2 read-write ONE IrDA pulse width is 1/16 for OVS=0 and 1/8 for OVS=1 0x00000000 TWO IrDA pulse width is 2/16 for OVS=0 and 2/8 for OVS=1 0x00000001 THREE IrDA pulse width is 3/16 for OVS=0 and 3/8 for OVS=1 0x00000002 FOUR IrDA pulse width is 4/16 for OVS=0 and 4/8 for OVS=1 0x00000003 IRFILT IrDA RX Filter 3 1 read-write IRPRSSEL IrDA PRS Channel Select 4 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 IRPRSEN IrDA PRS Channel Enable 7 1 read-write ROUTE I/O Routing Register 0x054 32 read-write 0x00000000 0x0000070F RXPEN RX Pin Enable 0 1 read-write TXPEN TX Pin Enable 1 1 read-write CSPEN CS Pin Enable 2 1 read-write CLKPEN CLK Pin Enable 3 1 read-write LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 LOC6 Location 6 0x00000006 INPUT USART Input Register 0x058 32 read-write 0x00000000 0x00000017 RXPRSSEL RX PRS Channel Select 0 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 RXPRS PRS RX Enable 4 1 read-write I2SCTRL I2S Control Register 0x05C 32 read-write 0x00000000 0x0000071F EN Enable I2S Mode 0 1 read-write MONO Stero or Mono 1 1 read-write JUSTIFY Justification of I2S Data 2 1 read-write DMASPLIT Separate DMA Request For Left/Right Data 3 1 read-write DELAY Delay on I2S data 4 1 read-write FORMAT I2S Word Format 8 3 read-write W32D32 32-bit word, 32-bit data 0x00000000 W32D24M 32-bit word, 32-bit data with 8 lsb masked 0x00000001 W32D24 32-bit word, 24-bit data 0x00000002 W32D16 32-bit word, 16-bit data 0x00000003 W32D8 32-bit word, 8-bit data 0x00000004 W16D16 16-bit word, 16-bit data 0x00000005 W16D8 16-bit word, 8-bit data 0x00000006 W8D8 8-bit word, 8-bit data 0x00000007 USART1 USART1 0x4000C400 0 0x00000400 registers USART1_RX 8 USART1_TX 9 CTRL Control Register 0x000 32 read-write 0x00000000 0xFFFFFF7F SYNC USART Synchronous Mode 0 1 read-write LOOPBK Loopback Enable 1 1 read-write CCEN Collision Check Enable 2 1 read-write MPM Multi-Processor Mode 3 1 read-write MPAB Multi-Processor Address-Bit 4 1 read-write OVS Oversampling 5 2 read-write X16 Regular UART mode with 16X oversampling in asynchronous mode 0x00000000 X8 Double speed with 8X oversampling in asynchronous mode 0x00000001 X6 6X oversampling in asynchronous mode 0x00000002 X4 Quadruple speed with 4X oversampling in asynchronous mode 0x00000003 CLKPOL Clock Polarity 8 1 read-write CLKPHA Clock Edge For Setup/Sample 9 1 read-write MSBF Most Significant Bit First 10 1 read-write CSMA Action On Slave-Select In Master Mode 11 1 read-write TXBIL TX Buffer Interrupt Level 12 1 read-write RXINV Receiver Input Invert 13 1 read-write TXINV Transmitter output Invert 14 1 read-write CSINV Chip Select Invert 15 1 read-write AUTOCS Automatic Chip Select 16 1 read-write AUTOTRI Automatic TX Tristate 17 1 read-write SCMODE SmartCard Mode 18 1 read-write SCRETRANS SmartCard Retransmit 19 1 read-write SKIPPERRF Skip Parity Error Frames 20 1 read-write BIT8DV Bit 8 Default Value 21 1 read-write ERRSDMA Halt DMA On Error 22 1 read-write ERRSRX Disable RX On Error 23 1 read-write ERRSTX Disable TX On Error 24 1 read-write SSSEARLY Synchronous Slave Setup Early 25 1 read-write TXDELAY TX Delay Transmission 26 2 read-write NONE Frames are transmitted immediately 0x00000000 SINGLE Transmission of new frames are delayed by a single baud period 0x00000001 DOUBLE Transmission of new frames are delayed by two baud periods 0x00000002 TRIPLE Transmission of new frames are delayed by three baud periods 0x00000003 BYTESWAP Byteswap In Double Accesses 28 1 read-write AUTOTX Always Transmit When RX Not Full 29 1 read-write MVDIS Majority Vote Disable 30 1 read-write SMSDELAY Synchronous Master Sample Delay 31 1 read-write FRAME USART Frame Format Register 0x004 32 read-write 0x00001005 0x0000330F DATABITS Data-Bit Mode 0 4 read-write FOUR Each frame contains 4 data bits 0x00000001 FIVE Each frame contains 5 data bits 0x00000002 SIX Each frame contains 6 data bits 0x00000003 SEVEN Each frame contains 7 data bits 0x00000004 EIGHT Each frame contains 8 data bits 0x00000005 NINE Each frame contains 9 data bits 0x00000006 TEN Each frame contains 10 data bits 0x00000007 ELEVEN Each frame contains 11 data bits 0x00000008 TWELVE Each frame contains 12 data bits 0x00000009 THIRTEEN Each frame contains 13 data bits 0x0000000A FOURTEEN Each frame contains 14 data bits 0x0000000B FIFTEEN Each frame contains 15 data bits 0x0000000C SIXTEEN Each frame contains 16 data bits 0x0000000D PARITY Parity-Bit Mode 8 2 read-write NONE Parity bits are not used 0x00000000 EVEN Even parity are used. Parity bits are automatically generated and checked by hardware. 0x00000002 ODD Odd parity is used. Parity bits are automatically generated and checked by hardware. 0x00000003 STOPBITS Stop-Bit Mode 12 2 read-write HALF The transmitter generates a half stop bit. Stop-bits are not verified by receiver 0x00000000 ONE One stop bit is generated and verified 0x00000001 ONEANDAHALF The transmitter generates one and a half stop bit. The receiver verifies the first stop bit 0x00000002 TWO The transmitter generates two stop bits. The receiver checks the first stop-bit only 0x00000003 TRIGCTRL USART Trigger Control register 0x008 32 read-write 0x00000000 0x00000077 TSEL Trigger PRS Channel Select 0 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 RXTEN Receive Trigger Enable 4 1 read-write TXTEN Transmit Trigger Enable 5 1 read-write AUTOTXTEN AUTOTX Trigger Enable 6 1 read-write CMD Command Register 0x00C 32 write-only 0x00000000 0x00000FFF RXEN Receiver Enable 0 1 write-only RXDIS Receiver Disable 1 1 write-only TXEN Transmitter Enable 2 1 write-only TXDIS Transmitter Disable 3 1 write-only MASTEREN Master Enable 4 1 write-only MASTERDIS Master Disable 5 1 write-only RXBLOCKEN Receiver Block Enable 6 1 write-only RXBLOCKDIS Receiver Block Disable 7 1 write-only TXTRIEN Transmitter Tristate Enable 8 1 write-only TXTRIDIS Transmitter Tristate Disable 9 1 write-only CLEARTX Clear TX 10 1 write-only CLEARRX Clear RX 11 1 write-only STATUS USART Status Register 0x010 32 read-only 0x00000040 0x00001FFF RXENS Receiver Enable Status 0 1 read-only TXENS Transmitter Enable Status 1 1 read-only MASTER SPI Master Mode 2 1 read-only RXBLOCK Block Incoming Data 3 1 read-only TXTRI Transmitter Tristated 4 1 read-only TXC TX Complete 5 1 read-only TXBL TX Buffer Level 6 1 read-only RXDATAV RX Data Valid 7 1 read-only RXFULL RX FIFO Full 8 1 read-only TXBDRIGHT TX Buffer Expects Double Right Data 9 1 read-only TXBSRIGHT TX Buffer Expects Single Right Data 10 1 read-only RXDATAVRIGHT RX Data Right 11 1 read-only RXFULLRIGHT RX Full of Right Data 12 1 read-only CLKDIV Clock Control Register 0x014 32 read-write 0x00000000 0x001FFFF8 DIVEXT Extended Fractional Clock Divider 3 3 read-write DIV Fractional Clock Divider 6 15 read-write RXDATAX RX Buffer Data Extended Register 0x018 32 read-only 0x00000000 0x0000C1FF modifyExternal RXDATA RX Data 0 9 read-only PERR Data Parity Error 14 1 read-only FERR Data Framing Error 15 1 read-only RXDATA RX Buffer Data Register 0x01C 32 read-only 0x00000000 0x000000FF modifyExternal RXDATA RX Data 0 8 read-only RXDOUBLEX RX Buffer Double Data Extended Register 0x020 32 read-only 0x00000000 0xC1FFC1FF modifyExternal RXDATA0 RX Data 0 0 9 read-only PERR0 Data Parity Error 0 14 1 read-only FERR0 Data Framing Error 0 15 1 read-only RXDATA1 RX Data 1 16 9 read-only PERR1 Data Parity Error 1 30 1 read-only FERR1 Data Framing Error 1 31 1 read-only RXDOUBLE RX FIFO Double Data Register 0x024 32 read-only 0x00000000 0x0000FFFF modifyExternal RXDATA0 RX Data 0 0 8 read-only RXDATA1 RX Data 1 8 8 read-only RXDATAXP RX Buffer Data Extended Peek Register 0x028 32 read-only 0x00000000 0x0000C1FF RXDATAP RX Data Peek 0 9 read-only PERRP Data Parity Error Peek 14 1 read-only FERRP Data Framing Error Peek 15 1 read-only RXDOUBLEXP RX Buffer Double Data Extended Peek Register 0x02C 32 read-only 0x00000000 0xC1FFC1FF RXDATAP0 RX Data 0 Peek 0 9 read-only PERRP0 Data Parity Error 0 Peek 14 1 read-only FERRP0 Data Framing Error 0 Peek 15 1 read-only RXDATAP1 RX Data 1 Peek 16 9 read-only PERRP1 Data Parity Error 1 Peek 30 1 read-only FERRP1 Data Framing Error 1 Peek 31 1 read-only TXDATAX TX Buffer Data Extended Register 0x030 32 write-only 0x00000000 0x0000F9FF TXDATAX TX Data 0 9 write-only UBRXAT Unblock RX After Transmission 11 1 write-only TXTRIAT Set TXTRI After Transmission 12 1 write-only TXBREAK Transmit Data As Break 13 1 write-only TXDISAT Clear TXEN After Transmission 14 1 write-only RXENAT Enable RX After Transmission 15 1 write-only TXDATA TX Buffer Data Register 0x034 32 write-only 0x00000000 0x000000FF TXDATA TX Data 0 8 write-only TXDOUBLEX TX Buffer Double Data Extended Register 0x038 32 write-only 0x00000000 0xF9FFF9FF TXDATA0 TX Data 0 9 write-only UBRXAT0 Unblock RX After Transmission 11 1 write-only TXTRIAT0 Set TXTRI After Transmission 12 1 write-only TXBREAK0 Transmit Data As Break 13 1 write-only TXDISAT0 Clear TXEN After Transmission 14 1 write-only RXENAT0 Enable RX After Transmission 15 1 write-only TXDATA1 TX Data 16 9 write-only UBRXAT1 Unblock RX After Transmission 27 1 write-only TXTRIAT1 Set TXTRI After Transmission 28 1 write-only TXBREAK1 Transmit Data As Break 29 1 write-only TXDISAT1 Clear TXEN After Transmission 30 1 write-only RXENAT1 Enable RX After Transmission 31 1 write-only TXDOUBLE TX Buffer Double Data Register 0x03C 32 write-only 0x00000000 0x0000FFFF TXDATA0 TX Data 0 8 write-only TXDATA1 TX Data 8 8 write-only IF Interrupt Flag Register 0x040 32 read-only 0x00000002 0x00001FFF TXC TX Complete Interrupt Flag 0 1 read-only TXBL TX Buffer Level Interrupt Flag 1 1 read-only RXDATAV RX Data Valid Interrupt Flag 2 1 read-only RXFULL RX Buffer Full Interrupt Flag 3 1 read-only RXOF RX Overflow Interrupt Flag 4 1 read-only RXUF RX Underflow Interrupt Flag 5 1 read-only TXOF TX Overflow Interrupt Flag 6 1 read-only TXUF TX Underflow Interrupt Flag 7 1 read-only PERR Parity Error Interrupt Flag 8 1 read-only FERR Framing Error Interrupt Flag 9 1 read-only MPAF Multi-Processor Address Frame Interrupt Flag 10 1 read-only SSM Slave-Select In Master Mode Interrupt Flag 11 1 read-only CCF Collision Check Fail Interrupt Flag 12 1 read-only IFS Interrupt Flag Set Register 0x044 32 write-only 0x00000000 0x00001FF9 TXC Set TX Complete Interrupt Flag 0 1 write-only RXFULL Set RX Buffer Full Interrupt Flag 3 1 write-only RXOF Set RX Overflow Interrupt Flag 4 1 write-only RXUF Set RX Underflow Interrupt Flag 5 1 write-only TXOF Set TX Overflow Interrupt Flag 6 1 write-only TXUF Set TX Underflow Interrupt Flag 7 1 write-only PERR Set Parity Error Interrupt Flag 8 1 write-only FERR Set Framing Error Interrupt Flag 9 1 write-only MPAF Set Multi-Processor Address Frame Interrupt Flag 10 1 write-only SSM Set Slave-Select in Master mode Interrupt Flag 11 1 write-only CCF Set Collision Check Fail Interrupt Flag 12 1 write-only IFC Interrupt Flag Clear Register 0x048 32 write-only 0x00000000 0x00001FF9 TXC Clear TX Complete Interrupt Flag 0 1 write-only RXFULL Clear RX Buffer Full Interrupt Flag 3 1 write-only RXOF Clear RX Overflow Interrupt Flag 4 1 write-only RXUF Clear RX Underflow Interrupt Flag 5 1 write-only TXOF Clear TX Overflow Interrupt Flag 6 1 write-only TXUF Clear TX Underflow Interrupt Flag 7 1 write-only PERR Clear Parity Error Interrupt Flag 8 1 write-only FERR Clear Framing Error Interrupt Flag 9 1 write-only MPAF Clear Multi-Processor Address Frame Interrupt Flag 10 1 write-only SSM Clear Slave-Select In Master Mode Interrupt Flag 11 1 write-only CCF Clear Collision Check Fail Interrupt Flag 12 1 write-only IEN Interrupt Enable Register 0x04C 32 read-write 0x00000000 0x00001FFF TXC TX Complete Interrupt Enable 0 1 read-write TXBL TX Buffer Level Interrupt Enable 1 1 read-write RXDATAV RX Data Valid Interrupt Enable 2 1 read-write RXFULL RX Buffer Full Interrupt Enable 3 1 read-write RXOF RX Overflow Interrupt Enable 4 1 read-write RXUF RX Underflow Interrupt Enable 5 1 read-write TXOF TX Overflow Interrupt Enable 6 1 read-write TXUF TX Underflow Interrupt Enable 7 1 read-write PERR Parity Error Interrupt Enable 8 1 read-write FERR Framing Error Interrupt Enable 9 1 read-write MPAF Multi-Processor Address Frame Interrupt Enable 10 1 read-write SSM Slave-Select In Master Mode Interrupt Enable 11 1 read-write CCF Collision Check Fail Interrupt Enable 12 1 read-write IRCTRL IrDA Control Register 0x050 32 read-write 0x00000000 0x000000FF IREN Enable IrDA Module 0 1 read-write IRPW IrDA TX Pulse Width 1 2 read-write ONE IrDA pulse width is 1/16 for OVS=0 and 1/8 for OVS=1 0x00000000 TWO IrDA pulse width is 2/16 for OVS=0 and 2/8 for OVS=1 0x00000001 THREE IrDA pulse width is 3/16 for OVS=0 and 3/8 for OVS=1 0x00000002 FOUR IrDA pulse width is 4/16 for OVS=0 and 4/8 for OVS=1 0x00000003 IRFILT IrDA RX Filter 3 1 read-write IRPRSSEL IrDA PRS Channel Select 4 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 IRPRSEN IrDA PRS Channel Enable 7 1 read-write ROUTE I/O Routing Register 0x054 32 read-write 0x00000000 0x0000070F RXPEN RX Pin Enable 0 1 read-write TXPEN TX Pin Enable 1 1 read-write CSPEN CS Pin Enable 2 1 read-write CLKPEN CLK Pin Enable 3 1 read-write LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 LOC6 Location 6 0x00000006 INPUT USART Input Register 0x058 32 read-write 0x00000000 0x00000017 RXPRSSEL RX PRS Channel Select 0 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 RXPRS PRS RX Enable 4 1 read-write I2SCTRL I2S Control Register 0x05C 32 read-write 0x00000000 0x0000071F EN Enable I2S Mode 0 1 read-write MONO Stero or Mono 1 1 read-write JUSTIFY Justification of I2S Data 2 1 read-write DMASPLIT Separate DMA Request For Left/Right Data 3 1 read-write DELAY Delay on I2S data 4 1 read-write FORMAT I2S Word Format 8 3 read-write W32D32 32-bit word, 32-bit data 0x00000000 W32D24M 32-bit word, 32-bit data with 8 lsb masked 0x00000001 W32D24 32-bit word, 24-bit data 0x00000002 W32D16 32-bit word, 16-bit data 0x00000003 W32D8 32-bit word, 8-bit data 0x00000004 W16D16 16-bit word, 16-bit data 0x00000005 W16D8 16-bit word, 8-bit data 0x00000006 W8D8 8-bit word, 8-bit data 0x00000007 PRS PRS 0x400CC000 0 0x00000400 registers SWPULSE Software Pulse Register 0x000 32 write-only 0x00000000 0x0000003F CH0PULSE Channel 0 Pulse Generation 0 1 write-only CH1PULSE Channel 1 Pulse Generation 1 1 write-only CH2PULSE Channel 2 Pulse Generation 2 1 write-only CH3PULSE Channel 3 Pulse Generation 3 1 write-only CH4PULSE Channel 4 Pulse Generation 4 1 write-only CH5PULSE Channel 5 Pulse Generation 5 1 write-only SWLEVEL Software Level Register 0x004 32 read-write 0x00000000 0x0000003F CH0LEVEL Channel 0 Software Level 0 1 read-write CH1LEVEL Channel 1 Software Level 1 1 read-write CH2LEVEL Channel 2 Software Level 2 1 read-write CH3LEVEL Channel 3 Software Level 3 1 read-write CH4LEVEL Channel 4 Software Level 4 1 read-write CH5LEVEL Channel 5 Software Level 5 1 read-write ROUTE I/O Routing Register 0x008 32 read-write 0x00000000 0x0000070F CH0PEN CH0 Pin Enable 0 1 read-write CH1PEN CH1 Pin Enable 1 1 read-write CH2PEN CH2 Pin Enable 2 1 read-write CH3PEN CH3 Pin Enable 3 1 read-write LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 CH0_CTRL Channel Control Register 0x010 32 read-write 0x00000000 0x133F0007 SIGSEL Signal Select 0 3 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 VCMP Voltage Comparator 0x00000001 ACMP0 Analog Comparator 0 0x00000002 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x00000010 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x00000011 TIMER0 Timer 0 0x0000001C TIMER1 Timer 1 0x0000001D TIMER2 Timer 2 0x0000001E USB Universal Serial Bus Interface 0x00000024 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 PCNT0 Pulse Counter 0 0x00000036 EDSEL Edge Detect Select 24 2 read-write OFF Signal is left as it is 0x00000000 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal 0x00000001 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal 0x00000002 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal 0x00000003 ASYNC Asynchronous reflex 28 1 read-write CH1_CTRL Channel Control Register 0x014 32 read-write 0x00000000 0x133F0007 SIGSEL Signal Select 0 3 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 VCMP Voltage Comparator 0x00000001 ACMP0 Analog Comparator 0 0x00000002 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x00000010 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x00000011 TIMER0 Timer 0 0x0000001C TIMER1 Timer 1 0x0000001D TIMER2 Timer 2 0x0000001E USB Universal Serial Bus Interface 0x00000024 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 PCNT0 Pulse Counter 0 0x00000036 EDSEL Edge Detect Select 24 2 read-write OFF Signal is left as it is 0x00000000 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal 0x00000001 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal 0x00000002 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal 0x00000003 ASYNC Asynchronous reflex 28 1 read-write CH2_CTRL Channel Control Register 0x018 32 read-write 0x00000000 0x133F0007 SIGSEL Signal Select 0 3 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 VCMP Voltage Comparator 0x00000001 ACMP0 Analog Comparator 0 0x00000002 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x00000010 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x00000011 TIMER0 Timer 0 0x0000001C TIMER1 Timer 1 0x0000001D TIMER2 Timer 2 0x0000001E USB Universal Serial Bus Interface 0x00000024 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 PCNT0 Pulse Counter 0 0x00000036 EDSEL Edge Detect Select 24 2 read-write OFF Signal is left as it is 0x00000000 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal 0x00000001 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal 0x00000002 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal 0x00000003 ASYNC Asynchronous reflex 28 1 read-write CH3_CTRL Channel Control Register 0x01C 32 read-write 0x00000000 0x133F0007 SIGSEL Signal Select 0 3 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 VCMP Voltage Comparator 0x00000001 ACMP0 Analog Comparator 0 0x00000002 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x00000010 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x00000011 TIMER0 Timer 0 0x0000001C TIMER1 Timer 1 0x0000001D TIMER2 Timer 2 0x0000001E USB Universal Serial Bus Interface 0x00000024 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 PCNT0 Pulse Counter 0 0x00000036 EDSEL Edge Detect Select 24 2 read-write OFF Signal is left as it is 0x00000000 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal 0x00000001 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal 0x00000002 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal 0x00000003 ASYNC Asynchronous reflex 28 1 read-write CH4_CTRL Channel Control Register 0x020 32 read-write 0x00000000 0x133F0007 SIGSEL Signal Select 0 3 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 VCMP Voltage Comparator 0x00000001 ACMP0 Analog Comparator 0 0x00000002 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x00000010 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x00000011 TIMER0 Timer 0 0x0000001C TIMER1 Timer 1 0x0000001D TIMER2 Timer 2 0x0000001E USB Universal Serial Bus Interface 0x00000024 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 PCNT0 Pulse Counter 0 0x00000036 EDSEL Edge Detect Select 24 2 read-write OFF Signal is left as it is 0x00000000 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal 0x00000001 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal 0x00000002 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal 0x00000003 ASYNC Asynchronous reflex 28 1 read-write CH5_CTRL Channel Control Register 0x024 32 read-write 0x00000000 0x133F0007 SIGSEL Signal Select 0 3 read-write SOURCESEL Source Select 16 6 read-write NONE No source selected 0x00000000 VCMP Voltage Comparator 0x00000001 ACMP0 Analog Comparator 0 0x00000002 ADC0 Analog to Digital Converter 0 0x00000008 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 0x00000010 USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 0x00000011 TIMER0 Timer 0 0x0000001C TIMER1 Timer 1 0x0000001D TIMER2 Timer 2 0x0000001E USB Universal Serial Bus Interface 0x00000024 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 PCNT0 Pulse Counter 0 0x00000036 EDSEL Edge Detect Select 24 2 read-write OFF Signal is left as it is 0x00000000 POSEDGE A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal 0x00000001 NEGEDGE A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal 0x00000002 BOTHEDGES A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal 0x00000003 ASYNC Asynchronous reflex 28 1 read-write TRACECTRL MTB Trace Control Register 0x040 32 read-write 0x00000000 0x00000F0F TSTARTEN PRS TSTART Enable 0 1 read-write TSTART MTB TSTART PRS select 1 3 read-write PRSCH0 PRS ch 0 is controlling TSTART. 0x00000000 PRSCH1 PRS ch 1 is controlling TSTART. 0x00000001 PRSCH2 PRS ch 2 is controlling TSTART. 0x00000002 PRSCH3 PRS ch 3 is controlling TSTART. 0x00000003 PRSCH4 PRS ch 4 is controlling TSTART. 0x00000004 PRSCH5 PRS ch 5 is controlling TSTART. 0x00000005 TSTOPEN PRS TSTOP Enable 8 1 read-write TSTOP MTB TSTOP PRS select 9 3 read-write PRSCH0 PRS ch 0 is controlling TSTOP. 0x00000000 PRSCH1 PRS ch 1 is controlling TSTOP. 0x00000001 PRSCH2 PRS ch 2 is controlling TSTOP. 0x00000002 PRSCH3 PRS ch 3 is controlling TSTOP. 0x00000003 PRSCH4 PRS ch 4 is controlling TSTOP. 0x00000004 PRSCH5 PRS ch 5 is controlling TSTOP. 0x00000005 IDAC0 IDAC0 0x40004000 0 0x00000400 registers CTRL Control Register 0x000 32 read-write 0x00000000 0x0074001F EN Current DAC Enable 0 1 read-write CURSINK Current Sink Enable 1 1 read-write MINOUTTRANS Minimum Output Transition Enable 2 1 read-write OUTEN Output Enable 3 1 read-write OUTMODE Output Modes 4 1 read-write OUTENPRS PRS Controlled Output Enable 18 1 read-write PRSSEL IDAC Output PRS channnel Select 20 3 read-write PRSCH0 PRS Channel 0 selected. 0x00000000 PRSCH1 PRS Channel 1 selected. 0x00000001 PRSCH2 PRS Channel 2 selected. 0x00000002 PRSCH3 PRS Channel 3 selected. 0x00000003 PRSCH4 PRS Channel 4 selected. 0x00000004 PRSCH5 PRS Channel 5 selected. 0x00000005 CURPROG Current Programming Register 0x004 32 read-write 0x00000000 0x00001F03 RANGESEL Current Range Select 0 2 read-write RANGE0 Current range set to 0 - 1.6 uA. 0x00000000 RANGE1 Current range set to 1.6 - 4.7 uA. 0x00000001 RANGE2 Current range set to 0.5 - 16 uA. 0x00000002 RANGE3 Current range set to 2 - 64 uA. 0x00000003 STEPSEL Current Step Size Select 8 5 read-write CAL Calibration Register 0x008 32 read-write 0x00000000 0x0000007F TUNING Tune the current to given accuracy 0 7 read-write DUTYCONFIG Duty Cycle Configauration Register 0x00C 32 read-write 0x00000000 0x00000003 DUTYCYCLEEN Duty Cycle Enable. 0 1 read-write EM2DUTYCYCLEDIS EM2/EM3 Duty Cycle Disable. 1 1 read-write GPIO GPIO 0x40006000 0 0x00001000 registers GPIO_EVEN 1 GPIO_ODD 6 PA_CTRL Port Control Register 0x000 32 read-write 0x00000000 0x00000003 DRIVEMODE Drive Mode Select 0 2 read-write STANDARD 6 mA drive current 0x00000000 LOWEST 0.1 mA drive current 0x00000001 HIGH 20 mA drive current 0x00000002 LOW 1 mA drive current 0x00000003 PA_MODEL Port Pin Mode Low Register 0x004 32 read-write 0x00000000 0xFFFFFFFF MODE0 Pin 0 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE1 Pin 1 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE2 Pin 2 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE3 Pin 3 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE4 Pin 4 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE5 Pin 5 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE6 Pin 6 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE7 Pin 7 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PA_MODEH Port Pin Mode High Register 0x008 32 read-write 0x00000000 0xFFFFFFFF MODE8 Pin 8 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE9 Pin 9 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE10 Pin 10 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE11 Pin 11 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE12 Pin 12 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE13 Pin 13 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE14 Pin 14 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE15 Pin 15 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PA_DOUT Port Data Out Register 0x00C 32 read-write 0x00000000 0x0000FFFF DOUT Data Out 0 16 read-write PA_DOUTSET Port Data Out Set Register 0x010 32 write-only 0x00000000 0x0000FFFF DOUTSET Data Out Set 0 16 write-only PA_DOUTCLR Port Data Out Clear Register 0x014 32 write-only 0x00000000 0x0000FFFF DOUTCLR Data Out Clear 0 16 write-only PA_DOUTTGL Port Data Out Toggle Register 0x018 32 write-only 0x00000000 0x0000FFFF DOUTTGL Data Out Toggle 0 16 write-only PA_DIN Port Data In Register 0x01C 32 read-only 0x00000000 0x0000FFFF DIN Data In 0 16 read-only PA_PINLOCKN Port Unlocked Pins Register 0x020 32 read-write 0x0000FFFF 0x0000FFFF PINLOCKN Unlocked Pins 0 16 read-write PB_CTRL Port Control Register 0x024 32 read-write 0x00000000 0x00000003 DRIVEMODE Drive Mode Select 0 2 read-write STANDARD 6 mA drive current 0x00000000 LOWEST 0.1 mA drive current 0x00000001 HIGH 20 mA drive current 0x00000002 LOW 1 mA drive current 0x00000003 PB_MODEL Port Pin Mode Low Register 0x028 32 read-write 0x00000000 0xFFFFFFFF MODE0 Pin 0 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE1 Pin 1 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE2 Pin 2 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE3 Pin 3 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE4 Pin 4 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE5 Pin 5 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE6 Pin 6 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE7 Pin 7 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PB_MODEH Port Pin Mode High Register 0x02C 32 read-write 0x00000000 0xFFFFFFFF MODE8 Pin 8 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE9 Pin 9 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE10 Pin 10 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE11 Pin 11 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE12 Pin 12 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE13 Pin 13 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE14 Pin 14 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE15 Pin 15 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PB_DOUT Port Data Out Register 0x030 32 read-write 0x00000000 0x0000FFFF DOUT Data Out 0 16 read-write PB_DOUTSET Port Data Out Set Register 0x034 32 write-only 0x00000000 0x0000FFFF DOUTSET Data Out Set 0 16 write-only PB_DOUTCLR Port Data Out Clear Register 0x038 32 write-only 0x00000000 0x0000FFFF DOUTCLR Data Out Clear 0 16 write-only PB_DOUTTGL Port Data Out Toggle Register 0x03C 32 write-only 0x00000000 0x0000FFFF DOUTTGL Data Out Toggle 0 16 write-only PB_DIN Port Data In Register 0x040 32 read-only 0x00000000 0x0000FFFF DIN Data In 0 16 read-only PB_PINLOCKN Port Unlocked Pins Register 0x044 32 read-write 0x0000FFFF 0x0000FFFF PINLOCKN Unlocked Pins 0 16 read-write PC_CTRL Port Control Register 0x048 32 read-write 0x00000000 0x00000003 DRIVEMODE Drive Mode Select 0 2 read-write STANDARD 6 mA drive current 0x00000000 LOWEST 0.1 mA drive current 0x00000001 HIGH 20 mA drive current 0x00000002 LOW 1 mA drive current 0x00000003 PC_MODEL Port Pin Mode Low Register 0x04C 32 read-write 0x00000000 0xFFFFFFFF MODE0 Pin 0 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE1 Pin 1 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE2 Pin 2 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE3 Pin 3 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE4 Pin 4 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE5 Pin 5 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE6 Pin 6 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE7 Pin 7 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PC_MODEH Port Pin Mode High Register 0x050 32 read-write 0x00000000 0xFFFFFFFF MODE8 Pin 8 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE9 Pin 9 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE10 Pin 10 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE11 Pin 11 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE12 Pin 12 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE13 Pin 13 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE14 Pin 14 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE15 Pin 15 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PC_DOUT Port Data Out Register 0x054 32 read-write 0x00000000 0x0000FFFF DOUT Data Out 0 16 read-write PC_DOUTSET Port Data Out Set Register 0x058 32 write-only 0x00000000 0x0000FFFF DOUTSET Data Out Set 0 16 write-only PC_DOUTCLR Port Data Out Clear Register 0x05C 32 write-only 0x00000000 0x0000FFFF DOUTCLR Data Out Clear 0 16 write-only PC_DOUTTGL Port Data Out Toggle Register 0x060 32 write-only 0x00000000 0x0000FFFF DOUTTGL Data Out Toggle 0 16 write-only PC_DIN Port Data In Register 0x064 32 read-only 0x00000000 0x0000FFFF DIN Data In 0 16 read-only PC_PINLOCKN Port Unlocked Pins Register 0x068 32 read-write 0x0000FFFF 0x0000FFFF PINLOCKN Unlocked Pins 0 16 read-write PD_CTRL Port Control Register 0x06C 32 read-write 0x00000000 0x00000003 DRIVEMODE Drive Mode Select 0 2 read-write STANDARD 6 mA drive current 0x00000000 LOWEST 0.1 mA drive current 0x00000001 HIGH 20 mA drive current 0x00000002 LOW 1 mA drive current 0x00000003 PD_MODEL Port Pin Mode Low Register 0x070 32 read-write 0x00000000 0xFFFFFFFF MODE0 Pin 0 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE1 Pin 1 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE2 Pin 2 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE3 Pin 3 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE4 Pin 4 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE5 Pin 5 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE6 Pin 6 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE7 Pin 7 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PD_MODEH Port Pin Mode High Register 0x074 32 read-write 0x00000000 0xFFFFFFFF MODE8 Pin 8 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE9 Pin 9 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE10 Pin 10 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE11 Pin 11 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE12 Pin 12 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE13 Pin 13 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE14 Pin 14 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE15 Pin 15 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PD_DOUT Port Data Out Register 0x078 32 read-write 0x00000000 0x0000FFFF DOUT Data Out 0 16 read-write PD_DOUTSET Port Data Out Set Register 0x07C 32 write-only 0x00000000 0x0000FFFF DOUTSET Data Out Set 0 16 write-only PD_DOUTCLR Port Data Out Clear Register 0x080 32 write-only 0x00000000 0x0000FFFF DOUTCLR Data Out Clear 0 16 write-only PD_DOUTTGL Port Data Out Toggle Register 0x084 32 write-only 0x00000000 0x0000FFFF DOUTTGL Data Out Toggle 0 16 write-only PD_DIN Port Data In Register 0x088 32 read-only 0x00000000 0x0000FFFF DIN Data In 0 16 read-only PD_PINLOCKN Port Unlocked Pins Register 0x08C 32 read-write 0x0000FFFF 0x0000FFFF PINLOCKN Unlocked Pins 0 16 read-write PE_CTRL Port Control Register 0x090 32 read-write 0x00000000 0x00000003 DRIVEMODE Drive Mode Select 0 2 read-write STANDARD 6 mA drive current 0x00000000 LOWEST 0.1 mA drive current 0x00000001 HIGH 20 mA drive current 0x00000002 LOW 1 mA drive current 0x00000003 PE_MODEL Port Pin Mode Low Register 0x094 32 read-write 0x00000000 0xFFFFFFFF MODE0 Pin 0 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE1 Pin 1 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE2 Pin 2 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE3 Pin 3 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE4 Pin 4 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE5 Pin 5 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE6 Pin 6 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE7 Pin 7 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PE_MODEH Port Pin Mode High Register 0x098 32 read-write 0x00000000 0xFFFFFFFF MODE8 Pin 8 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE9 Pin 9 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE10 Pin 10 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE11 Pin 11 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE12 Pin 12 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE13 Pin 13 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE14 Pin 14 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE15 Pin 15 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PE_DOUT Port Data Out Register 0x09C 32 read-write 0x00000000 0x0000FFFF DOUT Data Out 0 16 read-write PE_DOUTSET Port Data Out Set Register 0x0A0 32 write-only 0x00000000 0x0000FFFF DOUTSET Data Out Set 0 16 write-only PE_DOUTCLR Port Data Out Clear Register 0x0A4 32 write-only 0x00000000 0x0000FFFF DOUTCLR Data Out Clear 0 16 write-only PE_DOUTTGL Port Data Out Toggle Register 0x0A8 32 write-only 0x00000000 0x0000FFFF DOUTTGL Data Out Toggle 0 16 write-only PE_DIN Port Data In Register 0x0AC 32 read-only 0x00000000 0x0000FFFF DIN Data In 0 16 read-only PE_PINLOCKN Port Unlocked Pins Register 0x0B0 32 read-write 0x0000FFFF 0x0000FFFF PINLOCKN Unlocked Pins 0 16 read-write PF_CTRL Port Control Register 0x0B4 32 read-write 0x00000000 0x00000003 DRIVEMODE Drive Mode Select 0 2 read-write STANDARD 6 mA drive current 0x00000000 LOWEST 0.1 mA drive current 0x00000001 HIGH 20 mA drive current 0x00000002 LOW 1 mA drive current 0x00000003 PF_MODEL Port Pin Mode Low Register 0x0B8 32 read-write 0x00000000 0xFFFFFFFF MODE0 Pin 0 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE1 Pin 1 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE2 Pin 2 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE3 Pin 3 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE4 Pin 4 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE5 Pin 5 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE6 Pin 6 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE7 Pin 7 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PF_MODEH Port Pin Mode High Register 0x0BC 32 read-write 0x00000000 0xFFFFFFFF MODE8 Pin 8 Mode 0 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE9 Pin 9 Mode 4 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE10 Pin 10 Mode 8 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE11 Pin 11 Mode 12 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE12 Pin 12 Mode 16 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE13 Pin 13 Mode 20 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE14 Pin 14 Mode 24 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F MODE15 Pin 15 Mode 28 4 read-write DISABLED Input disabled. Pullup if DOUT is set. 0x00000000 INPUT Input enabled. Filter if DOUT is set 0x00000001 INPUTPULL Input enabled. DOUT determines pull direction 0x00000002 INPUTPULLFILTER Input enabled with filter. DOUT determines pull direction 0x00000003 PUSHPULL Push-pull output 0x00000004 PUSHPULLDRIVE Push-pull output with drive-strength set by DRIVEMODE 0x00000005 WIREDOR Wired-or output 0x00000006 WIREDORPULLDOWN Wired-or output with pull-down 0x00000007 WIREDAND Open-drain output 0x00000008 WIREDANDFILTER Open-drain output with filter 0x00000009 WIREDANDPULLUP Open-drain output with pullup 0x0000000A WIREDANDPULLUPFILTER Open-drain output with filter and pullup 0x0000000B WIREDANDDRIVE Open-drain output with drive-strength set by DRIVEMODE 0x0000000C WIREDANDDRIVEFILTER Open-drain output with filter and drive-strength set by DRIVEMODE 0x0000000D WIREDANDDRIVEPULLUP Open-drain output with pullup and drive-strength set by DRIVEMODE 0x0000000E WIREDANDDRIVEPULLUPFILTER Open-drain output with filter, pullup and drive-strength set by DRIVEMODE 0x0000000F PF_DOUT Port Data Out Register 0x0C0 32 read-write 0x00000000 0x0000FFFF DOUT Data Out 0 16 read-write PF_DOUTSET Port Data Out Set Register 0x0C4 32 write-only 0x00000000 0x0000FFFF DOUTSET Data Out Set 0 16 write-only PF_DOUTCLR Port Data Out Clear Register 0x0C8 32 write-only 0x00000000 0x0000FFFF DOUTCLR Data Out Clear 0 16 write-only PF_DOUTTGL Port Data Out Toggle Register 0x0CC 32 write-only 0x00000000 0x0000FFFF DOUTTGL Data Out Toggle 0 16 write-only PF_DIN Port Data In Register 0x0D0 32 read-only 0x00000000 0x0000FFFF DIN Data In 0 16 read-only PF_PINLOCKN Port Unlocked Pins Register 0x0D4 32 read-write 0x0000FFFF 0x0000FFFF PINLOCKN Unlocked Pins 0 16 read-write EXTIPSELL External Interrupt Port Select Low Register 0x100 32 read-write 0x00000000 0x77777777 EXTIPSEL0 External Interrupt 0 Port Select 0 3 read-write PORTA Port A pin 0 selected for external interrupt 0 0x00000000 PORTB Port B pin 0 selected for external interrupt 0 0x00000001 PORTC Port C pin 0 selected for external interrupt 0 0x00000002 PORTD Port D pin 0 selected for external interrupt 0 0x00000003 PORTE Port E pin 0 selected for external interrupt 0 0x00000004 PORTF Port F pin 0 selected for external interrupt 0 0x00000005 EXTIPSEL1 External Interrupt 1 Port Select 4 3 read-write PORTA Port A pin 1 selected for external interrupt 1 0x00000000 PORTB Port B pin 1 selected for external interrupt 1 0x00000001 PORTC Port C pin 1 selected for external interrupt 1 0x00000002 PORTD Port D pin 1 selected for external interrupt 1 0x00000003 PORTE Port E pin 1 selected for external interrupt 1 0x00000004 PORTF Port F pin 1 selected for external interrupt 1 0x00000005 EXTIPSEL2 External Interrupt 2 Port Select 8 3 read-write PORTA Port A pin 2 selected for external interrupt 2 0x00000000 PORTB Port B pin 2 selected for external interrupt 2 0x00000001 PORTC Port C pin 2 selected for external interrupt 2 0x00000002 PORTD Port D pin 2 selected for external interrupt 2 0x00000003 PORTE Port E pin 2 selected for external interrupt 2 0x00000004 PORTF Port F pin 2 selected for external interrupt 2 0x00000005 EXTIPSEL3 External Interrupt 3 Port Select 12 3 read-write PORTA Port A pin 3 selected for external interrupt 3 0x00000000 PORTB Port B pin 3 selected for external interrupt 3 0x00000001 PORTC Port C pin 3 selected for external interrupt 3 0x00000002 PORTD Port D pin 3 selected for external interrupt 3 0x00000003 PORTE Port E pin 3 selected for external interrupt 3 0x00000004 PORTF Port F pin 3 selected for external interrupt 3 0x00000005 EXTIPSEL4 External Interrupt 4 Port Select 16 3 read-write PORTA Port A pin 4 selected for external interrupt 4 0x00000000 PORTB Port B pin 4 selected for external interrupt 4 0x00000001 PORTC Port C pin 4 selected for external interrupt 4 0x00000002 PORTD Port D pin 4 selected for external interrupt 4 0x00000003 PORTE Port E pin 4 selected for external interrupt 4 0x00000004 PORTF Port F pin 4 selected for external interrupt 4 0x00000005 EXTIPSEL5 External Interrupt 5 Port Select 20 3 read-write PORTA Port A pin 5 selected for external interrupt 5 0x00000000 PORTB Port B pin 5 selected for external interrupt 5 0x00000001 PORTC Port C pin 5 selected for external interrupt 5 0x00000002 PORTD Port D pin 5 selected for external interrupt 5 0x00000003 PORTE Port E pin 5 selected for external interrupt 5 0x00000004 PORTF Port F pin 5 selected for external interrupt 5 0x00000005 EXTIPSEL6 External Interrupt 6 Port Select 24 3 read-write PORTA Port A pin 6 selected for external interrupt 6 0x00000000 PORTB Port B pin 6 selected for external interrupt 6 0x00000001 PORTC Port C pin 6 selected for external interrupt 6 0x00000002 PORTD Port D pin 6 selected for external interrupt 6 0x00000003 PORTE Port E pin 6 selected for external interrupt 6 0x00000004 PORTF Port F pin 6 selected for external interrupt 6 0x00000005 EXTIPSEL7 External Interrupt 7 Port Select 28 3 read-write PORTA Port A pin 7 selected for external interrupt 7 0x00000000 PORTB Port B pin 7 selected for external interrupt 7 0x00000001 PORTC Port C pin 7 selected for external interrupt 7 0x00000002 PORTD Port D pin 7 selected for external interrupt 7 0x00000003 PORTE Port E pin 7 selected for external interrupt 7 0x00000004 PORTF Port F pin 7 selected for external interrupt 7 0x00000005 EXTIPSELH External Interrupt Port Select High Register 0x104 32 read-write 0x00000000 0x77777777 EXTIPSEL8 External Interrupt 8 Port Select 0 3 read-write PORTA Port A pin 8 selected for external interrupt 8 0x00000000 PORTB Port B pin 8 selected for external interrupt 8 0x00000001 PORTC Port C pin 8 selected for external interrupt 8 0x00000002 PORTD Port D pin 8 selected for external interrupt 8 0x00000003 PORTE Port E pin 8 selected for external interrupt 8 0x00000004 PORTF Port F pin 8 selected for external interrupt 8 0x00000005 EXTIPSEL9 External Interrupt 9 Port Select 4 3 read-write PORTA Port A pin 9 selected for external interrupt 9 0x00000000 PORTB Port B pin 9 selected for external interrupt 9 0x00000001 PORTC Port C pin 9 selected for external interrupt 9 0x00000002 PORTD Port D pin 9 selected for external interrupt 9 0x00000003 PORTE Port E pin 9 selected for external interrupt 9 0x00000004 PORTF Port F pin 9 selected for external interrupt 9 0x00000005 EXTIPSEL10 External Interrupt 10 Port Select 8 3 read-write PORTA Port A pin 10 selected for external interrupt 10 0x00000000 PORTB Port B pin 10 selected for external interrupt 10 0x00000001 PORTC Port C pin 10 selected for external interrupt 10 0x00000002 PORTD Port D pin 10 selected for external interrupt 10 0x00000003 PORTE Port E pin 10 selected for external interrupt 10 0x00000004 PORTF Port F pin 10 selected for external interrupt 10 0x00000005 EXTIPSEL11 External Interrupt 11 Port Select 12 3 read-write PORTA Port A pin 11 selected for external interrupt 11 0x00000000 PORTB Port B pin 11 selected for external interrupt 11 0x00000001 PORTC Port C pin 11 selected for external interrupt 11 0x00000002 PORTD Port D pin 11 selected for external interrupt 11 0x00000003 PORTE Port E pin 11 selected for external interrupt 11 0x00000004 PORTF Port F pin 11 selected for external interrupt 11 0x00000005 EXTIPSEL12 External Interrupt 12 Port Select 16 3 read-write PORTA Port A pin 12 selected for external interrupt 12 0x00000000 PORTB Port B pin 12 selected for external interrupt 12 0x00000001 PORTC Port C pin 12 selected for external interrupt 12 0x00000002 PORTD Port D pin 12 selected for external interrupt 12 0x00000003 PORTE Port E pin 12 selected for external interrupt 12 0x00000004 PORTF Port F pin 12 selected for external interrupt 12 0x00000005 EXTIPSEL13 External Interrupt 13 Port Select 20 3 read-write PORTA Port A pin 13 selected for external interrupt 13 0x00000000 PORTB Port B pin 13 selected for external interrupt 13 0x00000001 PORTC Port C pin 13 selected for external interrupt 13 0x00000002 PORTD Port D pin 13 selected for external interrupt 13 0x00000003 PORTE Port E pin 13 selected for external interrupt 13 0x00000004 PORTF Port F pin 13 selected for external interrupt 13 0x00000005 EXTIPSEL14 External Interrupt 14 Port Select 24 3 read-write PORTA Port A pin 14 selected for external interrupt 14 0x00000000 PORTB Port B pin 14 selected for external interrupt 14 0x00000001 PORTC Port C pin 14 selected for external interrupt 14 0x00000002 PORTD Port D pin 14 selected for external interrupt 14 0x00000003 PORTE Port E pin 14 selected for external interrupt 14 0x00000004 PORTF Port F pin 14 selected for external interrupt 14 0x00000005 EXTIPSEL15 External Interrupt 15 Port Select 28 3 read-write PORTA Port A pin 15 selected for external interrupt 15 0x00000000 PORTB Port B pin 15 selected for external interrupt 15 0x00000001 PORTC Port C pin 15 selected for external interrupt 15 0x00000002 PORTD Port D pin 15 selected for external interrupt 15 0x00000003 PORTE Port E pin 15 selected for external interrupt 15 0x00000004 PORTF Port F pin 15 selected for external interrupt 15 0x00000005 EXTIRISE External Interrupt Rising Edge Trigger Register 0x108 32 read-write 0x00000000 0x0000FFFF EXTIRISE External Interrupt n Rising Edge Trigger Enable 0 16 read-write EXTIFALL External Interrupt Falling Edge Trigger Register 0x10C 32 read-write 0x00000000 0x0000FFFF EXTIFALL External Interrupt n Falling Edge Trigger Enable 0 16 read-write IEN Interrupt Enable Register 0x110 32 read-write 0x00000000 0x0000FFFF EXT External Interrupt n Enable 0 16 read-write IF Interrupt Flag Register 0x114 32 read-only 0x00000000 0x0000FFFF EXT External Interrupt Flag n 0 16 read-only IFS Interrupt Flag Set Register 0x118 32 write-only 0x00000000 0x0000FFFF EXT External Interrupt Flag n Set 0 16 write-only IFC Interrupt Flag Clear Register 0x11C 32 write-only 0x00000000 0x0000FFFF EXT External Interrupt Flag Clear 0 16 write-only ROUTE I/O Routing Register 0x120 32 read-write 0x00000003 0x00000003 SWCLKPEN Serial Wire Clock Pin Enable 0 1 read-write SWDIOPEN Serial Wire Data Pin Enable 1 1 read-write INSENSE Input Sense Register 0x124 32 read-write 0x00000003 0x00000003 INT Interrupt Sense Enable 0 1 read-write PRS PRS Sense Enable 1 1 read-write LOCK Configuration Lock Register 0x128 32 read-write 0x00000000 0x0000FFFF LOCKKEY Configuration Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 CTRL GPIO Control Register 0x12C 32 read-write 0x00000000 0x00000001 EM4RET Enable EM4 retention 0 1 read-write CMD GPIO Command Register 0x130 32 write-only 0x00000000 0x00000001 EM4WUCLR EM4 Wake-up clear 0 1 write-only EM4WUEN EM4 Wake-up Enable Register 0x134 32 read-write 0x00000000 0x0000007F EM4WUEN EM4 Wake-up enable 0 7 read-write A0 Enable em4 wakeup on pin A0 0x00000001 C9 Enable em4 wakeup on pin C9 0x00000004 F1 Enable em4 wakeup on pin F1 0x00000008 F2 Enable em4 wakeup on pin F2 0x00000010 E13 Enable em4 wakeup on pin E13 0x00000020 C4 Enable em4 wakeup on pin C4 0x00000040 EM4WUPOL EM4 Wake-up Polarity Register 0x138 32 read-write 0x00000000 0x0000007F EM4WUPOL EM4 Wake-up Polarity 0 7 read-write A0 Determines polarity on pin A0 0x00000001 C9 Determines polarity on pin C9 0x00000004 F1 Determines polarity on pin F1 0x00000008 F2 Determines polarity on pin F2 0x00000010 E13 Determines polarity on pin E13 0x00000020 C4 Determines polarity on pin C4 0x00000040 EM4WUCAUSE EM4 Wake-up Cause Register 0x13C 32 read-only 0x00000000 0x0000007F EM4WUCAUSE EM4 wake-up cause 0 7 read-only A0 This bit indicates an em4 wake-up request occurred on pin A0 0x00000001 C9 This bit indicates an em4 wake-up request occurred on pin C9 0x00000004 F1 This bit indicates an em4 wake-up request occurred on pin F1 0x00000008 F2 This bit indicates an em4 wake-up request occurred on pin F2 0x00000010 E13 This bit indicates an em4 wake-up request occurred on pin E13 0x00000020 C4 This bit indicates an em4 wake-up request occurred on pin C4 0x00000040 VCMP VCMP 0x40000000 0 0x00000400 registers VCMP 14 CTRL Control Register 0x000 32 read-write 0x47000000 0x4F030715 EN Voltage Supply Comparator Enable 0 1 read-write INACTVAL Inactive Value 2 1 read-write HYSTEN Hysteresis Enable 4 1 read-write WARMTIME Warm-Up Time 8 3 read-write 4CYCLES 4 HFPERCLK cycles 0x00000000 8CYCLES 8 HFPERCLK cycles 0x00000001 16CYCLES 16 HFPERCLK cycles 0x00000002 32CYCLES 32 HFPERCLK cycles 0x00000003 64CYCLES 64 HFPERCLK cycles 0x00000004 128CYCLES 128 HFPERCLK cycles 0x00000005 256CYCLES 256 HFPERCLK cycles 0x00000006 512CYCLES 512 HFPERCLK cycles 0x00000007 IRISE Rising Edge Interrupt Sense 16 1 read-write IFALL Falling Edge Interrupt Sense 17 1 read-write BIASPROG VCMP Bias Programming Value 24 4 read-write HALFBIAS Half Bias Current 30 1 read-write INPUTSEL Input Selection Register 0x004 32 read-write 0x00000000 0x0000013F TRIGLEVEL Trigger Level 0 6 read-write LPREF Low Power Reference 8 1 read-write STATUS Status Register 0x008 32 read-only 0x00000000 0x00000003 VCMPACT Voltage Supply Comparator Active 0 1 read-only VCMPOUT Voltage Supply Comparator Output 1 1 read-only IEN Interrupt Enable Register 0x00C 32 read-write 0x00000000 0x00000003 EDGE Edge Trigger Interrupt Enable 0 1 read-write WARMUP Warm-up Interrupt Enable 1 1 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000003 EDGE Edge Triggered Interrupt Flag 0 1 read-only WARMUP Warm-up Interrupt Flag 1 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000003 EDGE Edge Triggered Interrupt Flag Set 0 1 write-only WARMUP Warm-up Interrupt Flag Set 1 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000003 EDGE Edge Triggered Interrupt Flag Clear 0 1 write-only WARMUP Warm-up Interrupt Flag Clear 1 1 write-only ADC0 ADC0 0x40002000 0 0x00000400 registers ADC0 4 CTRL Control Register 0x000 32 read-write 0x001F0000 0x1F7F7F3B WARMUPMODE Warm-up Mode 0 2 read-write NORMAL ADC is shut down after each conversion 0x00000000 FASTBG Bandgap references do not need warm up, but have reduced accuracy. 0x00000001 KEEPSCANREFWARM Reference selected for scan mode is kept warm. 0x00000002 KEEPADCWARM ADC is kept warmed up and scan reference is kept warm 0x00000003 TAILGATE Conversion Tailgating 3 1 read-write LPFMODE Low Pass Filter Mode 4 2 read-write BYPASS No filter or decoupling capacitor 0x00000000 DECAP On chip decoupling capacitor selected 0x00000001 RCFILT On chip RC filter selected 0x00000002 PRESC Prescaler Setting 8 7 read-write NODIVISION 0x00000000 TIMEBASE Time Base 16 7 read-write OVSRSEL Oversample Rate Select 24 4 read-write X2 2 samples for each conversion result 0x00000000 X4 4 samples for each conversion result 0x00000001 X8 8 samples for each conversion result 0x00000002 X16 16 samples for each conversion result 0x00000003 X32 32 samples for each conversion result 0x00000004 X64 64 samples for each conversion result 0x00000005 X128 128 samples for each conversion result 0x00000006 X256 256 samples for each conversion result 0x00000007 X512 512 samples for each conversion result 0x00000008 X1024 1024 samples for each conversion result 0x00000009 X2048 2048 samples for each conversion result 0x0000000A X4096 4096 samples for each conversion result 0x0000000B CHCONIDLE Input channel connected when ADC is IDLE 28 1 read-write CMD Command Register 0x004 32 write-only 0x00000000 0x0000000F SINGLESTART Single Conversion Start 0 1 write-only SINGLESTOP Single Conversion Stop 1 1 write-only SCANSTART Scan Sequence Start 2 1 write-only SCANSTOP Scan Sequence Stop 3 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x07031303 SINGLEACT Single Conversion Active 0 1 read-only SCANACT Scan Conversion Active 1 1 read-only SINGLEREFWARM Single Reference Warmed Up 8 1 read-only SCANREFWARM Scan Reference Warmed Up 9 1 read-only WARM ADC Warmed Up 12 1 read-only SINGLEDV Single Sample Data Valid 16 1 read-only SCANDV Scan Data Valid 17 1 read-only SCANDATASRC Scan Data Source 24 3 read-only CH0 Single ended mode: SCANDATA result originates from ADCn_CH0. Differential mode: SCANDATA result originates from ADCn_CH0-ADCn_CH1 0x00000000 CH1 Single ended mode: SCANDATA result originates from ADCn_CH1. Differential mode: SCANDATA result originates from ADCn_CH2_ADCn_CH3 0x00000001 CH2 Single ended mode: SCANDATA result originates from ADCn_CH2. Differential mode: SCANDATA result originates from ADCn_CH4-ADCn_CH5 0x00000002 CH3 Single ended mode: SCANDATA result originates from ADCn_CH3. Differential mode: SCANDATA result originates from ADCn_CH6-ADCn_CH7 0x00000003 CH4 SCANDATA result originates from ADCn_CH4 0x00000004 CH5 SCANDATA result originates from ADCn_CH5 0x00000005 CH6 SCANDATA result originates from ADCn_CH6 0x00000006 CH7 SCANDATA result originates from ADCn_CH7 0x00000007 SINGLECTRL Single Sample Control Register 0x00C 32 read-write 0x00000000 0x71F70F37 REP Single Sample Repetitive Mode 0 1 read-write DIFF Single Sample Differential Mode 1 1 read-write ADJ Single Sample Result Adjustment 2 1 read-write RES Single Sample Resolution Select 4 2 read-write 12BIT 12-bit resolution 0x00000000 8BIT 8-bit resolution 0x00000001 6BIT 6-bit resolution 0x00000002 OVS Oversampling enabled. Oversampling rate is set in OVSRSEL 0x00000003 INPUTSEL Single Sample Input Selection 8 4 read-write REF Single Sample Reference Selection 16 3 read-write 1V25 Internal 1.25 V reference 0x00000000 2V5 Internal 2.5 V reference 0x00000001 VDD Buffered VDD 0x00000002 5VDIFF Internal differential 5 V reference 0x00000003 EXTSINGLE Single ended external reference from ADCn_CH6 0x00000004 2XEXTDIFF Differential external reference, 2x(ADCn_CH6 - ADCn_CH7) 0x00000005 2XVDD Unbuffered 2xVDD 0x00000006 AT Single Sample Acquisition Time 20 4 read-write 1CYCLE 1 ADC_CLK cycle acquisition time for single sample 0x00000000 2CYCLES 2 ADC_CLK cycles acquisition time for single sample 0x00000001 4CYCLES 4 ADC_CLK cycles acquisition time for single sample 0x00000002 8CYCLES 8 ADC_CLK cycles acquisition time for single sample 0x00000003 16CYCLES 16 ADC_CLK cycles acquisition time for single sample 0x00000004 32CYCLES 32 ADC_CLK cycles acquisition time for single sample 0x00000005 64CYCLES 64 ADC_CLK cycles acquisition time for single sample 0x00000006 128CYCLES 128 ADC_CLK cycles acquisition time for single sample 0x00000007 256CYCLES 256 ADC_CLK cycles acquisition time for single sample 0x00000008 PRSEN Single Sample PRS Trigger Enable 24 1 read-write PRSSEL Single Sample PRS Trigger Select 28 3 read-write PRSCH0 PRS ch 0 triggers single sample 0x00000000 PRSCH1 PRS ch 1 triggers single sample 0x00000001 PRSCH2 PRS ch 2 triggers single sample 0x00000002 PRSCH3 PRS ch 3 triggers single sample 0x00000003 PRSCH4 PRS ch 4 triggers single sample 0x00000004 PRSCH5 PRS ch 5 triggers single sample 0x00000005 SCANCTRL Scan Control Register 0x010 32 read-write 0x00000000 0x71F7FF37 REP Scan Sequence Repetitive Mode 0 1 read-write DIFF Scan Sequence Differential Mode 1 1 read-write ADJ Scan Sequence Result Adjustment 2 1 read-write RES Scan Sequence Resolution Select 4 2 read-write 12BIT 12-bit resolution 0x00000000 8BIT 8-bit resolution 0x00000001 6BIT 6-bit resolution 0x00000002 OVS Oversampling enabled. Oversampling rate is set in OVSRSEL 0x00000003 INPUTMASK Scan Sequence Input Mask 8 8 read-write REF Scan Sequence Reference Selection 16 3 read-write 1V25 Internal 1.25 V reference 0x00000000 2V5 Internal 2.5 V reference 0x00000001 VDD VDD 0x00000002 5VDIFF Internal differential 5 V reference 0x00000003 EXTSINGLE Single ended external reference from ADCn_CH6 0x00000004 2XEXTDIFF Differential external reference, 2x(ADCn_CH6 - ADCn_CH7) 0x00000005 2XVDD Unbuffered 2xVDD 0x00000006 AT Scan Sample Acquisition Time 20 4 read-write 1CYCLE 1 ADC_CLK cycle acquisition time for scan samples 0x00000000 2CYCLES 2 ADC_CLK cycles acquisition time for scan samples 0x00000001 4CYCLES 4 ADC_CLK cycles acquisition time for scan samples 0x00000002 8CYCLES 8 ADC_CLK cycles acquisition time for scan samples 0x00000003 16CYCLES 16 ADC_CLK cycles acquisition time for scan samples 0x00000004 32CYCLES 32 ADC_CLK cycles acquisition time for scan samples 0x00000005 64CYCLES 64 ADC_CLK cycles acquisition time for scan samples 0x00000006 128CYCLES 128 ADC_CLK cycles acquisition time for scan samples 0x00000007 256CYCLES 256 ADC_CLK cycles acquisition time for scan samples 0x00000008 PRSEN Scan Sequence PRS Trigger Enable 24 1 read-write PRSSEL Scan Sequence PRS Trigger Select 28 3 read-write PRSCH0 PRS ch 0 triggers scan sequence 0x00000000 PRSCH1 PRS ch 1 triggers scan sequence 0x00000001 PRSCH2 PRS ch 2 triggers scan sequence 0x00000002 PRSCH3 PRS ch 3 triggers scan sequence 0x00000003 PRSCH4 PRS ch 4 triggers scan sequence 0x00000004 PRSCH5 PRS ch 5 triggers scan sequence 0x00000005 IEN Interrupt Enable Register 0x014 32 read-write 0x00000000 0x00000303 SINGLE Single Conversion Complete Interrupt Enable 0 1 read-write SCAN Scan Conversion Complete Interrupt Enable 1 1 read-write SINGLEOF Single Result Overflow Interrupt Enable 8 1 read-write SCANOF Scan Result Overflow Interrupt Enable 9 1 read-write IF Interrupt Flag Register 0x018 32 read-only 0x00000000 0x00000303 SINGLE Single Conversion Complete Interrupt Flag 0 1 read-only SCAN Scan Conversion Complete Interrupt Flag 1 1 read-only SINGLEOF Single Result Overflow Interrupt Flag 8 1 read-only SCANOF Scan Result Overflow Interrupt Flag 9 1 read-only IFS Interrupt Flag Set Register 0x01C 32 write-only 0x00000000 0x00000303 SINGLE Single Conversion Complete Interrupt Flag Set 0 1 write-only SCAN Scan Conversion Complete Interrupt Flag Set 1 1 write-only SINGLEOF Single Result Overflow Interrupt Flag Set 8 1 write-only SCANOF Scan Result Overflow Interrupt Flag Set 9 1 write-only IFC Interrupt Flag Clear Register 0x020 32 write-only 0x00000000 0x00000303 SINGLE Single Conversion Complete Interrupt Flag Clear 0 1 write-only SCAN Scan Conversion Complete Interrupt Flag Clear 1 1 write-only SINGLEOF Single Result Overflow Interrupt Flag Clear 8 1 write-only SCANOF Scan Result Overflow Interrupt Flag Clear 9 1 write-only SINGLEDATA Single Conversion Result Data 0x024 32 read-only 0x00000000 0xFFFFFFFF modifyExternal DATA Single Conversion Result Data 0 32 read-only SCANDATA Scan Conversion Result Data 0x028 32 read-only 0x00000000 0xFFFFFFFF modifyExternal DATA Scan Conversion Result Data 0 32 read-only SINGLEDATAP Single Conversion Result Data Peek Register 0x02C 32 read-only 0x00000000 0xFFFFFFFF DATAP Single Conversion Result Data Peek 0 32 read-only SCANDATAP Scan Sequence Result Data Peek Register 0x030 32 read-only 0x00000000 0xFFFFFFFF DATAP Scan Conversion Result Data Peek 0 32 read-only CAL Calibration Register 0x034 32 read-write 0x3F003F00 0x7F7F7F7F SINGLEOFFSET Single Mode Offset Calibration Value 0 7 read-write SINGLEGAIN Single Mode Gain Calibration Value 8 7 read-write SCANOFFSET Scan Mode Offset Calibration Value 16 7 read-write SCANGAIN Scan Mode Gain Calibration Value 24 7 read-write BIASPROG Bias Programming Register 0x03C 32 read-write 0x00000747 0x00000F4F BIASPROG Bias Programming Value 0 4 read-write HALFBIAS Half Bias Current 6 1 read-write COMPBIAS Comparator Bias Value 8 4 read-write LEUART0 LEUART0 0x40084000 0 0x00000400 registers LEUART0 10 CTRL Control Register 0x000 32 read-write 0x00000000 0x0000FFFF AUTOTRI Automatic Transmitter Tristate 0 1 read-write DATABITS Data-Bit Mode 1 1 read-write PARITY Parity-Bit Mode 2 2 read-write NONE Parity bits are not used 0x00000000 EVEN Even parity are used. Parity bits are automatically generated and checked by hardware. 0x00000002 ODD Odd parity is used. Parity bits are automatically generated and checked by hardware. 0x00000003 STOPBITS Stop-Bit Mode 4 1 read-write INV Invert Input And Output 5 1 read-write ERRSDMA Clear RX DMA On Error 6 1 read-write LOOPBK Loopback Enable 7 1 read-write SFUBRX Start-Frame UnBlock RX 8 1 read-write MPM Multi-Processor Mode 9 1 read-write MPAB Multi-Processor Address-Bit 10 1 read-write BIT8DV Bit 8 Default Value 11 1 read-write RXDMAWU RX DMA Wakeup 12 1 read-write TXDMAWU TX DMA Wakeup 13 1 read-write TXDELAY TX Delay Transmission 14 2 read-write NONE Frames are transmitted immediately 0x00000000 SINGLE Transmission of new frames are delayed by a single baud period 0x00000001 DOUBLE Transmission of new frames are delayed by two baud periods 0x00000002 TRIPLE Transmission of new frames are delayed by three baud periods 0x00000003 CMD Command Register 0x004 32 write-only 0x00000000 0x000000FF RXEN Receiver Enable 0 1 write-only RXDIS Receiver Disable 1 1 write-only TXEN Transmitter Enable 2 1 write-only TXDIS Transmitter Disable 3 1 write-only RXBLOCKEN Receiver Block Enable 4 1 write-only RXBLOCKDIS Receiver Block Disable 5 1 write-only CLEARTX Clear TX 6 1 write-only CLEARRX Clear RX 7 1 write-only STATUS Status Register 0x008 32 read-only 0x00000010 0x0000003F RXENS Receiver Enable Status 0 1 read-only TXENS Transmitter Enable Status 1 1 read-only RXBLOCK Block Incoming Data 2 1 read-only TXC TX Complete 3 1 read-only TXBL TX Buffer Level 4 1 read-only RXDATAV RX Data Valid 5 1 read-only CLKDIV Clock Control Register 0x00C 32 read-write 0x00000000 0x00007FF8 DIV Fractional Clock Divider 3 12 read-write STARTFRAME Start Frame Register 0x010 32 read-write 0x00000000 0x000001FF STARTFRAME Start Frame 0 9 read-write SIGFRAME Signal Frame Register 0x014 32 read-write 0x00000000 0x000001FF SIGFRAME Signal Frame 0 9 read-write RXDATAX Receive Buffer Data Extended Register 0x018 32 read-only 0x00000000 0x0000C1FF modifyExternal RXDATA RX Data 0 9 read-only PERR Receive Data Parity Error 14 1 read-only FERR Receive Data Framing Error 15 1 read-only RXDATA Receive Buffer Data Register 0x01C 32 read-only 0x00000000 0x000000FF modifyExternal RXDATA RX Data 0 8 read-only RXDATAXP Receive Buffer Data Extended Peek Register 0x020 32 read-only 0x00000000 0x0000C1FF RXDATAP RX Data Peek 0 9 read-only PERRP Receive Data Parity Error Peek 14 1 read-only FERRP Receive Data Framing Error Peek 15 1 read-only TXDATAX Transmit Buffer Data Extended Register 0x024 32 write-only 0x00000000 0x0000E1FF TXDATA TX Data 0 9 write-only TXBREAK Transmit Data As Break 13 1 write-only TXDISAT Disable TX After Transmission 14 1 write-only RXENAT Enable RX After Transmission 15 1 write-only TXDATA Transmit Buffer Data Register 0x028 32 write-only 0x00000000 0x000000FF TXDATA TX Data 0 8 write-only IF Interrupt Flag Register 0x02C 32 read-only 0x00000002 0x000007FF TXC TX Complete Interrupt Flag 0 1 read-only TXBL TX Buffer Level Interrupt Flag 1 1 read-only RXDATAV RX Data Valid Interrupt Flag 2 1 read-only RXOF RX Overflow Interrupt Flag 3 1 read-only RXUF RX Underflow Interrupt Flag 4 1 read-only TXOF TX Overflow Interrupt Flag 5 1 read-only PERR Parity Error Interrupt Flag 6 1 read-only FERR Framing Error Interrupt Flag 7 1 read-only MPAF Multi-Processor Address Frame Interrupt Flag 8 1 read-only STARTF Start Frame Interrupt Flag 9 1 read-only SIGF Signal Frame Interrupt Flag 10 1 read-only IFS Interrupt Flag Set Register 0x030 32 write-only 0x00000000 0x000007F9 TXC Set TX Complete Interrupt Flag 0 1 write-only RXOF Set RX Overflow Interrupt Flag 3 1 write-only RXUF Set RX Underflow Interrupt Flag 4 1 write-only TXOF Set TX Overflow Interrupt Flag 5 1 write-only PERR Set Parity Error Interrupt Flag 6 1 write-only FERR Set Framing Error Interrupt Flag 7 1 write-only MPAF Set Multi-Processor Address Frame Interrupt Flag 8 1 write-only STARTF Set Start Frame Interrupt Flag 9 1 write-only SIGF Set Signal Frame Interrupt Flag 10 1 write-only IFC Interrupt Flag Clear Register 0x034 32 write-only 0x00000000 0x000007F9 TXC Clear TX Complete Interrupt Flag 0 1 write-only RXOF Clear RX Overflow Interrupt Flag 3 1 write-only RXUF Clear RX Underflow Interrupt Flag 4 1 write-only TXOF Clear TX Overflow Interrupt Flag 5 1 write-only PERR Clear Parity Error Interrupt Flag 6 1 write-only FERR Clear Framing Error Interrupt Flag 7 1 write-only MPAF Clear Multi-Processor Address Frame Interrupt Flag 8 1 write-only STARTF Clear Start-Frame Interrupt Flag 9 1 write-only SIGF Clear Signal-Frame Interrupt Flag 10 1 write-only IEN Interrupt Enable Register 0x038 32 read-write 0x00000000 0x000007FF TXC TX Complete Interrupt Enable 0 1 read-write TXBL TX Buffer Level Interrupt Enable 1 1 read-write RXDATAV RX Data Valid Interrupt Enable 2 1 read-write RXOF RX Overflow Interrupt Enable 3 1 read-write RXUF RX Underflow Interrupt Enable 4 1 read-write TXOF TX Overflow Interrupt Enable 5 1 read-write PERR Parity Error Interrupt Enable 6 1 read-write FERR Framing Error Interrupt Enable 7 1 read-write MPAF Multi-Processor Address Frame Interrupt Enable 8 1 read-write STARTF Start Frame Interrupt Enable 9 1 read-write SIGF Signal Frame Interrupt Enable 10 1 read-write PULSECTRL Pulse Control Register 0x03C 32 read-write 0x00000000 0x0000003F PULSEW Pulse Width 0 4 read-write PULSEEN Pulse Generator/Extender Enable 4 1 read-write PULSEFILT Pulse Filter 5 1 read-write FREEZE Freeze Register 0x040 32 read-write 0x00000000 0x00000001 REGFREEZE Register Update Freeze 0 1 read-write SYNCBUSY Synchronization Busy Register 0x044 32 read-only 0x00000000 0x000000FF CTRL CTRL Register Busy 0 1 read-only CMD CMD Register Busy 1 1 read-only CLKDIV CLKDIV Register Busy 2 1 read-only STARTFRAME STARTFRAME Register Busy 3 1 read-only SIGFRAME SIGFRAME Register Busy 4 1 read-only TXDATAX TXDATAX Register Busy 5 1 read-only TXDATA TXDATA Register Busy 6 1 read-only PULSECTRL PULSECTRL Register Busy 7 1 read-only ROUTE I/O Routing Register 0x054 32 read-write 0x00000000 0x00000703 RXPEN RX Pin Enable 0 1 read-write TXPEN TX Pin Enable 1 1 read-write LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 INPUT LEUART Input Register 0x0AC 32 read-write 0x00000000 0x00000017 RXPRSSEL RX PRS Channel Select 0 3 read-write PRSCH0 PRS Channel 0 selected 0x00000000 PRSCH1 PRS Channel 1 selected 0x00000001 PRSCH2 PRS Channel 2 selected 0x00000002 PRSCH3 PRS Channel 3 selected 0x00000003 PRSCH4 PRS Channel 4 selected 0x00000004 PRSCH5 PRS Channel 5 selected 0x00000005 RXPRS PRS RX Enable 4 1 read-write PCNT0 PCNT0 0x40086000 0 0x00000400 registers PCNT0 11 CTRL Control Register 0x000 32 read-write 0x00000000 0xFECCCF7F MODE Mode Select 0 2 read-write DISABLE The module is disabled. 0x00000000 OVSSINGLE Single input LFACLK oversampling mode (available in EM0-EM2). 0x00000001 EXTCLKSINGLE Externally clocked single input counter mode (available in EM0-EM3). 0x00000002 EXTCLKQUAD Externally clocked quadrature decoder mode (available in EM0-EM3). 0x00000003 CNTDIR Non-Quadrature Mode Counter Direction Control 2 1 read-write EDGE Edge Select 3 1 read-write FILT Enable Digital Pulse Width Filter 4 1 read-write RSTEN Enable PCNT Clock Domain Reset 5 1 read-write AUXCNTRSTEN Enable AUXCNT Reset 6 1 read-write HYST Enable Hysteresis 8 1 read-write S1CDIR Count direction determined by S1 9 1 read-write CNTEV Controls when the counter counts 10 2 read-write BOTH Counts up on up-count and down on down-count events. 0x00000000 UP Only counts up on up-count events. 0x00000001 DOWN Only counts down on down-count events. 0x00000002 NONE Never counts. 0x00000003 AUXCNTEV Controls when the auxiliary counter counts 14 2 read-write NONE Never counts. 0x00000000 UP Counts up on up-count events. 0x00000001 DOWN Counts up on down-count events. 0x00000002 BOTH Counts up on both up-count and down-count events. 0x00000003 TCCMODE Sets the mode for triggered compare and clear 18 2 read-write DISABLED Triggered compare and clear not enabled. 0x00000000 LFA Compare and clear performed on each (optionally prescaled) LFA clock cycle. 0x00000001 PRS Compare and clear performed on positive PRS edges. 0x00000002 TCCPRESC Set the LFA prescaler for triggered compare and clear 22 2 read-write DIV1 Compare and clear event each LFA cycle. 0x00000000 DIV2 Compare and clear performed on every other LFA cycle. 0x00000001 DIV4 Compare and clear performed on every 4th LFA cycle. 0x00000002 DIV8 Compare and clear performed on every 8th LFA cycle. 0x00000003 TCCCOMP Triggered compare and clear compare mode 25 2 read-write LTOE Compare match if PCNT_CNT is less than, or equal to PCNT_TOP. 0x00000000 GTOE Compare match if PCNT_CNT is greater than or equal to PCNT_TOP. 0x00000001 RANGE Compare match if PCNT_CNT is less than, or equal to PCNT_TOP[15:8]], and greater than, or equal to PCNT_TOP[7:0]. 0x00000002 PRSGATEEN PRS gate enable 27 1 read-write TCCPRSPOL TCC PRS polarity select 28 1 read-write TCCPRSSEL TCC PRS Channel Select 29 3 read-write PRSCH0 PRS Channel 0 selected. 0x00000000 PRSCH1 PRS Channel 1 selected. 0x00000001 PRSCH2 PRS Channel 2 selected. 0x00000002 PRSCH3 PRS Channel 3 selected. 0x00000003 PRSCH4 PRS Channel 4 selected. 0x00000004 PRSCH5 PRS Channel 5 selected. 0x00000005 CMD Command Register 0x004 32 write-only 0x00000000 0x00000003 LCNTIM Load CNT Immediately 0 1 write-only LTOPBIM Load TOPB Immediately 1 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x00000001 DIR Current Counter Direction 0 1 read-only CNT Counter Value Register 0x00C 32 read-only 0x00000000 0x0000FFFF CNT Counter Value 0 16 read-only TOP Top Value Register 0x010 32 read-only 0x000000FF 0x0000FFFF TOP Counter Top Value 0 16 read-only TOPB Top Value Buffer Register 0x014 32 read-write 0x000000FF 0x0000FFFF TOPB Counter Top Buffer 0 16 read-write IF Interrupt Flag Register 0x018 32 read-only 0x00000000 0x0000001F UF Underflow Interrupt Read Flag 0 1 read-only OF Overflow Interrupt Read Flag 1 1 read-only DIRCNG Direction Change Detect Interrupt Flag 2 1 read-only AUXOF Overflow Interrupt Read Flag 3 1 read-only TCC Triggered compare Interrupt Read Flag 4 1 read-only IFS Interrupt Flag Set Register 0x01C 32 write-only 0x00000000 0x0000001F UF Underflow interrupt set 0 1 write-only OF Overflow Interrupt Set 1 1 write-only DIRCNG Direction Change Detect Interrupt Set 2 1 write-only AUXOF Auxiliary Overflow Interrupt Set 3 1 write-only TCC Triggered compare Interrupt Set 4 1 write-only IFC Interrupt Flag Clear Register 0x020 32 write-only 0x00000000 0x0000001F UF Underflow Interrupt Clear 0 1 write-only OF Overflow Interrupt Clear 1 1 write-only DIRCNG Direction Change Detect Interrupt Clear 2 1 write-only AUXOF Auxiliary Overflow Interrupt Clear 3 1 write-only TCC Triggered compare Interrupt Clear 4 1 write-only IEN Interrupt Enable Register 0x024 32 read-write 0x00000000 0x0000001F UF Underflow Interrupt Enable 0 1 read-write OF Overflow Interrupt Enable 1 1 read-write DIRCNG Direction Change Detect Interrupt Enable 2 1 read-write AUXOF Auxiliary Overflow Interrupt Enable 3 1 read-write TCC Triggered compare Interrupt Enable 4 1 read-write ROUTE I/O Routing Register 0x028 32 read-write 0x00000000 0x00000700 LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 FREEZE Freeze Register 0x02C 32 read-write 0x00000000 0x00000001 REGFREEZE Register Update Freeze 0 1 read-write SYNCBUSY Synchronization Busy Register 0x030 32 read-only 0x00000000 0x00000007 CTRL CTRL Register Busy 0 1 read-only CMD CMD Register Busy 1 1 read-only TOPB TOPB Register Busy 2 1 read-only AUXCNT Auxiliary Counter Value Register 0x038 32 read-write 0x00000000 0x0000FFFF AUXCNT Auxiliary Counter Value 0 16 read-write INPUT PCNT Input Register 0x03C 32 read-write 0x00000000 0x000005D7 S0PRSSEL S0IN PRS Channel Select 0 3 read-write PRSCH0 PRS Channel 0 selected. 0x00000000 PRSCH1 PRS Channel 1 selected. 0x00000001 PRSCH2 PRS Channel 2 selected. 0x00000002 PRSCH3 PRS Channel 3 selected. 0x00000003 PRSCH4 PRS Channel 4 selected. 0x00000004 PRSCH5 PRS Channel 5 selected. 0x00000005 S0PRSEN S0IN PRS Enable 4 1 read-write S1PRSSEL S1IN PRS Channel Select 6 3 read-write PRSCH0 PRS Channel 0 selected. 0x00000000 PRSCH1 PRS Channel 1 selected. 0x00000001 PRSCH2 PRS Channel 2 selected. 0x00000002 PRSCH3 PRS Channel 3 selected. 0x00000003 PRSCH4 PRS Channel 4 selected. 0x00000004 PRSCH5 PRS Channel 5 selected. 0x00000005 S1PRSEN S1IN PRS Enable 10 1 read-write I2C0 I2C0 0x4000A000 0 0x00000400 registers I2C0 5 CTRL Control Register 0x000 32 read-write 0x00000000 0x0007B37F EN I2C Enable 0 1 read-write SLAVE Addressable as Slave 1 1 read-write AUTOACK Automatic Acknowledge 2 1 read-write AUTOSE Automatic STOP when Empty 3 1 read-write AUTOSN Automatic STOP on NACK 4 1 read-write ARBDIS Arbitration Disable 5 1 read-write GCAMEN General Call Address Match Enable 6 1 read-write CLHR Clock Low High Ratio 8 2 read-write STANDARD The ratio between low period and high period counters (Nlow:Nhigh) is 4:4 0x00000000 ASYMMETRIC The ratio between low period and high period counters (Nlow:Nhigh) is 6:3 0x00000001 FAST The ratio between low period and high period counters (Nlow:Nhigh) is 11:6 0x00000002 BITO Bus Idle Timeout 12 2 read-write OFF Timeout disabled 0x00000000 40PCC Timeout after 40 prescaled clock cycles. In standard mode at 100 kHz, this results in a 50us timeout. 0x00000001 80PCC Timeout after 80 prescaled clock cycles. In standard mode at 100 kHz, this results in a 100us timeout. 0x00000002 160PCC Timeout after 160 prescaled clock cycles. In standard mode at 100 kHz, this results in a 200us timeout. 0x00000003 GIBITO Go Idle on Bus Idle Timeout 15 1 read-write CLTO Clock Low Timeout 16 3 read-write OFF Timeout disabled 0x00000000 40PCC Timeout after 40 prescaled clock cycles. In standard mode at 100 kHz, this results in a 50us timeout. 0x00000001 80PCC Timeout after 80 prescaled clock cycles. In standard mode at 100 kHz, this results in a 100us timeout. 0x00000002 160PCC Timeout after 160 prescaled clock cycles. In standard mode at 100 kHz, this results in a 200us timeout. 0x00000003 320PPC Timeout after 320 prescaled clock cycles. In standard mode at 100 kHz, this results in a 400us timeout. 0x00000004 1024PPC Timeout after 1024 prescaled clock cycles. In standard mode at 100 kHz, this results in a 1280us timeout. 0x00000005 CMD Command Register 0x004 32 write-only 0x00000000 0x000000FF START Send start condition 0 1 write-only STOP Send stop condition 1 1 write-only ACK Send ACK 2 1 write-only NACK Send NACK 3 1 write-only CONT Continue transmission 4 1 write-only ABORT Abort transmission 5 1 write-only CLEARTX Clear TX 6 1 write-only CLEARPC Clear Pending Commands 7 1 write-only STATE State Register 0x008 32 read-only 0x00000001 0x000000FF BUSY Bus Busy 0 1 read-only MASTER Master 1 1 read-only TRANSMITTER Transmitter 2 1 read-only NACKED Nack Received 3 1 read-only BUSHOLD Bus Held 4 1 read-only STATE Transmission State 5 3 read-only IDLE No transmission is being performed. 0x00000000 WAIT Waiting for idle. Will send a start condition as soon as the bus is idle. 0x00000001 START Start transmitted or received 0x00000002 ADDR Address transmitted or received 0x00000003 ADDRACK Address ack/nack transmitted or received 0x00000004 DATA Data transmitted or received 0x00000005 DATAACK Data ack/nack transmitted or received 0x00000006 STATUS Status Register 0x00C 32 read-only 0x00000080 0x000001FF PSTART Pending START 0 1 read-only PSTOP Pending STOP 1 1 read-only PACK Pending ACK 2 1 read-only PNACK Pending NACK 3 1 read-only PCONT Pending continue 4 1 read-only PABORT Pending abort 5 1 read-only TXC TX Complete 6 1 read-only TXBL TX Buffer Level 7 1 read-only RXDATAV RX Data Valid 8 1 read-only CLKDIV Clock Division Register 0x010 32 read-write 0x00000000 0x000001FF DIV Clock Divider 0 9 read-write SADDR Slave Address Register 0x014 32 read-write 0x00000000 0x000000FE ADDR Slave address 1 7 read-write SADDRMASK Slave Address Mask Register 0x018 32 read-write 0x00000000 0x000000FE MASK Slave Address Mask 1 7 read-write RXDATA Receive Buffer Data Register 0x01C 32 read-only 0x00000000 0x000000FF modifyExternal RXDATA RX Data 0 8 read-only RXDATAP Receive Buffer Data Peek Register 0x020 32 read-only 0x00000000 0x000000FF RXDATAP RX Data Peek 0 8 read-only TXDATA Transmit Buffer Data Register 0x024 32 write-only 0x00000000 0x000000FF TXDATA TX Data 0 8 write-only IF Interrupt Flag Register 0x028 32 read-only 0x00000010 0x0001FFFF START START condition Interrupt Flag 0 1 read-only RSTART Repeated START condition Interrupt Flag 1 1 read-only ADDR Address Interrupt Flag 2 1 read-only TXC Transfer Completed Interrupt Flag 3 1 read-only TXBL Transmit Buffer Level Interrupt Flag 4 1 read-only RXDATAV Receive Data Valid Interrupt Flag 5 1 read-only ACK Acknowledge Received Interrupt Flag 6 1 read-only NACK Not Acknowledge Received Interrupt Flag 7 1 read-only MSTOP Master STOP Condition Interrupt Flag 8 1 read-only ARBLOST Arbitration Lost Interrupt Flag 9 1 read-only BUSERR Bus Error Interrupt Flag 10 1 read-only BUSHOLD Bus Held Interrupt Flag 11 1 read-only TXOF Transmit Buffer Overflow Interrupt Flag 12 1 read-only RXUF Receive Buffer Underflow Interrupt Flag 13 1 read-only BITO Bus Idle Timeout Interrupt Flag 14 1 read-only CLTO Clock Low Timeout Interrupt Flag 15 1 read-only SSTOP Slave STOP condition Interrupt Flag 16 1 read-only IFS Interrupt Flag Set Register 0x02C 32 write-only 0x00000000 0x0001FFCF START Set START Interrupt Flag 0 1 write-only RSTART Set Repeated START Interrupt Flag 1 1 write-only ADDR Set Address Interrupt Flag 2 1 write-only TXC Set Transfer Completed Interrupt Flag 3 1 write-only ACK Set Acknowledge Received Interrupt Flag 6 1 write-only NACK Set Not Acknowledge Received Interrupt Flag 7 1 write-only MSTOP Set MSTOP Interrupt Flag 8 1 write-only ARBLOST Set Arbitration Lost Interrupt Flag 9 1 write-only BUSERR Set Bus Error Interrupt Flag 10 1 write-only BUSHOLD Set Bus Held Interrupt Flag 11 1 write-only TXOF Set Transmit Buffer Overflow Interrupt Flag 12 1 write-only RXUF Set Receive Buffer Underflow Interrupt Flag 13 1 write-only BITO Set Bus Idle Timeout Interrupt Flag 14 1 write-only CLTO Set Clock Low Interrupt Flag 15 1 write-only SSTOP Set SSTOP Interrupt Flag 16 1 write-only IFC Interrupt Flag Clear Register 0x030 32 write-only 0x00000000 0x0001FFCF START Clear START Interrupt Flag 0 1 write-only RSTART Clear Repeated START Interrupt Flag 1 1 write-only ADDR Clear Address Interrupt Flag 2 1 write-only TXC Clear Transfer Completed Interrupt Flag 3 1 write-only ACK Clear Acknowledge Received Interrupt Flag 6 1 write-only NACK Clear Not Acknowledge Received Interrupt Flag 7 1 write-only MSTOP Clear MSTOP Interrupt Flag 8 1 write-only ARBLOST Clear Arbitration Lost Interrupt Flag 9 1 write-only BUSERR Clear Bus Error Interrupt Flag 10 1 write-only BUSHOLD Clear Bus Held Interrupt Flag 11 1 write-only TXOF Clear Transmit Buffer Overflow Interrupt Flag 12 1 write-only RXUF Clear Receive Buffer Underflow Interrupt Flag 13 1 write-only BITO Clear Bus Idle Timeout Interrupt Flag 14 1 write-only CLTO Clear Clock Low Interrupt Flag 15 1 write-only SSTOP Clear SSTOP Interrupt Flag 16 1 write-only IEN Interrupt Enable Register 0x034 32 read-write 0x00000000 0x0001FFFF START START Condition Interrupt Enable 0 1 read-write RSTART Repeated START condition Interrupt Enable 1 1 read-write ADDR Address Interrupt Enable 2 1 read-write TXC Transfer Completed Interrupt Enable 3 1 read-write TXBL Transmit Buffer level Interrupt Enable 4 1 read-write RXDATAV Receive Data Valid Interrupt Enable 5 1 read-write ACK Acknowledge Received Interrupt Enable 6 1 read-write NACK Not Acknowledge Received Interrupt Enable 7 1 read-write MSTOP MSTOP Interrupt Enable 8 1 read-write ARBLOST Arbitration Lost Interrupt Enable 9 1 read-write BUSERR Bus Error Interrupt Enable 10 1 read-write BUSHOLD Bus Held Interrupt Enable 11 1 read-write TXOF Transmit Buffer Overflow Interrupt Enable 12 1 read-write RXUF Receive Buffer Underflow Interrupt Enable 13 1 read-write BITO Bus Idle Timeout Interrupt Enable 14 1 read-write CLTO Clock Low Interrupt Enable 15 1 read-write SSTOP SSTOP Interrupt Enable 16 1 read-write ROUTE I/O Routing Register 0x038 32 read-write 0x00000000 0x00000703 SDAPEN SDA Pin Enable 0 1 read-write SCLPEN SCL Pin Enable 1 1 read-write LOCATION I/O Location 8 3 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LOC4 Location 4 0x00000004 LOC5 Location 5 0x00000005 LOC6 Location 6 0x00000006 RTC RTC 0x40080000 0 0x00000400 registers RTC 12 CTRL Control Register 0x000 32 read-write 0x00000000 0x00000007 EN RTC Enable 0 1 read-write DEBUGRUN Debug Mode Run Enable 1 1 read-write COMP0TOP Compare Channel 0 is Top Value 2 1 read-write CNT Counter Value Register 0x004 32 read-write 0x00000000 0x00FFFFFF CNT Counter Value 0 24 read-write COMP0 Compare Value Register 0 0x008 32 read-write 0x00000000 0x00FFFFFF COMP0 Compare Value 0 0 24 read-write COMP1 Compare Value Register 1 0x00C 32 read-write 0x00000000 0x00FFFFFF COMP1 Compare Value 1 0 24 read-write IF Interrupt Flag Register 0x010 32 read-only 0x00000000 0x00000007 OF Overflow Interrupt Flag 0 1 read-only COMP0 Compare Match 0 Interrupt Flag 1 1 read-only COMP1 Compare Match 1 Interrupt Flag 2 1 read-only IFS Interrupt Flag Set Register 0x014 32 write-only 0x00000000 0x00000007 OF Set Overflow Interrupt Flag 0 1 write-only COMP0 Set Compare match 0 Interrupt Flag 1 1 write-only COMP1 Set Compare match 1 Interrupt Flag 2 1 write-only IFC Interrupt Flag Clear Register 0x018 32 write-only 0x00000000 0x00000007 OF Clear Overflow Interrupt Flag 0 1 write-only COMP0 Clear Compare match 0 Interrupt Flag 1 1 write-only COMP1 Clear Compare match 1 Interrupt Flag 2 1 write-only IEN Interrupt Enable Register 0x01C 32 read-write 0x00000000 0x00000007 OF Overflow Interrupt Enable 0 1 read-write COMP0 Compare Match 0 Interrupt Enable 1 1 read-write COMP1 Compare Match 1 Interrupt Enable 2 1 read-write FREEZE Freeze Register 0x020 32 read-write 0x00000000 0x00000001 REGFREEZE Register Update Freeze 0 1 read-write SYNCBUSY Synchronization Busy Register 0x024 32 read-only 0x00000000 0x00000007 CTRL CTRL Register Busy 0 1 read-only COMP0 COMP0 Register Busy 1 1 read-only COMP1 COMP1 Register Busy 2 1 read-only WDOG WDOG 0x40088000 0 0x00000400 registers CTRL Control Register 0x000 32 read-write 0x00000F00 0x00003F7F EN Watchdog Timer Enable 0 1 read-write DEBUGRUN Debug Mode Run Enable 1 1 read-write EM2RUN Energy Mode 2 Run Enable 2 1 read-write EM3RUN Energy Mode 3 Run Enable 3 1 read-write LOCK Configuration lock 4 1 read-write EM4BLOCK Energy Mode 4 Block 5 1 read-write SWOSCBLOCK Software Oscillator Disable Block 6 1 read-write PERSEL Watchdog Timeout Period Select 8 4 read-write CLKSEL Watchdog Clock Select 12 2 read-write ULFRCO ULFRCO 0x00000000 LFRCO LFRCO 0x00000001 LFXO LFXO 0x00000002 CMD Command Register 0x004 32 write-only 0x00000000 0x00000001 CLEAR Watchdog Timer Clear 0 1 write-only SYNCBUSY Synchronization Busy Register 0x008 32 read-only 0x00000000 0x00000003 CTRL CTRL Register Busy 0 1 read-only CMD CMD Register Busy 1 1 read-only MTB MTB 0xF0040000 0 0x00040000 registers POSITION MTB Trace Position Register. 0x000 32 read-write 0x00000000 0xFFFFFFFC WRAP Trace wrap bit. 2 1 read-write POINTER Trace packet location pointer. 3 29 read-write MASTER MTB Trace Control Register 0x004 32 read-write 0x00000000 0x8000027F MASK This value determines the maximum size of the trace buffer in SRAM. 0 5 read-write TSTARTEN Trace start input enable. 5 1 read-write TSTOPEN Trace stop input enable. 6 1 read-write HALTREQ Halt request bit. 9 1 read-write EN Main trace enable bit. 31 1 read-write FLOW MTB Trace Flow Register 0x008 32 read-write 0x00000000 0xFFFFFFFB AUTOSTOP AUTOSTOP enable. 0 1 read-write AUTOHALT AUTOHALT enable. 1 1 read-write WATERMARK WATERMARK value. 3 29 read-write BASE MTB Trace Base Register 0x00C 32 read-write 0x20000000 0xFFFFFFFF BASE The ram base address. 0 32 read-write Copyright 2022 Silicon Laboratories, Inc. 0x00000000 0x00010000 rx 0x20000000 0x00002000 rwx