EFM32G222F32 4.0.0 Silicon Labs EFM32G222F32 Cortex-M MCU *******************************************************************************\n * # License \n * Copyright 2021 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 ******************************************************************************* CM3 r2p0 little true false 3 false 8 32 AES AES 0x400E0000 0 0x00000400 registers AES 29 CTRL Control Register 0x000 32 read-write 0x00000000 0x00000037 DECRYPT Decryption/Encryption Mode 0 1 read-write AES256 AES-256 Mode 1 1 read-write KEYBUFEN Key Buffer Enable 2 1 read-write DATASTART AES_DATA Write Start 4 1 read-write XORSTART AES_XORDATA Write Start 5 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 KEYHA KEY High Register 0x040 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYHA Key High Access A 0 32 read-write KEYHB KEY High Register 0x044 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYHB Key High Access B 0 32 read-write KEYHC KEY High Register 0x048 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYHC Key High Access C 0 32 read-write KEYHD KEY High Register 0x04C 32 read-write 0x00000000 0xFFFFFFFF modifyExternal KEYHD Key High Access D 0 32 read-write DMA DMA 0x400C2000 0 0x00002000 registers DMA 0 STATUS DMA Status Registers 0x000 32 read-only 0x10070000 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 0x000000FF 0x000000FF 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 CH6WAITSTATUS Channel 6 Wait on Request Status 6 1 read-only CH7WAITSTATUS Channel 7 Wait on Request Status 7 1 read-only CHSWREQ Channel Software Request Register 0x014 32 write-only 0x00000000 0x000000FF 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 CH6SWREQ Channel 6 Software Request 6 1 write-only CH7SWREQ Channel 7 Software Request 7 1 write-only CHUSEBURSTS Channel Useburst Set Register 0x018 32 read-write 0x00000000 0x000000FF 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 CH6USEBURSTS Channel 6 Useburst Set 6 1 read-write CH7USEBURSTS Channel 7 Useburst Set 7 1 read-write CHUSEBURSTC Channel Useburst Clear Register 0x01C 32 write-only 0x00000000 0x000000FF 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 CH6USEBURSTC Channel 6 Useburst Clear 6 1 write-only CH7USEBURSTC Channel 7 Useburst Clear 7 1 write-only CHREQMASKS Channel Request Mask Set Register 0x020 32 write-only 0x00000000 0x000000FF 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 CH6REQMASKS Channel 6 Request Mask Set 6 1 write-only CH7REQMASKS Channel 7 Request Mask Set 7 1 write-only CHREQMASKC Channel Request Mask Clear Register 0x024 32 write-only 0x00000000 0x000000FF 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 CH6REQMASKC Channel 6 Request Mask Clear 6 1 write-only CH7REQMASKC Channel 7 Request Mask Clear 7 1 write-only CHENS Channel Enable Set Register 0x028 32 write-only 0x00000000 0x000000FF 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 CH6ENS Channel 6 Enable Set 6 1 write-only CH7ENS Channel 7 Enable Set 7 1 write-only CHENC Channel Enable Clear Register 0x02C 32 write-only 0x00000000 0x000000FF 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 CH6ENC Channel 6 Enable Clear 6 1 write-only CH7ENC Channel 7 Enable Clear 7 1 write-only CHALTS Channel Alternate Set Register 0x030 32 write-only 0x00000000 0x000000FF 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 CH6ALTS Channel 6 Alternate Structure Set 6 1 write-only CH7ALTS Channel 7 Alternate Structure Set 7 1 write-only CHALTC Channel Alternate Clear Register 0x034 32 write-only 0x00000000 0x000000FF 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 CH6ALTC Channel 6 Alternate Clear 6 1 write-only CH7ALTC Channel 7 Alternate Clear 7 1 write-only CHPRIS Channel Priority Set Register 0x038 32 write-only 0x00000000 0x000000FF 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 CH6PRIS Channel 6 High Priority Set 6 1 write-only CH7PRIS Channel 7 High Priority Set 7 1 write-only CHPRIC Channel Priority Clear Register 0x03C 32 write-only 0x00000000 0x000000FF 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 CH6PRIC Channel 6 High Priority Clear 6 1 write-only CH7PRIC Channel 7 High Priority Clear 7 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 0x000000FF 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 CH6REQSTATUS Channel 6 Request Status 6 1 read-only CH7REQSTATUS Channel 7 Request Status 7 1 read-only CHSREQSTATUS Channel Single Request Status 0xE18 32 read-only 0x00000000 0x000000FF 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 CH6SREQSTATUS Channel 6 Single Request Status 6 1 read-only CH7SREQSTATUS Channel 7 Single Request Status 7 1 read-only IF Interrupt Flag Register 0x1000 32 read-only 0x00000000 0x800000FF 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 CH6DONE DMA Channel 6 Complete Interrupt Flag 6 1 read-only CH7DONE DMA Channel 7 Complete Interrupt Flag 7 1 read-only ERR DMA Error Interrupt Flag 31 1 read-only IFS Interrupt Flag Set Register 0x1004 32 write-only 0x00000000 0x800000FF 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 CH6DONE DMA Channel 6 Complete Interrupt Flag Set 6 1 write-only CH7DONE DMA Channel 7 Complete Interrupt Flag Set 7 1 write-only ERR DMA Error Interrupt Flag Set 31 1 write-only IFC Interrupt Flag Clear Register 0x1008 32 write-only 0x00000000 0x800000FF 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 CH6DONE DMA Channel 6 Complete Interrupt Flag Clear 6 1 write-only CH7DONE DMA Channel 7 Complete Interrupt Flag Clear 7 1 write-only ERR DMA Error Interrupt Flag Clear 31 1 write-only IEN Interrupt Enable register 0x100C 32 read-write 0x00000000 0x800000FF 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 CH6DONE DMA Channel 6 Complete Interrupt Enable 6 1 read-write CH7DONE DMA Channel 7 Complete Interrupt Enable 7 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 CH6_CTRL Channel Control Register 0x1118 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 CH7_CTRL Channel Control Register 0x111C 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 DAC0 Digital to Analog Converter 0 0x0000000A 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 MSC MSC 0x400C0000 0 0x00000400 registers MSC 28 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 0x00000007 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 WS0SCBTP Zero wait-states inserted with the Suppressed Conditional Branch Target Prefetch (SCBTP) function enabled. SCBTP saves energy by delaying the Cortex' conditional branch target prefetches until the conditional branch instruction is in the execute stage. When the instruction reaches this stage, the evaluation of the branch condition is completed and the core does not perform a speculative prefetch of both the branch target address and the next sequential address. With the SCBTP function enabled, one instruction fetch is saved for each branch not taken, with a negligible performance penalty. 0x00000002 WS1SCBTP One wait-state access with SCBTP enabled. 0x00000003 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 0x0000001F 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 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 0x0000003F 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 IF Interrupt Flag Register 0x02C 32 read-only 0x00000000 0x00000003 ERASE Erase Done Interrupt Read Flag 0 1 read-only WRITE Write Done Interrupt Read Flag 1 1 read-only IFS Interrupt Flag Set Register 0x030 32 write-only 0x00000000 0x00000003 ERASE Erase Done Interrupt Set 0 1 write-only WRITE Write Done Interrupt Set 1 1 write-only IFC Interrupt Flag Clear Register 0x034 32 write-only 0x00000000 0x00000003 ERASE Erase Done Interrupt Clear 0 1 write-only WRITE Write Done Interrupt Clear 1 1 write-only IEN Interrupt Enable Register 0x038 32 read-write 0x00000000 0x00000003 ERASE Erase Done Interrupt Enable 0 1 read-write WRITE Write Done Interrupt Enable 1 1 read-write LOCK Configuration Lock Register 0x03C 32 read-write 0x00000000 0x0000FFFF LOCKKEY Configuration Lock 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 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 MEMCTRL Memory Control Register 0x004 32 read-write 0x00000000 0x00000007 POWERDOWN RAM block power-down 0 3 read-write BLK3 Power down RAM block 3 (address range 0x20018000-0x2001FFFF). 0x00000004 BLK23 Power down RAM blocks 2-3 (address range 0x20010000-0x2001FFFF). 0x00000006 BLK123 Power down RAM blocks 1-3 (address range 0x20008000-0x2001FFFF). 0x00000007 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 0x0000007F 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 CMD Command Register 0x008 32 write-only 0x00000000 0x00000001 RCCLR Reset Cause Clear 0 1 write-only CMU CMU 0x400C8000 0 0x00000400 registers CMU 25 CTRL CMU Control Register 0x000 32 read-write 0x000C262C 0x00FE3EEF HFXOMODE HFXO Mode 0 2 read-write XTAL 4-32 MHz crystal oscillator. 0x00000000 BUFEXTCLK An AC coupled buffer is coupled in series with HFXTAL_N, suitable for external sine wave (4-32 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 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 CLKOUTSEL1 Clock Output Select 1 23 1 read-write HFCORECLKDIV High Frequency Core Clock Division Register 0x004 32 read-write 0x00000000 0x0000000F 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 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 28MHZ 28 MHz band. NOTE: Also set the TUNING value (bits 7:0) when changing band. 0x00000005 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 0x000000FF TUNING AUXHFRCO Tuning Value 0 8 read-write CALCTRL Calibration Control Register 0x018 32 read-write 0x00000000 0x00000007 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 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 0x000003FF 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 CMD Command Register 0x024 32 write-only 0x00000000 0x0000000F 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 CALSTART Calibration Start 3 1 write-only LFCLKSEL Low Frequency Clock Select Register 0x028 32 read-write 0x00000005 0x0000000F 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 STATUS Status Register 0x02C 32 read-only 0x00000403 0x00007FFF 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 IF Interrupt Flag Register 0x030 32 read-only 0x00000001 0x0000003F 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 IFS Interrupt Flag Set Register 0x034 32 write-only 0x00000000 0x0000003F 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 IFC Interrupt Flag Clear Register 0x038 32 write-only 0x00000000 0x0000003F 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 IEN Interrupt Enable Register 0x03C 32 read-write 0x00000000 0x0000003F 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 HFCORECLKEN0 High Frequency Core Clock Enable Register 0 0x040 32 read-write 0x00000000 0x00000007 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 HFPERCLKEN0 High Frequency Peripheral Clock Enable Register 0 0x044 32 read-write 0x00000000 0x0000FDF3 USART0 Universal Synchronous/Asynchronous Receiver/Transmitter 0 Clock Enable 0 1 read-write USART1 Universal Synchronous/Asynchronous Receiver/Transmitter 1 Clock Enable 1 1 read-write TIMER0 Timer 0 Clock Enable 4 1 read-write TIMER1 Timer 1 Clock Enable 5 1 read-write TIMER2 Timer 2 Clock Enable 6 1 read-write ACMP0 Analog Comparator 0 Clock Enable 7 1 read-write ACMP1 Analog Comparator 1 Clock Enable 8 1 read-write PRS Peripheral Reflex System Clock Enable 10 1 read-write DAC0 Digital to Analog Converter 0 Clock Enable 11 1 read-write GPIO General purpose Input/Output Clock Enable 12 1 read-write VCMP Voltage Comparator Clock Enable 13 1 read-write ADC0 Analog to Digital Converter 0 Clock Enable 14 1 read-write I2C0 I2C 0 Clock Enable 15 1 read-write SYNCBUSY Synchronization Busy Register 0x050 32 read-only 0x00000000 0x00000055 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 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 0x00000003 RTC Real-Time Counter Clock Enable 0 1 read-write LETIMER0 Low Energy Timer 0 Clock Enable 1 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 LFAPRESC0 Low Frequency A Prescaler Register 0 (Async Reg) 0x068 32 read-write 0x00000000 0x000000FF 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 LETIMER0 Low Energy Timer 0 Prescaler 4 4 read-write DIV1 LFACLKLETIMER0 = LFACLK 0x00000000 DIV2 LFACLKLETIMER0 = LFACLK/2 0x00000001 DIV4 LFACLKLETIMER0 = LFACLK/4 0x00000002 DIV8 LFACLKLETIMER0 = LFACLK/8 0x00000003 DIV16 LFACLKLETIMER0 = LFACLK/16 0x00000004 DIV32 LFACLKLETIMER0 = LFACLK/32 0x00000005 DIV64 LFACLKLETIMER0 = LFACLK/64 0x00000006 DIV128 LFACLKLETIMER0 = LFACLK/128 0x00000007 DIV256 LFACLKLETIMER0 = LFACLK/256 0x00000008 DIV512 LFACLKLETIMER0 = LFACLK/512 0x00000009 DIV1024 LFACLKLETIMER0 = LFACLK/1024 0x0000000A DIV2048 LFACLKLETIMER0 = LFACLK/2048 0x0000000B DIV4096 LFACLKLETIMER0 = LFACLK/4096 0x0000000C DIV8192 LFACLKLETIMER0 = LFACLK/8192 0x0000000D DIV16384 LFACLKLETIMER0 = LFACLK/16384 0x0000000E DIV32768 LFACLKLETIMER0 = 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 0x0000000F PCNT0CLKEN PCNT0 Clock Enable 0 1 read-write PCNT0CLKSEL PCNT0 Clock Select 1 1 read-write PCNT1CLKEN PCNT1 Clock Enable 2 1 read-write PCNT1CLKSEL PCNT1 Clock Select 3 1 read-write ROUTE I/O Routing Register 0x080 32 read-write 0x00000000 0x00000007 CLKOUT0PEN CLKOUT0 Pin Enable 0 1 read-write CLKOUT1PEN CLKOUT1 Pin Enable 1 1 read-write LOCATION I/O Location 2 1 read-write LOCK Configuration Lock Register 0x084 32 read-write 0x00000000 0x0000FFFF LOCKKEY Configuration Lock Key 0 16 read-write UNLOCKED 0x00000000 LOCKED 0x00000001 TIMER0 TIMER0 0x40010000 0 0x00000400 registers TIMER0 2 CTRL Control Register 0x000 32 read-write 0x00000000 0x0F030FFB 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 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 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 0x00030707 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 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 CC0_CTRL CC Channel Control Register 0x030 32 read-write 0x00000000 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 10 CTRL Control Register 0x000 32 read-write 0x00000000 0x0F030FFB 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 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 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 0x00030707 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 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 CC0_CTRL CC Channel Control Register 0x030 32 read-write 0x00000000 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 11 CTRL Control Register 0x000 32 read-write 0x00000000 0x0F030FFB 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 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 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 0x00030707 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 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 CC0_CTRL CC Channel Control Register 0x030 32 read-write 0x00000000 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 0x0F373F17 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 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 PRSCH6 PRS Channel 6 selected as input 0x00000006 PRSCH7 PRS Channel 7 selected as input 0x00000007 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 USART0 USART0 0x4000C000 0 0x00000400 registers USART0_RX 3 USART0_TX 4 CTRL Control Register 0x000 32 read-write 0x00000000 0x1DFFFF7F 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 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 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 0x00000037 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 PRSCH6 PRS Channel 6 selected 0x00000006 PRSCH7 PRS Channel 7 selected 0x00000007 RXTEN Receive Trigger Enable 4 1 read-write TXTEN Transmit Trigger Enable 5 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 0x000001FF 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 CLKDIV Clock Control Register 0x014 32 read-write 0x00000000 0x001FFFC0 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 PRSCH6 PRS Channel 6 selected 0x00000006 PRSCH7 PRS Channel 7 selected 0x00000007 IRPRSEN IrDA PRS Channel Enable 7 1 read-write ROUTE I/O Routing Register 0x054 32 read-write 0x00000000 0x0000030F 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 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 USART1 USART1 0x4000C400 0 0x00000400 registers USART1_RX 12 USART1_TX 13 CTRL Control Register 0x000 32 read-write 0x00000000 0x1DFFFF7F 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 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 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 0x00000037 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 PRSCH6 PRS Channel 6 selected 0x00000006 PRSCH7 PRS Channel 7 selected 0x00000007 RXTEN Receive Trigger Enable 4 1 read-write TXTEN Transmit Trigger Enable 5 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 0x000001FF 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 CLKDIV Clock Control Register 0x014 32 read-write 0x00000000 0x001FFFC0 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 PRSCH6 PRS Channel 6 selected 0x00000006 PRSCH7 PRS Channel 7 selected 0x00000007 IRPRSEN IrDA PRS Channel Enable 7 1 read-write ROUTE I/O Routing Register 0x054 32 read-write 0x00000000 0x0000030F 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 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 LEUART0 LEUART0 0x40084000 0 0x00000400 registers LEUART0 18 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 0x00000303 RXPEN RX Pin Enable 0 1 read-write TXPEN TX Pin Enable 1 1 read-write LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 RTC RTC 0x40080000 0 0x00000400 registers RTC 24 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-only 0x00000000 0x00FFFFFF CNT Counter Value 0 24 read-only 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 LETIMER0 LETIMER0 0x40082000 0 0x00000400 registers LETIMER0 20 CTRL Control Register 0x000 32 read-write 0x00000000 0x00001FFF REPMODE Repeat Mode 0 2 read-write FREE When started, the LETIMER counts down until it is stopped by software. 0x00000000 ONESHOT The counter counts REP0 times. When REP0 reaches zero, the counter stops. 0x00000001 BUFFERED The counter counts REP0 times. If REP1 has been written, it is loaded into REP0 when REP0 reaches zero. Else the counter stops 0x00000002 DOUBLE Both REP0 and REP1 are decremented when the LETIMER wraps around. The LETIMER counts until both REP0 and REP1 are zero 0x00000003 UFOA0 Underflow Output Action 0 2 2 read-write NONE LETn_O0 is held at its idle value as defined by OPOL0. 0x00000000 TOGGLE LETn_O0 is toggled on CNT underflow. 0x00000001 PULSE LETn_O0 is held active for one LFACLKLETIMER0 clock cycle on CNT underflow. The output then returns to its idle value as defined by OPOL0. 0x00000002 PWM LETn_O0 is set idle on CNT underflow, and active on compare match with COMP1 0x00000003 UFOA1 Underflow Output Action 1 4 2 read-write NONE LETn_O1 is held at its idle value as defined by OPOL1. 0x00000000 TOGGLE LETn_O1 is toggled on CNT underflow. 0x00000001 PULSE LETn_O1 is held active for one LFACLKLETIMER0 clock cycle on CNT underflow. The output then returns to its idle value as defined by OPOL1. 0x00000002 PWM LETn_O1 is set idle on CNT underflow, and active on compare match with COMP1 0x00000003 OPOL0 Output 0 Polarity 6 1 read-write OPOL1 Output 1 Polarity 7 1 read-write BUFTOP Buffered Top 8 1 read-write COMP0TOP Compare Value 0 Is Top Value 9 1 read-write RTCC0TEN RTC Compare 0 Trigger Enable 10 1 read-write RTCC1TEN RTC Compare 1 Trigger Enable 11 1 read-write DEBUGRUN Debug Mode Run Enable 12 1 read-write CMD Command Register 0x004 32 write-only 0x00000000 0x0000001F START Start LETIMER 0 1 write-only STOP Stop LETIMER 1 1 write-only CLEAR Clear LETIMER 2 1 write-only CTO0 Clear Toggle Output 0 3 1 write-only CTO1 Clear Toggle Output 1 4 1 write-only STATUS Status Register 0x008 32 read-only 0x00000000 0x00000001 RUNNING LETIMER Running 0 1 read-only CNT Counter Value Register 0x00C 32 read-only 0x00000000 0x0000FFFF CNT Counter Value 0 16 read-only COMP0 Compare Value Register 0 0x010 32 read-write 0x00000000 0x0000FFFF COMP0 Compare Value 0 0 16 read-write COMP1 Compare Value Register 1 0x014 32 read-write 0x00000000 0x0000FFFF COMP1 Compare Value 1 0 16 read-write REP0 Repeat Counter Register 0 0x018 32 read-write 0x00000000 0x000000FF REP0 Repeat Counter 0 0 8 read-write REP1 Repeat Counter Register 1 0x01C 32 read-write 0x00000000 0x000000FF REP1 Repeat Counter 1 0 8 read-write IF Interrupt Flag Register 0x020 32 read-only 0x00000000 0x0000001F COMP0 Compare Match 0 Interrupt Flag 0 1 read-only COMP1 Compare Match 1 Interrupt Flag 1 1 read-only UF Underflow Interrupt Flag 2 1 read-only REP0 Repeat Counter 0 Interrupt Flag 3 1 read-only REP1 Repeat Counter 1 Interrupt Flag 4 1 read-only IFS Interrupt Flag Set Register 0x024 32 write-only 0x00000000 0x0000001F COMP0 Set Compare Match 0 Interrupt Flag 0 1 write-only COMP1 Set Compare Match 1 Interrupt Flag 1 1 write-only UF Set Underflow Interrupt Flag 2 1 write-only REP0 Set Repeat Counter 0 Interrupt Flag 3 1 write-only REP1 Set Repeat Counter 1 Interrupt Flag 4 1 write-only IFC Interrupt Flag Clear Register 0x028 32 write-only 0x00000000 0x0000001F COMP0 Clear Compare Match 0 Interrupt Flag 0 1 write-only COMP1 Clear Compare Match 1 Interrupt Flag 1 1 write-only UF Clear Underflow Interrupt Flag 2 1 write-only REP0 Clear Repeat Counter 0 Interrupt Flag 3 1 write-only REP1 Clear Repeat Counter 1 Interrupt Flag 4 1 write-only IEN Interrupt Enable Register 0x02C 32 read-write 0x00000000 0x0000001F COMP0 Compare Match 0 Interrupt Enable 0 1 read-write COMP1 Compare Match 1 Interrupt Enable 1 1 read-write UF Underflow Interrupt Enable 2 1 read-write REP0 Repeat Counter 0 Interrupt Enable 3 1 read-write REP1 Repeat Counter 1 Interrupt Enable 4 1 read-write FREEZE Freeze Register 0x030 32 read-write 0x00000000 0x00000001 REGFREEZE Register Update Freeze 0 1 read-write SYNCBUSY Synchronization Busy Register 0x034 32 read-only 0x00000000 0x0000003F CTRL CTRL Register Busy 0 1 read-only CMD CMD Register Busy 1 1 read-only COMP0 COMP0 Register Busy 2 1 read-only COMP1 COMP1 Register Busy 3 1 read-only REP0 REP0 Register Busy 4 1 read-only REP1 REP1 Register Busy 5 1 read-only ROUTE I/O Routing Register 0x040 32 read-write 0x00000000 0x00000303 OUT0PEN Output 0 Pin Enable 0 1 read-write OUT1PEN Output 1 Pin Enable 1 1 read-write LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 PCNT0 PCNT0 0x40086000 0 0x00000400 registers PCNT0 21 CTRL Control Register 0x000 32 read-write 0x00000000 0x0000003F 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 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 0x00000007 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 IFS Interrupt Flag Set Register 0x01C 32 write-only 0x00000000 0x00000007 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 IFC Interrupt Flag Clear Register 0x020 32 write-only 0x00000000 0x00000007 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 IEN Interrupt Enable Register 0x024 32 read-write 0x00000000 0x00000007 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 ROUTE I/O Routing Register 0x028 32 read-write 0x00000000 0x00000300 LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 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 PCNT1 PCNT1 0x40086400 0 0x00000400 registers PCNT1 22 CTRL Control Register 0x000 32 read-write 0x00000000 0x0000003F 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 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 0x00000007 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 IFS Interrupt Flag Set Register 0x01C 32 write-only 0x00000000 0x00000007 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 IFC Interrupt Flag Clear Register 0x020 32 write-only 0x00000000 0x00000007 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 IEN Interrupt Enable Register 0x024 32 read-write 0x00000000 0x00000007 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 ROUTE I/O Routing Register 0x028 32 read-write 0x00000000 0x00000300 LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 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 ACMP0 ACMP0 0x40001000 0 0x00000400 registers ACMP0 5 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 0x00000301 ACMPPEN ACMP Output Pin Enable 0 1 read-write LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 ACMP1 ACMP1 0x40001400 0 0x00000400 registers ACMP0 5 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 0x00000301 ACMPPEN ACMP Output Pin Enable 0 1 read-write LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 PRS PRS 0x400CC000 0 0x00000400 registers SWPULSE Software Pulse Register 0x000 32 write-only 0x00000000 0x000000FF 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 CH6PULSE Channel 6 Pulse Generation 6 1 write-only CH7PULSE Channel 7 Pulse Generation 7 1 write-only SWLEVEL Software Level Register 0x004 32 read-write 0x00000000 0x000000FF 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 CH6LEVEL Channel 6 Software Level 6 1 read-write CH7LEVEL Channel 7 Software Level 7 1 read-write CH0_CTRL Channel Control Register 0x010 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH1_CTRL Channel Control Register 0x014 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH2_CTRL Channel Control Register 0x018 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH3_CTRL Channel Control Register 0x01C 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH4_CTRL Channel Control Register 0x020 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH5_CTRL Channel Control Register 0x024 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH6_CTRL Channel Control Register 0x028 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 CH7_CTRL Channel Control Register 0x02C 32 read-write 0x00000000 0x033F0007 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 ACMP1 Analog Comparator 1 0x00000003 DAC0 Digital to Analog Converter 0 0x00000006 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 RTC Real-Time Counter 0x00000028 GPIOL General purpose Input/Output 0x00000030 GPIOH General purpose Input/Output 0x00000031 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 DAC0 DAC0 0x40004000 0 0x00000400 registers DAC0 7 CTRL Control Register 0x000 32 read-write 0x00000010 0x003703FF DIFF Differential Mode 0 1 read-write SINEMODE Sine Mode 1 1 read-write CONVMODE Conversion Mode 2 2 read-write CONTINUOUS DAC is set in continuous mode 0x00000000 SAMPLEHOLD DAC is set in sample/hold mode 0x00000001 SAMPLEOFF DAC is set in sample/shut off mode 0x00000002 OUTMODE Output Mode 4 2 read-write DISABLE DAC output to pin and ADC disabled 0x00000000 PIN DAC output to pin enabled. DAC output to ADC disabled 0x00000001 ADC DAC output to pin disabled. DAC output to ADC enabled 0x00000002 PINADC DAC output to pin and ADC enabled 0x00000003 OUTENPRS PRS Controlled Output Enable 6 1 read-write CH0PRESCRST Channel 0 Start Reset Prescaler 7 1 read-write REFSEL Reference Selection 8 2 read-write 1V25 Internal 1.25 V bandgap reference 0x00000000 2V5 Internal 2.5 V bandgap reference 0x00000001 VDD VDD reference 0x00000002 PRESC Prescaler Setting 16 3 read-write NODIVISION 0x00000000 REFRSEL Refresh Interval Select 20 2 read-write 8CYCLES All channels with enabled refresh are refreshed every 8 prescaled cycles 0x00000000 16CYCLES All channels with enabled refresh are refreshed every 16 prescaled cycles 0x00000001 32CYCLES All channels with enabled refresh are refreshed every 32 prescaled cycles 0x00000002 64CYCLES All channels with enabled refresh are refreshed every 64 prescaled cycles 0x00000003 STATUS Status Register 0x004 32 read-only 0x00000000 0x00000003 CH0DV Channel 0 Data Valid 0 1 read-only CH1DV Channel 1 Data Valid 1 1 read-only CH0CTRL Channel 0 Control Register 0x008 32 read-write 0x00000000 0x00000077 EN Channel 0 Enable 0 1 read-write REFREN Channel 0 Automatic Refresh Enable 1 1 read-write PRSEN Channel 0 PRS Trigger Enable 2 1 read-write PRSSEL Channel 0 PRS Trigger Select 4 3 read-write PRSCH0 PRS ch 0 triggers channel 0 conversion. 0x00000000 PRSCH1 PRS ch 1 triggers channel 0 conversion. 0x00000001 PRSCH2 PRS ch 2 triggers channel 0 conversion. 0x00000002 PRSCH3 PRS ch 3 triggers channel 0 conversion. 0x00000003 PRSCH4 PRS ch 4 triggers channel 0 conversion. 0x00000004 PRSCH5 PRS ch 5 triggers channel 0 conversion. 0x00000005 PRSCH6 PRS ch 6 triggers channel 0 conversion. 0x00000006 PRSCH7 PRS ch 7 triggers channel 0 conversion. 0x00000007 CH1CTRL Channel 1 Control Register 0x00C 32 read-write 0x00000000 0x00000077 EN Channel 1 Enable 0 1 read-write REFREN Channel 1 Automatic Refresh Enable 1 1 read-write PRSEN Channel 1 PRS Trigger Enable 2 1 read-write PRSSEL Channel 1 PRS Trigger Select 4 3 read-write PRSCH0 PRS ch 0 triggers channel 1 conversion. 0x00000000 PRSCH1 PRS ch 1 triggers channel 1 conversion. 0x00000001 PRSCH2 PRS ch 2 triggers channel 1 conversion. 0x00000002 PRSCH3 PRS ch 3 triggers channel 1 conversion. 0x00000003 PRSCH4 PRS ch 4 triggers channel 1 conversion. 0x00000004 PRSCH5 PRS ch 5 triggers channel 1 conversion. 0x00000005 PRSCH6 PRS ch 6 triggers channel 1 conversion. 0x00000006 PRSCH7 PRS ch 7 triggers channel 1 conversion. 0x00000007 IEN Interrupt Enable Register 0x010 32 read-write 0x00000000 0x00000033 CH0 Channel 0 Conversion Complete Interrupt Enable 0 1 read-write CH1 Channel 1 Conversion Complete Interrupt Enable 1 1 read-write CH0UF Channel 0 Conversion Data Underflow Interrupt Enable 4 1 read-write CH1UF Channel 1 Conversion Data Underflow Interrupt Enable 5 1 read-write IF Interrupt Flag Register 0x014 32 read-only 0x00000000 0x00000033 CH0 Channel 0 Conversion Complete Interrupt Flag 0 1 read-only CH1 Channel 1 Conversion Complete Interrupt Flag 1 1 read-only CH0UF Channel 0 Data Underflow Interrupt Flag 4 1 read-only CH1UF Channel 1 Data Underflow Interrupt Flag 5 1 read-only IFS Interrupt Flag Set Register 0x018 32 write-only 0x00000000 0x00000033 CH0 Channel 0 Conversion Complete Interrupt Flag Set 0 1 write-only CH1 Channel 1 Conversion Complete Interrupt Flag Set 1 1 write-only CH0UF Channel 0 Data Underflow Interrupt Flag Set 4 1 write-only CH1UF Channel 1 Data Underflow Interrupt Flag Set 5 1 write-only IFC Interrupt Flag Clear Register 0x01C 32 write-only 0x00000000 0x00000033 CH0 Channel 0 Conversion Complete Interrupt Flag Clear 0 1 write-only CH1 Channel 1 Conversion Complete Interrupt Flag Clear 1 1 write-only CH0UF Channel 0 Data Underflow Interrupt Flag Clear 4 1 write-only CH1UF Channel 1 Data Underflow Interrupt Flag Clear 5 1 write-only CH0DATA Channel 0 Data Register 0x020 32 read-write 0x00000000 0x00000FFF DATA Channel 0 Data 0 12 read-write CH1DATA Channel 1 Data Register 0x024 32 read-write 0x00000000 0x00000FFF DATA Channel 1 Data 0 12 read-write COMBDATA Combined Data Register 0x028 32 write-only 0x00000000 0x0FFF0FFF CH0DATA Channel 0 Data 0 12 write-only CH1DATA Channel 1 Data 16 12 write-only CAL Calibration Register 0x02C 32 read-write 0x00400000 0x007F3F3F CH0OFFSET Channel 0 Offset Calibration Value 0 6 read-write CH1OFFSET Channel 1 Offset Calibration Value 8 6 read-write GAIN Gain Calibration Value 16 7 read-write BIASPROG Bias Programming Register 0x030 32 read-write 0x00000047 0x0000004F BIASPROG Bias Programming Value 0 4 read-write HALFBIAS Half Bias Current 6 1 read-write GPIO GPIO 0x40006000 0 0x00001000 registers GPIO_EVEN 1 GPIO_ODD 9 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 0x00000307 SWCLKPEN Serial Wire Clock Pin Enable 0 1 read-write SWDIOPEN Serial Wire Data Pin Enable 1 1 read-write SWOPEN Serial Wire Viewer Output Pin Enable 2 1 read-write SWLOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 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 VCMP VCMP 0x40000000 0 0x00000400 registers VCMP 26 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 6 CTRL Control Register 0x000 32 read-write 0x001F0000 0x0F1F7F3B 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 5 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 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 PRSCH6 PRS ch 6 triggers single sample 0x00000006 PRSCH7 PRS ch 7 triggers single sample 0x00000007 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 PRSCH6 PRS ch 6 triggers scan sequence 0x00000006 PRSCH7 PRS ch 7 triggers scan sequence 0x00000007 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 I2C0 I2C0 0x4000A000 0 0x00000400 registers I2C0 8 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 0x00000303 SDAPEN SDA Pin Enable 0 1 read-write SCLPEN SCL Pin Enable 1 1 read-write LOCATION I/O Location 8 2 read-write LOC0 Location 0 0x00000000 LOC1 Location 1 0x00000001 LOC2 Location 2 0x00000002 LOC3 Location 3 0x00000003 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 Copyright 2021 Silicon Laboratories, Inc. 0x00000000 0x00008000 rx 0x20000000 0x00002000 rwx