LPC111x 8 LPC11xx, LPC11xxL, LPC11xxXL CM0 r0p0 little 0 0 2 0 8 32 32 I2C I2C-bus interface I2C 0x40000000 0 0xFFF registers I2C 15 CONSET I2C Control Set Register. When a one is written to a bit of this register, the corresponding bit in the I2C control register is set. Writing a zero has no effect on the corresponding bit in the I2C control register. 0x000 read-write 0x00 0xFFFFFFFF RESERVED Reserved. User software should not write ones to reserved bits. The value read from a reserved bit is not defined. [1:0] AA Assert acknowledge flag. [2:2] SI I2C interrupt flag. [3:3] STO STOP flag. [4:4] STA START flag. [5:5] I2EN I2C interface enable. [6:6] RESERVED Reserved. The value read from a reserved bit is not defined. [31:7] STAT I2C Status Register. During I2C operation, this register provides detailed status codes that allow software to determine the next action needed. 0x004 read-only 0xF8 0xFFFFFFFF RESERVED These bits are unused and are always 0. [2:0] Status These bits give the actual status information about the I 2C interface. [7:3] RESERVED Reserved. The value read from a reserved bit is not defined. [31:8] DAT I2C Data Register. During master or slave transmit mode, data to be transmitted is written to this register. During master or slave receive mode, data that has been received may be read from this register. 0x008 read-write 0x00 0xFFFFFFFF Data This register holds data values that have been received or are to be transmitted. [7:0] RESERVED Reserved. The value read from a reserved bit is not defined. [31:8] ADR0 I2C Slave Address Register 0. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address. 0x00C read-write 0x00 0xFFFFFFFF GC General Call enable bit. [0:0] Address The I2C device address for slave mode. [7:1] RESERVED Reserved. The value read from a reserved bit is not defined. [31:8] SCLH SCH Duty Cycle Register High Half Word. Determines the high time of the I2C clock. 0x010 read-write 0x04 0xFFFFFFFF SCLH Count for SCL HIGH time period selection. [15:0] RESERVED Reserved. The value read from a reserved bit is not defined. [31:16] SCLL SCL Duty Cycle Register Low Half Word. Determines the low time of the I2C clock. I2nSCLL and I2nSCLH together determine the clock frequency generated by an I2C master and certain times used in slave mode. 0x014 read-write 0x04 0xFFFFFFFF SCLL Count for SCL low time period selection. [15:0] RESERVED Reserved. The value read from a reserved bit is not defined. [31:16] CONCLR I2C Control Clear Register. When a one is written to a bit of this register, the corresponding bit in the I2C control register is cleared. Writing a zero has no effect on the corresponding bit in the I2C control register. 0x018 write-only 0 0x00000000 RESERVED Reserved. User software should not write ones to reserved bits. The value read from a reserved bit is not defined. [1:0] AAC Assert acknowledge Clear bit. [2:2] SIC I2C interrupt Clear bit. [3:3] RESERVED Reserved. User software should not write ones to reserved bits. The value read from a reserved bit is not defined. [4:4] STAC START flag Clear bit. [5:5] I2ENC I2C interface Disable bit. [6:6] RESERVED Reserved. User software should not write ones to reserved bits. The value read from a reserved bit is not defined. [7:7] RESERVED Reserved. The value read from a reserved bit is not defined. [31:8] MMCTRL Monitor mode control register. 0x01C read-write 0x00 0xFFFFFFFF MM_ENA Monitor mode enable. [0:0] ENUM MONITOR_MODE_DISABLE Monitor mode disabled. 0 THE_I2C_MODULE_WILL_ The I2C module will enter monitor mode. In this mode the SDA output will be forced high. This will prevent the I2C module from outputting data of any kind (including ACK) onto the I 2C data bus. Depending on the state of the ENA_SCL bit, the output may be also forced high, preventing the module from having control over the I2C clock line. 1 ENA_SCL SCL output enable. [1:1] ENUM HIGH When this bit is cleared to 0, the SCL output will be forced high when the module is in monitor mode. As described above, this will prevent the module from having any control over the I2C clock line. 0 NORMAL When this bit is set, the I2C module may exercise the same control over the clock line that it would in normal operation. This means that, acting as a slave peripheral, the I2C module can stretch the clock line (hold it low) until it has had time to respond to an I2C interrupt.[1] 1 MATCH_ALL Select interrupt register match. [2:2] ENUM MATCH When this bit is cleared, an interrupt will only be generated when a match occurs to one of the (up-to) four address registers described above. That is, the module will respond as a normal slave as far as address-recognition is concerned. 0 ANYADDRESS When this bit is set to 1 and the I2C is in monitor mode, an interrupt will be generated on ANY address received. This will enable the part to monitor all traffic on the bus. 1 RESERVED Reserved. The value read from reserved bits is not defined. [31:3] 3 0x4 1-3 ADR%s I2C Slave Address Register 1. Contains the 7-bit slave address for operation of the I2C interface in slave mode, and is not used in master mode. The least significant bit determines whether a slave responds to the General Call address. 0x020 read-write 0x00 0xFFFFFFFF GC General Call enable bit. [0:0] Address The I2C device address for slave mode. [7:1] RESERVED Reserved. The value read from a reserved bit is not defined. [31:8] DATA_BUFFER Data buffer register. The contents of the 8 MSBs of the I2DAT shift register will be transferred to the DATA_BUFFER automatically after every nine bits (8 bits of data plus ACK or NACK) has been received on the bus. 0x02C read-only 0x00 0xFFFFFFFF Data This register holds contents of the 8 MSBs of the DAT shift register. [7:0] RESERVED Reserved. The value read from a reserved bit is not defined. [31:8] 4 0x4 0-3 MASK%s I2C Slave address mask register 0. This mask register is associated with I2ADR0 to determine an address match. The mask register has no effect when comparing to the General Call address (0000000). 0x030 read-write 0x00 0xFFFFFFFF RESERVED Reserved. User software should not write ones to reserved bits. This bit reads always back as 0. [0:0] MASK Mask bits. [7:1] RESERVED Reserved. The value read from reserved bits is undefined. [31:8] WWDT Windowed WatchDog Timer (WDT) WWDT 0x40004000 0x0 0xFFF registers WDT 25 WDMOD Watchdog mode register. This register contains the basic mode and status of the Watchdog Timer. 0x000 read-write 0 0xFFFFFFFF WDEN Watchdog enable bit. This bit is Set Only. Setting this bit to one also locks the watchdog clock source. Once the watchdog timer is enabled, the watchdog timer clock source cannot be changed. If the watchdog timer is needed in Deep-sleep mode, the watchdog clock source must be changed to the watchdog oscillator before setting this bit to one. [0:0] ENUM STOPPED The watchdog timer is stopped. 0 RUN The watchdog timer is running. 1 WDRESET Watchdog reset enable bit. This bit is Set Only. [1:1] ENUM NORESET A watchdog timeout will not cause a chip reset. 0 RESET A watchdog timeout will cause a chip reset. 1 WDTOF Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT, cleared by software. Causes a chip reset if WDRESET = 1. [2:2] WDINT Watchdog interrupt flag. Set when the timer reaches the value in WDWARNINT. Cleared by software. [3:3] WDPROTECT Watchdog update mode. This bit is Set Only. [4:4] ENUM ANYTIME The watchdog reload value (WDTC) can be changed at any time. 0 LOWCOUNTER The watchdog reload value (WDTC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW. Note: this mode is intended for use only when WDRESET =1. 1 RESERVED Reserved. Read value is undefined, only zero should be written. [31:5] WDTC Watchdog timer constant register. This register determines the time-out value. 0x004 read-write 0xFF 0xFFFFFFFF Count Watchdog time-out interval. [23:0] RESERVED Reserved. Read value is undefined, only zero should be written. [31:24] WDFEED Watchdog feed sequence register. Writing 0xAA followed by 0x55 to this register reloads the Watchdog timer with the value contained in WDTC. 0x008 write-only 0 0x00000000 Feed Feed value should be 0xAA followed by 0x55. [7:0] RESERVED Reserved [31:8] WDTV Watchdog timer value register. This register reads out the current value of the Watchdog timer. 0x00C read-only 0xFF 0xFFFFFFFF Count Counter timer value. [23:0] RESERVED Reserved. Read value is undefined, only zero should be written. [31:24] WDWARNINT Watchdog Warning Interrupt compare value. 0x014 read-write 0 0xFFFFFFFF WARNINT Watchdog warning interrupt compare value. [9:0] RESERVED Reserved. Read value is undefined, only zero should be written. [31:10] WDWINDOW Watchdog Window compare value. 0x018 read-write 0xFFFFFF 0xFFFFFFFF WINDOW Watchdog window value. [23:0] RESERVED Reserved. Read value is undefined, only zero should be written. [31:24] UART UART UART 0x40008000 0x0 0xFFF registers UART 21 RBR Receiver Buffer Register. Contains the next received character to be read. (DLAB=0) 0x000 read-only 0 0x00000000 modify RBR The UART Receiver Buffer Register contains the oldest received byte in the UART RX FIFO. [7:0] RESERVED Reserved [31:8] THR Transmit Holding Register. The next character to be transmitted is written here. (DLAB=0) RBR 0x000 write-only 0 0x00000000 modify THR Writing to the UART Transmit Holding Register causes the data to be stored in the UART transmit FIFO. The byte will be sent when it reaches the bottom of the FIFO and the transmitter is available. [7:0] RESERVED Reserved [31:8] DLL Divisor Latch LSB. Least significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider. (DLAB=1) RBR 0x000 read-write 0x01 0xFFFFFFFF DLLSB The UART Divisor Latch LSB Register, along with the DLM register, determines the baud rate of the UART. [7:0] RESERVED Reserved [31:8] DLM Divisor Latch MSB. Most significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider. (DLAB=1) 0x004 read-write 0x00 0xFFFFFFFF DLMSB The UART Divisor Latch MSB Register, along with the DLL register, determines the baud rate of the UART. [7:0] RESERVED Reserved [31:8] IER Interrupt Enable Register. Contains individual interrupt enable bits for the 7 potential UART interrupts. (DLAB=0) DLM 0x004 read-write 0x00 0xFFFFFFFF RBRIE RBR Interrupt Enable. Enables the Receive Data Available interrupt for UART. It also controls the Character Receive Time-out interrupt. [0:0] ENUM DISABLE_THE_RDA_INTE Disable the RDA interrupt. 0 ENABLE_THE_RDA_INTER Enable the RDA interrupt. 1 THREIE THRE Interrupt Enable. Enables the THRE interrupt for UART. The status of this interrupt can be read from LSR[5]. [1:1] ENUM DISABLE_THE_THRE_INT Disable the THRE interrupt. 0 ENABLE_THE_THRE_INTE Enable the THRE interrupt. 1 RXLIE RX Line Interrupt Enable. Enables the UART RX line status interrupts. The status of this interrupt can be read from LSR[4:1]. [2:2] ENUM DISABLE_THE_RX_LINE_ Disable the RX line status interrupts. 0 ENABLE_THE_RX_LINE_S Enable the RX line status interrupts. 1 RESERVED Reserved [3:3] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [6:4] RESERVED Reserved [7:7] ABEOINTEN Enables the end of auto-baud interrupt. [8:8] ENUM DISABLE_END_OF_AUTO_ Disable end of auto-baud Interrupt. 0 ENABLE_END_OF_AUTO_B Enable end of auto-baud Interrupt. 1 ABTOINTEN Enables the auto-baud time-out interrupt. [9:9] ENUM DISABLE_AUTO_BAUD_TI Disable auto-baud time-out Interrupt. 0 ENABLE_AUTO_BAUD_TIM Enable auto-baud time-out Interrupt. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:10] IIR Interrupt ID Register. Identifies which interrupt(s) are pending. 0x008 read-only 0x01 0xFFFFFFFF INTSTATUS Interrupt status. Note that IIR[0] is active low. The pending interrupt can be determined by evaluating IIR[3:1]. [0:0] ENUM PENDING At least one interrupt is pending. 0 NO_INTERRUPT_IS_PEND No interrupt is pending. 1 INTID Interrupt identification. IER[3:1] identifies an interrupt corresponding to the UART Rx FIFO. All other combinations of IER[3:1] not listed below are reserved (100,101,111). [3:1] ENUM 1_RECEIVE_LINE_S 1 - Receive Line Status (RLS). 0x3 2A__RECEIVE_DATA_AV 2a - Receive Data Available (RDA). 0x2 2B__CHARACTER_TIME_ 2b - Character Time-out Indicator (CTI). 0x6 3_THRE_INTERRUPT 3 - THRE Interrupt. 0x1 4_MODEM_INTERRUP 4 - Modem interrupt. 0x0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [5:4] FIFOENABLE These bits are equivalent to FCR[0]. [7:6] ABEOINT End of auto-baud interrupt. True if auto-baud has finished successfully and interrupt is enabled. [8:8] ABTOINT Auto-baud time-out interrupt. True if auto-baud has timed out and interrupt is enabled. [9:9] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:10] FCR FIFO Control Register. Controls UART FIFO usage and modes. IIR 0x008 write-only 0x00 0xFFFFFFFF FIFOEN FIFO Enable [0:0] ENUM DISABLED UART FIFOs are disabled. Must not be used in the application. 0 ENABLED Active high enable for both UART Rx and TX FIFOs and FCR[7:1] access. This bit must be set for proper UART operation. Any transition on this bit will automatically clear the UART FIFOs. 1 RXFIFORES RX FIFO Reset [1:1] ENUM NO_IMPACT_ON_EITHER_ No impact on either of UART FIFOs. 0 CLEAR Writing a logic 1 to FCR[1] will clear all bytes in UART Rx FIFO, reset the pointer logic. This bit is self-clearing. 1 TXFIFORES TX FIFO Reset [2:2] ENUM NO_IMPACT_ON_EITHER_ No impact on either of UART FIFOs. 0 CLEAR Writing a logic 1 to FCR[2] will clear all bytes in UART TX FIFO, reset the pointer logic. This bit is self-clearing. 1 RESERVED Reserved [3:3] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [5:4] RXTL RX Trigger Level. These two bits determine how many receiver UART FIFO characters must be written before an interrupt is activated. [7:6] ENUM TRIGGER_LEVEL_0_1_C Trigger level 0 (1 character or 0x01). 0x0 TRIGGER_LEVEL_1_4_C Trigger level 1 (4 characters or 0x04). 0x1 TRIGGER_LEVEL_2_8_C Trigger level 2 (8 characters or 0x08). 0x2 TRIGGER_LEVEL_3_14_ Trigger level 3 (14 characters or 0x0E). 0x3 RESERVED Reserved [31:8] LCR Line Control Register. Contains controls for frame formatting and break generation. 0x00C read-write 0x00 0xFFFFFFFF WLS Word Length Select [1:0] ENUM 5_BIT_CHARACTER_LENG 5-bit character length. 0x0 6_BIT_CHARACTER_LENG 6-bit character length. 0x1 7_BIT_CHARACTER_LENG 7-bit character length. 0x2 8_BIT_CHARACTER_LENG 8-bit character length. 0x3 SBS Stop Bit Select [2:2] ENUM 1_STOP_BIT_ 1 stop bit. 0 2_STOP_BITS 2 stop bits (1.5 if LCR[1:0]=00). 1 PE Parity Enable [3:3] ENUM DISABLE_PARITY_GENER Disable parity generation and checking. 0 ENABLE_PARITY_GENERA Enable parity generation and checking. 1 PS Parity Select [5:4] ENUM ODD_PARITY_NUMBER_O Odd parity. Number of 1s in the transmitted character and the attached parity bit will be odd. 0x0 EVEN_PARITY_NUMBER_ Even Parity. Number of 1s in the transmitted character and the attached parity bit will be even. 0x1 FORCED_1_STICK_PARIT Forced 1 stick parity. 0x2 FORCED_0_STICK_PARIT Forced 0 stick parity. 0x3 BC Break Control [6:6] ENUM DISABLE_BREAK_TRANSM Disable break transmission. 0 ENABLE_BREAK_TRANSMI Enable break transmission. Output pin UART TXD is forced to logic 0 when LCR[6] is active high. 1 DLAB Divisor Latch Access Bit [7:7] ENUM DISABLE_ACCESS_TO_DI Disable access to Divisor Latches. 0 ENABLE_ACCESS_TO_DIV Enable access to Divisor Latches. 1 RESERVED Reserved [31:8] MCR Modem control register 0x010 read-write 0x00 0xFFFFFFFF DTRC DTR Control. Source for modem output pin, DTR. This bit reads as 0 when modem loopback mode is active. [0:0] RTSC RTS Control. Source for modem output pin RTS. This bit reads as 0 when modem loopback mode is active. [1:1] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [3:2] LMS Loopback Mode Select. The modem loopback mode provides a mechanism to perform diagnostic loopback testing. Serial data from the transmitter is connected internally to serial input of the receiver. Input pin, RXD, has no effect on loopback and output pin, TXD is held in marking state. The four modem inputs (CTS, DSR, RI and DCD) are disconnected externally. Externally, the modem outputs (RTS, DTR) are set inactive. Internally, the four modem outputs are connected to the four modem inputs. As a result of these connections, the upper four bits of the MSR will be driven by the lower four bits of the MCR rather than the four modem inputs in normal mode. This permits modem status interrupts to be generated in loopback mode by writing the lower four bits of MCR. [4:4] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [5:5] RTSEN RTS flow control [6:6] ENUM DISABLE_AUTO_RTS_FLO Disable auto-rts flow control. 0 ENABLE_AUTO_RTS_FLOW Enable auto-rts flow control. 1 CTSEN CTS flow control [7:7] ENUM DISABLE_AUTO_CTS_FLO Disable auto-cts flow control. 0 ENABLE_AUTO_CTS_FLOW Enable auto-cts flow control. 1 RESERVED Reserved [31:8] LSR Line Status Register. Contains flags for transmit and receive status, including line errors. 0x014 read-only 0x60 0xFFFFFFFF modify RDR Receiver Data Ready. LSR[0] is set when the RBR holds an unread character and is cleared when the UART RBR FIFO is empty. [0:0] ENUM EMPTY_ RBR is empty. 0 VALID RBR contains valid data. 1 OE Overrun Error. The overrun error condition is set as soon as it occurs. A LSR read clears LSR[1]. LSR[1] is set when UART RSR has a new character assembled and the UART RBR FIFO is full. In this case, the UART RBR FIFO will not be overwritten and the character in the UART RSR will be lost. [1:1] ENUM INACTIVE Overrun error status is inactive. 0 ACTIVE Overrun error status is active. 1 PE Parity Error. When the parity bit of a received character is in the wrong state, a parity error occurs. A LSR read clears LSR[2]. Time of parity error detection is dependent on FCR[0]. Note: A parity error is associated with the character at the top of the UART RBR FIFO. [2:2] ENUM INACTIVE Parity error status is inactive. 0 ACTIVE Parity error status is active. 1 FE Framing Error. When the stop bit of a received character is a logic 0, a framing error occurs. A LSR read clears LSR[3]. The time of the framing error detection is dependent on FCR0. Upon detection of a framing error, the RX will attempt to re-synchronize to the data and assume that the bad stop bit is actually an early start bit. However, it cannot be assumed that the next received byte will be correct even if there is no Framing Error. Note: A framing error is associated with the character at the top of the UART RBR FIFO. [3:3] ENUM INACTIVE Framing error status is inactive. 0 ACTIVE Framing error status is active. 1 BI Break Interrupt. When RXD1 is held in the spacing state (all zeros) for one full character transmission (start, data, parity, stop), a break interrupt occurs. Once the break condition has been detected, the receiver goes idle until RXD1 goes to marking state (all ones). A LSR read clears this status bit. The time of break detection is dependent on FCR[0]. Note: The break interrupt is associated with the character at the top of the UART RBR FIFO. [4:4] ENUM INACTIVE Break interrupt status is inactive. 0 ACTIVE Break interrupt status is active. 1 THRE Transmitter Holding Register Empty. THRE is set immediately upon detection of an empty UART THR and is cleared on a THR write. [5:5] ENUM VALID THR contains valid data. 0 EMPTY_ THR is empty. 1 TEMT Transmitter Empty. TEMT is set when both THR and TSR are empty; TEMT is cleared when either the TSR or the THR contain valid data. [6:6] ENUM VALID THR and/or the TSR contains valid data. 0 EMPTY_ THR and the TSR are empty. 1 RXFE Error in RX FIFO. LSR[7] is set when a character with a RX error such as framing error, parity error or break interrupt, is loaded into the RBR. This bit is cleared when the LSR register is read and there are no subsequent errors in the UART FIFO. [7:7] ENUM NOERROR RBR contains no UART RX errors or FCR[0]=0. 0 ERROR UART RBR contains at least one UART RX error. 1 RESERVED Reserved [31:8] MSR Modem status register 0x018 read-only 0x00 0xFFFFFFFF modify DCTS Delta CTS. Set upon state change of input CTS. Cleared on a MSR read. [0:0] ENUM NO_CHANGE_DETECTED_O No change detected on modem input CTS. 0 STATE_CHANGE_DETECTE State change detected on modem input CTS. 1 DDSR Delta DSR. Set upon state change of input DSR. Cleared on a MSR read. [1:1] ENUM NO_CHANGE_DETECTED_O No change detected on modem input DSR. 0 STATE_CHANGE_DETECTE State change detected on modem input DSR. 1 TERI Trailing Edge RI. Set upon low to high transition of input RI. Cleared on a MSR read. [2:2] ENUM NO_CHANGE_DETECTED_O No change detected on modem input, RI. 0 LOW_TO_HIGH_TRANSITI Low-to-high transition detected on RI. 1 DDCD Delta DCD. Set upon state change of input DCD. Cleared on a MSR read. [3:3] ENUM NO_CHANGE_DETECTED_O No change detected on modem input DCD. 0 STATE_CHANGE_DETECTE State change detected on modem input DCD. 1 CTS Clear To Send State. Complement of input signal CTS. This bit is connected to MCR[1] in modem loopback mode. [4:4] DSR Data Set Ready State. Complement of input signal DSR. This bit is connected to MCR[0] in modem loopback mode. [5:5] RI Ring Indicator State. Complement of input RI. This bit is connected to MCR[2] in modem loopback mode. [6:6] DCD Data Carrier Detect State. Complement of input DCD. This bit is connected to MCR[3] in modem loopback mode. [7:7] RESERVED Reserved [31:8] SCR Scratch Pad Register. Eight-bit temporary storage for software. 0x01C read-write 0x00 0xFFFFFFFF pad A readable, writable byte. [7:0] RESERVED Reserved [31:8] ACR Auto-baud Control Register. Contains controls for the auto-baud feature. 0x020 read-write 0x00 0xFFFFFFFF START Start bit. This bit is automatically cleared after auto-baud completion. [0:0] ENUM STOP Auto-baud stop (auto-baud is not running). 0 START Auto-baud start (auto-baud is running). Auto-baud run bit. This bit is automatically cleared after auto-baud completion. 1 MODE Auto-baud mode select [1:1] ENUM MODE_0_ Mode 0. 0 MODE_1_ Mode 1. 1 AUTORESTART Restart enable [2:2] ENUM NO_RESTART No restart 0 RESTART_IN_CASE_OF_T Restart in case of time-out (counter restarts at next UART Rx falling edge) 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [7:3] ABEOINTCLR End of auto-baud interrupt clear (write only accessible) [8:8] ENUM NOIMPACT Writing a 0 has no impact. 0 CLEAR Writing a 1 will clear the corresponding interrupt in the IIR. 1 ABTOINTCLR Auto-baud time-out interrupt clear (write only accessible) [9:9] ENUM NOIMPACT Writing a 0 has no impact. 0 CLEAR Writing a 1 will clear the corresponding interrupt in the IIR. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:10] FDR Fractional Divider Register. Generates a clock input for the baud rate divider. 0x028 read-write 0x10 0xFFFFFFFF DIVADDVAL Baud rate generation pre-scaler divisor value. If this field is 0, fractional baud rate generator will not impact the UART baud rate. [3:0] MULVAL Baud rate pre-scaler multiplier value. This field must be greater or equal 1 for UART to operate properly, regardless of whether the fractional baud rate generator is used or not. [7:4] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:8] TER Transmit Enable Register. Turns off UART transmitter for use with software flow control. 0x030 read-write 0x80 0xFFFFFFFF RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [6:0] TXEN When this bit is 1, as it is after a Reset, data written to the THR is output on the TXD pin as soon as any preceding data has been sent. If this bit cleared to 0 while a character is being sent, the transmission of that character is completed, but no further characters are sent until this bit is set again. In other words, a 0 in this bit blocks the transfer of characters from the THR or TX FIFO into the transmit shift register. Software can clear this bit when it detects that the a hardware-handshaking TX-permit signal (CTS) has gone false, or with software handshaking, when it receives an XOFF character (DC3). Software can set this bit again when it detects that the TX-permit signal has gone true, or when it receives an XON (DC1) character. [7:7] RESERVED Reserved [31:8] RS485CTRL RS-485/EIA-485 Control. Contains controls to configure various aspects of RS-485/EIA-485 modes. 0x04C read-write 0x00 0xFFFFFFFF NMMEN NMM enable. [0:0] ENUM DISABLED RS-485/EIA-485 Normal Multidrop Mode (NMM) is disabled. 0 ENABLED RS-485/EIA-485 Normal Multidrop Mode (NMM) is enabled. In this mode, an address is detected when a received byte causes the UART to set the parity error and generate an interrupt. 1 RXDIS Receiver enable. [1:1] ENUM ENABLED The receiver is enabled. 0 DISABLED The receiver is disabled. 1 AADEN AAD enable. [2:2] ENUM DISABLED Auto Address Detect (AAD) is disabled. 0 ENABLED Auto Address Detect (AAD) is enabled. 1 SEL Select direction control pin [3:3] ENUM RTS If direction control is enabled (bit DCTRL = 1), pin RTS is used for direction control. 0 DTR If direction control is enabled (bit DCTRL = 1), pin DTR is used for direction control. 1 DCTRL Auto direction control enable. [4:4] ENUM DISABLE_AUTO_DIRECTI Disable Auto Direction Control. 0 ENABLE_AUTO_DIRECTIO Enable Auto Direction Control. 1 OINV Polarity control. This bit reverses the polarity of the direction control signal on the RTS (or DTR) pin. [5:5] ENUM LOW The direction control pin will be driven to logic 0 when the transmitter has data to be sent. It will be driven to logic 1 after the last bit of data has been transmitted. 0 HIGH The direction control pin will be driven to logic 1 when the transmitter has data to be sent. It will be driven to logic 0 after the last bit of data has been transmitted. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:6] RS485ADRMATCH RS-485/EIA-485 address match. Contains the address match value for RS-485/EIA-485 mode. 0x050 read-write 0x00 0xFFFFFFFF ADRMATCH Contains the address match value. [7:0] RESERVED Reserved [31:8] RS485DLY RS-485/EIA-485 direction control delay. 0x054 read-write 0x00 0xFFFFFFFF DLY Contains the direction control (RTS or DTR) delay value. This register works in conjunction with an 8-bit counter. [7:0] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:8] CT16B0 16-bit counter/timer CT16B0/1 CT16B0 0x4000C000 0x0 0xFFF registers CT16B0 16 IR Interrupt Register (IR). The IR can be written to clear interrupts. The IR can be read to identify which of five possible interrupt sources are pending. 0x000 read-write 0 0xFFFFFFFF MR0INT Interrupt flag for match channel 0. [0:0] MR1INT Interrupt flag for match channel 1. [1:1] MR2INT Interrupt flag for match channel 2. [2:2] MR3INT Interrupt flag for match channel 3. [3:3] CR0INT Interrupt flag for capture channel 0 event. [4:4] CR1INT Interrupt flag for capture channel 1 event. [5:5] RESERVED Reserved [31:6] TCR Timer Control Register (TCR). The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR. 0x004 read-write 0 0xFFFFFFFF CEN Counter Enable. When one, the Timer Counter and Prescale Counter are enabled for counting. When zero, the counters are disabled. [0:0] CRST Counter Reset. When one, the Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero. [1:1] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:2] TC Timer Counter (TC). The 16-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR. 0x008 read-write 0 0xFFFFFFFF TC Timer counter value. [15:0] RESERVED Reserved. [31:16] PR Prescale Register (PR). When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC. 0x00C read-write 0 0xFFFFFFFF PR Prescale max value. [15:0] RESERVED Reserved. [31:16] PC Prescale Counter (PC). The 16-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface. 0x010 read-write 0 0xFFFFFFFF PC Prescale counter value. [15:0] RESERVED Reserved. [31:16] MCR Match Control Register (MCR). The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs. 0x014 read-write 0 0xFFFFFFFF MR0I Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. [0:0] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR0R Reset on MR0: the TC will be reset if MR0 matches it. [1:1] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR0S Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. [2:2] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR1I Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. [3:3] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR1R Reset on MR1: the TC will be reset if MR1 matches it. [4:4] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR1S Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. [5:5] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR2I Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. [6:6] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR2R Reset on MR2: the TC will be reset if MR2 matches it. [7:7] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR2S Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. [8:8] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR3I Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. [9:9] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR3R Reset on MR3: the TC will be reset if MR3 matches it. [10:10] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR3S Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. [11:11] ENUM ENABLED Enabled 1 DISABLED Disabled 0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:12] 4 0x4 0-3 MR%s Match Register. MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC. 0x018 read-write 0 0xFFFFFFFF MATCH Timer counter match value. [15:0] RESERVED Reserved. [31:16] CCR Capture Control Register (CCR). The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place. 0x028 read-write 0 0xFFFFFFFF CAP0RE Capture on CT16Bn_CAP0 rising edge: a sequence of 0 then 1 on CT16Bn_CAP0 will cause CR0 to be loaded with the contents of TC. [0:0] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP0FE Capture on CT16Bn_CAP0 falling edge: a sequence of 1 then 0 on CT16Bn_CAP0 will cause CR0 to be loaded with the contents of TC. [1:1] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP0I Interrupt on CT16Bn_CAP0 event: a CR0 load due to a CT16Bn_CAP0 event will generate an interrupt. [2:2] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP1RE Capture on CT16Bn_CAP1 rising edge: a sequence of 0 then 1 on CT16Bn_CAP1 will cause CR1 to be loaded with the contents of TC. [3:3] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP1FE Capture on CT16Bn_CAP1 falling edge: a sequence of 1 then 0 on CT16Bn_CAP1 will cause CR1 to be loaded with the contents of TC. [4:4] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP1I Interrupt on CT16Bn_CAP1 event: a CR1 load due to a CT16Bn_CAP1 event will generate an interrupt. [5:5] ENUM ENABLED Enabled 1 DISABLED Disabled 0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:6] 2 0x4 0-1 CR%s Capture Register (CR). CR is loaded with the value of TC when there is an event on the CT16Bn_CAPm input. 0x02C read-only 0 0xFFFFFFFF CAP Timer counter capture value. [15:0] RESERVED Reserved. [31:16] EMR External Match Register (EMR). The EMR controls the match function and the external match pins CT16B0_MAT[2:0]. 0x03C read-write 0 0xFFFFFFFF EM0 External Match 0. This bit reflects the state of output CT16B0_MAT0/CT16B1_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [0:0] EM1 External Match 1. This bit reflects the state of output CT16B0_MAT1/CT16B1_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT16B0_MAT1/CT16B1_MAT1 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [1:1] EM2 External Match 2. This bit reflects the state of output match channel 2, whether or not this output is connected to its pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output. Note that on counter/timer 0 this match channel is not pinned out. This bit is driven to the CT16B1_MAT2 pin if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [2:2] EM3 External Match 3. This bit reflects the state of output of match channel 3. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output. There is no output pin available for this channel on either of the 16-bit timers. [3:3] EMC0 External Match Control 0. Determines the functionality of External Match 0. [5:4] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC1 External Match Control 1. Determines the functionality of External Match 1. [7:6] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC2 External Match Control 2. Determines the functionality of External Match 2. [9:8] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC3 External Match Control 3. Determines the functionality of External Match 3. [11:10] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT16Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT16Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:12] CTCR Count Control Register (CTCR). The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting. 0x070 read-write 0 0xFFFFFFFF CTM Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). [1:0] ENUM TIMER_MODE_EVERY_RI Timer Mode: every rising PCLK edge 0x0 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on rising edges on the CAP input selected by bits 3:2. 0x1 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on falling edges on the CAP input selected by bits 3:2. 0x2 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 CIS Count Input Select. In counter mode (when bits 1:0 in this register are not 00), these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected in the CTCR register, bits 2:0 in the Capture Control Register (CCR) must be programmed as 000. [3:2] ENUM CT16BN_CAP0 CT16Bn_CAP0 0x0 CT16BN_CAP1 CT16Bn_CAP1 0x1 ENCC Setting this bit to one enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs. [4:4] SELCC When bit 4 is one, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is zero. [7:5] ENUM RISING_EDGE_OF_CAP0_ Rising Edge of CAP0 clears the timer (if bit 4 is set). 0x0 FALLING_EDGE_OF_CAP0 Falling Edge of CAP0 clears the timer (if bit 4 is set). 0x1 RISING_EDGE_OF_CAP1_ Rising Edge of CAP1 clears the timer (if bit 4 is set). 0x2 FALLING_EDGE_OF_CAP1 Falling Edge of CAP1 clears the timer (if bit 4 is set). 0x3 RESERVED_ Reserved. 0x4 RESERVED_ Reserved. 0x5 RESERVED_ Reserved. 0x6 RESERVED_ Reserved. 0x7 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:8] PWMC PWM Control Register (PWMCON). The PWMCON enables PWM mode for the external match pins CT16B0_MAT[2:0]. 0x074 read-write 0 0xFFFFFFFF PWMEN0 PWM channel0 enable [0:0] ENUM CT16BN_MAT0_IS_CONTR CT16Bn_MAT0 is controlled by EM0. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT0. 1 PWMEN1 PWM channel1 enable [1:1] ENUM CT16BN_MAT1_IS_CONTR CT16Bn_MAT1 is controlled by EM1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT16Bn_MAT1. 1 PWMEN2 PWM channel2 enable [2:2] ENUM MATCH_CHANNEL_2_OR_P Match channel 2 or pin CT16B0_MAT2 is controlled by EM2. Match channel 2 is not pinned out on timer 1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for match channel 2 or pin CT16B0_MAT2. 1 PWMEN3 PWM channel3 enable Note: It is recommended to use match channel 3 to set the PWM cycle because it is not pinned out. [3:3] ENUM MATCH_CHANNEL_3_MATC Match channel 3 match channel 3 is controlled by EM3. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for match channel 3match channel 3. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:4] CT16B1 0x40010000 0 0xFFF registers CT16B1 17 CT32B0 32-bit counter/timer CT32B0/1 CT32B0 0x40014000 0x0 0xFFF registers CT32B0 18 IR Interrupt Register (IR). The IR can be written to clear interrupts. The IR can be read to identify which of five possible interrupt sources are pending. 0x000 read-write 0 0xFFFFFFFF MR0INT Interrupt flag for match channel 0. [0:0] MR1INT Interrupt flag for match channel 1. [1:1] MR2INT Interrupt flag for match channel 2. [2:2] MR3INT Interrupt flag for match channel 3. [3:3] CR0INT Interrupt flag for capture channel 0 event. [4:4] CR1INT Interrupt flag for capture channel 1 event. [5:5] RESERVED Reserved [31:6] TCR Timer Control Register (TCR). The TCR is used to control the Timer Counter functions. The Timer Counter can be disabled or reset through the TCR. 0x004 read-write 0 0xFFFFFFFF CEN When one, the Timer Counter and Prescale Counter are enabled for counting. When zero, the counters are disabled. [0:0] CRST When one, the Timer Counter and the Prescale Counter are synchronously reset on the next positive edge of PCLK. The counters remain reset until TCR[1] is returned to zero. [1:1] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:2] TC Timer Counter (TC). The 32-bit TC is incremented every PR+1 cycles of PCLK. The TC is controlled through the TCR. 0x008 read-write 0 0xFFFFFFFF TC Timer counter value. [31:0] PR Prescale Register (PR). When the Prescale Counter (below) is equal to this value, the next clock increments the TC and clears the PC. 0x00C read-write 0 0xFFFFFFFF PR Prescale value. [31:0] PC Prescale Counter (PC). The 32-bit PC is a counter which is incremented to the value stored in PR. When the value in PR is reached, the TC is incremented and the PC is cleared. The PC is observable and controllable through the bus interface. 0x010 read-write 0 0xFFFFFFFF PC Prescale counter value. [31:0] MCR Match Control Register (MCR). The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs. 0x014 read-write 0 0xFFFFFFFF MR0I Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. [0:0] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR0R Reset on MR0: the TC will be reset if MR0 matches it. [1:1] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR0S Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. [2:2] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR1I Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. [3:3] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR1R Reset on MR1: the TC will be reset if MR1 matches it. [4:4] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR1S Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. [5:5] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR2I Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. [6:6] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR2R Reset on MR2: the TC will be reset if MR2 matches it. [7:7] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR2S Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. [8:8] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR3I Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. [9:9] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR3R Reset on MR3: the TC will be reset if MR3 matches it. [10:10] ENUM ENABLED Enabled 1 DISABLED Disabled 0 MR3S Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. [11:11] ENUM ENABLED Enabled 1 DISABLED Disabled 0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:12] 4 0x4 0-3 MR%s Match Register. MR can be enabled through the MCR to reset the TC, stop both the TC and PC, and/or generate an interrupt every time MR matches the TC. 0x018 read-write 0 0xFFFFFFFF MATCH Timer counter match value. [31:0] CCR Capture Control Register (CCR). The CCR controls which edges of the capture inputs are used to load the Capture Registers and whether or not an interrupt is generated when a capture takes place. 0x028 read-write 0 0xFFFFFFFF CAP0RE Capture on CT32Bn_CAP0 rising edge: a sequence of 0 then 1 on CT32Bn_CAP0 will cause CR0 to be loaded with the contents of TC. [0:0] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP0FE Capture on CT32Bn_CAP0 falling edge: a sequence of 1 then 0 on CT32Bn_CAP0 will cause CR0 to be loaded with the contents of TC. [1:1] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP0I Interrupt on CT32Bn_CAP0 event: a CR0 load due to a CT32Bn_CAP0 event will generate an interrupt. [2:2] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP1RE Capture on CT32Bn_CAP1 rising edge: a sequence of 0 then 1 on CT32Bn_CAP1 will cause CR1 to be loaded with the contents of TC. [3:3] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP1FE Capture on CT32Bn_CAP1 falling edge: a sequence of 1 then 0 on CT32Bn_CAP1 will cause CR1 to be loaded with the contents of TC. [4:4] ENUM ENABLED Enabled 1 DISABLED Disabled 0 CAP1I Interrupt on CT32Bn_CAP1 event: a CR1 load due to a CT32Bn_CAP1 event will generate an interrupt. [5:5] ENUM ENABLED Enabled 1 DISABLED Disabled 0 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:6] 2 0x4 0-1 CR%s Capture Register (CR). CR is loaded with the value of TC when there is an event on the CT16Bn_CAPm input. 0x02C read-only 0 0xFFFFFFFF CAP Timer counter capture value. [31:0] EMR External Match Register (EMR). The EMR controls the match function and the external match pins CT32B0_MAT[3:0]. 0x03C read-write 0 0xFFFFFFFF EM0 External Match 0. This bit reflects the state of output CT32Bn_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT32B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [0:0] EM1 External Match 1. This bit reflects the state of output CT32Bn_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT32B0_MAT1/CT16B1_MAT1 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [1:1] EM2 External Match 2. This bit reflects the state of output CT32Bn_MAT2, whether or not this output is connected to its pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output. This bit is driven to the CT32B0_MAT2/CT16B1_MAT2 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [2:2] EM3 External Match 3. This bit reflects the state of output CT32Bn_MAT3, whether or not this output is connected to its pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output. This bit is driven to the CT32B0_MAT3/CT16B1_MAT3 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH). [3:3] EMC0 External Match Control 0. Determines the functionality of External Match 0. [5:4] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC1 External Match Control 1. Determines the functionality of External Match 1. [7:6] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC2 External Match Control 2. Determines the functionality of External Match 2. [9:8] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 EMC3 External Match Control 3. Determines the functionality of External Match 3. [11:10] ENUM DO_NOTHING_ Do Nothing. 0x0 CLEAR_THE_CORRESPOND Clear the corresponding External Match bit/output to 0 (CT32Bn_MATm pin is LOW if pinned out). 0x1 SET_THE_CORRESPONDIN Set the corresponding External Match bit/output to 1 (CT32Bn_MATm pin is HIGH if pinned out). 0x2 TOGGLE_THE_CORRESPON Toggle the corresponding External Match bit/output. 0x3 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:12] CTCR Count Control Register (CTCR). The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting. 0x070 read-write 0 0xFFFFFFFF CTM Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer's Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: every rising PCLK edge [1:0] ENUM TIMER_MODE_EVERY_RI Timer Mode: every rising PCLK edge 0x0 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on rising edges on the CAP input selected by bits 3:2. 0x1 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on falling edges on the CAP input selected by bits 3:2. 0x2 COUNTER_MODE_TC_IS_ Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. 0x3 CIS Count Input Select. When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking: [3:2] ENUM CT32BN_CAP0 CT32Bn_CAP0 0x0 CT32BN_CAP1 CT32Bn_CAP1 0x1 RESERVED Reserved 0x2 RESERVED_NOTE_IF_CO Reserved Note: If Counter mode is selected in the TnCTCR, the 3 bits for that input in the Capture Control Register (TnCCR) must be programmed as 000. 0x3 ENCC Setting this bit to one enables clearing of the timer and the prescaler when the capture-edge event specified in bits 7:5 occurs. [4:4] SELCC When bit 4 is one, these bits select which capture input edge will cause the timer and prescaler to be cleared. These bits have no effect when bit 4 is zero. [7:5] ENUM RISING_EDGE_OF_CAP0_ Rising Edge of CAP0 clears the timer (if bit 4 is set). 0x0 FALLING_EDGE_OF_CAP0 Falling Edge of CAP0 clears the timer (if bit 4 is set). 0x1 RISING_EDGE_OF_CAP1_ Rising Edge of CAP1 clears the timer (if bit 4 is set). 0x2 FALLING_EDGE_OF_CAP1 Falling Edge of CAP1 clears the timer (if bit 4 is set). 0x3 RESERVED_ Reserved. 0x4 RESERVED_ Reserved. 0x5 RESERVED_ Reserved. 0x6 RESERVED_ Reserved. 0x7 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:8] PWMC PWM Control Register (PWMCON). The PWMCON enables PWM mode for the external match pins CT32B0_MAT[3:0]. 0x074 read-write 0 0xFFFFFFFF PWMEN0 PWM channel 0 enable [0:0] ENUM CT32BN_MAT0_IS_CONTR CT32Bn_MAT0 is controlled by EM0. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT0. 1 PWMEN1 PWM channel 1 enable [1:1] ENUM CT32BN_MAT1_IS_CONTR CT32Bn_MAT1 is controlled by EM1. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT1. 1 PWMEN2 PWM channel 2 enable [2:2] ENUM CT32BN_MAT2_IS_CONTR CT32Bn_MAT2 is controlled by EM2. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT2. 1 PWMEN3 PWM channel 3 enable Note: It is recommended to use match channel 3 to set the PWM cycle. [3:3] ENUM CT32BN_MAT3_IS_CONTR CT32Bn_MAT3 is controlled by EM3. 0 PWM_MODE_IS_ENABLED_ PWM mode is enabled for CT32Bn_MAT3. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:4] CT32B1 0x40018000 0 0xFFF registers CT32B1 19 ADC 10-bit ADC ADC 0x4001C000 0 0xFFF registers ADC 24 CR A/D Control Register. The ADCR register must be written to select the operating mode before A/D conversion can occur. 0x000 read-write 0x00000000 0xFFFFFFFF SEL Selects which of the AD7:0 pins is (are) to be sampled and converted. Bit 0 selects Pin AD0, bit 1 selects pin AD1,..., and bit 7 selects pin AD7. In software-controlled mode (BURST = 0), only one channel can be selected, i.e. only one of these bits should be 1. In hardware scan mode (BURST = 1), any numbers of channels can be selected, i.e any or all bits can be set to 1. If all bits are set to 0, channel 0 is selected automatically (SEL = 0x01). [7:0] CLKDIV The APB clock (PCLK) is divided by CLKDIV +1 to produce the clock for the ADC, which should be less than or equal to 4.5 MHz. Typically, software should program the smallest value in this field that yields a clock of 4.5 MHz or slightly less, but in certain cases (such as a high-impedance analog source) a slower clock may be desirable. [15:8] BURST Burst mode [16:16] test SWMODE Software-controlled mode: Conversions are software-controlled and require 11 clocks. 0 HWMODE Hardware scan mode: The AD converter does repeated conversions at the rate selected by the CLKS field, scanning (if necessary) through the pins selected by 1s in the SEL field. The first conversion after the start corresponds to the least-significant bit set to 1 in the SEL field, then the next higher bits (pins) set to 1 are scanned if applicable. Repeated conversions can be terminated by clearing this bit, but the conversion in progress when this bit is cleared will be completed. Important: START bits must be 000 when BURST = 1 or conversions will not start. 1 CLKS This field selects the number of clocks used for each conversion in Burst mode, and the number of bits of accuracy of the result in the LS bits of ADDR, between 11 clocks (10 bits) and 4 clocks (3 bits). [19:17] test 10BIT 11 clocks / 10 bits 0x0 9BIT 10 clocks / 9 bits 0x1 8BIT 9 clocks / 8 bits 0x2 7BIT 8 clocks / 7 bits 0x3 6BIT 7 clocks / 6 bits 0x4 5BIT 6 clocks / 5 bits 0x5 4BIT 5 clocks / 4 bits 0x6 3BIT 4 clocks / 3 bits 0x7 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [23:20] START When the BURST bit is 0, these bits control whether and when an A/D conversion is started: [26:24] test STOP No start (this value should be used when clearing PDN to 0). 0x0 START Start conversion now. 0x1 EDGEPIO0_2 Start conversion when the edge selected by bit 27 occurs on PIO0_2/SSEL/CT16B0_CAP0. 0x2 EDGEPIO1_5 Start conversion when the edge selected by bit 27 occurs on PIO1_5/DIR/CT32B0_CAP0. 0x3 EDGECT32B0_MAT0_1 Start conversion when the edge selected by bit 27 occurs on CT32B0_MAT0[1]. 0x4 EDGECT32B0_MAT1_1 Start conversion when the edge selected by bit 27 occurs on CT32B0_MAT1[1]. 0x5 EDGECT16B0_MAT0_1 Start conversion when the edge selected by bit 27 occurs on CT16B0_MAT0[1]. 0x6 EDGECT16B0_MAT1_1 Start conversion when the edge selected by bit 27 occurs on CT16B0_MAT1[1]. 0x7 EDGE This bit is significant only when the START field contains 010-111. In these cases: Start conversion on a falling edge on the selected CAP/MAT signal. [27:27] test RISING Start conversion on a rising edge on the selected CAP/MAT signal. 0 FALLING Start conversion on a rising edge on the selected CAP/MAT signal. 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:28] GDR A/D Global Data Register. Contains the result of the most recent A/D conversion. 0x004 read-write 0 0x00000000 RESERVED Reserved. These bits always read as zeroes. [5:0] V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin selected by the SEL field, divided by the voltage on the VDD pin. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VSS, while 0x3FF indicates that the voltage on ADn was close to, equal to, or greater than that on VREF. [15:6] RESERVED Reserved. These bits always read as zeroes. [23:16] CHN These bits contain the channel from which the result bits V_VREF were converted. [26:24] RESERVED Reserved. These bits always read as zeroes. [29:27] OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits. [30:30] DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read and when the ADCR is written. If the ADCR is written while a conversion is still in progress, this bit is set and a new conversion is started. [31:31] STAT A/D Status Register. This register contains DONE and OVERRUN flags for all of the A/D channels, as well as the A/D interrupt flag. 0x030 read-only 0 0xFFFFFFFF DONE These bits mirror the DONE status flags that appear in the result register for each A/D channel n. [7:0] OVERRUN These bits mirror the OVERRRUN status flags that appear in the result register for each A/D channel n. Reading ADSTAT allows checking the status of all A/D channels simultaneously. [15:8] ADINT This bit is the A/D interrupt flag. It is one when any of the individual A/D channel Done flags is asserted and enabled to contribute to the A/D interrupt via the ADINTEN register. [16:16] RESERVED Unused, always 0. [31:17] INTEN A/D Interrupt Enable Register. This register contains enable bits that allow the DONE flag of each A/D channel to be included or excluded from contributing to the generation of an A/D interrupt. 0x00C read-write 0x00000100 0xFFFFFFFF ADINTENn These bits allow control over which A/D channels generate interrupts for conversion completion. When bit 0 is one, completion of a conversion on A/D channel 0 will generate an interrupt, when bit 1 is one, completion of a conversion on A/D channel 1 will generate an interrupt, etc. [7:0] ADGINTEN When 1, enables the global DONE flag in ADDR to generate an interrupt. When 0, only the individual A/D channels enabled by ADINTEN 7:0 will generate interrupts. [8:8] RESERVED Unused, always 0. [31:9] 8 0x4 0-7 DR%s A/D Channel n Data Register. This register contains the result of the most recent conversion completed on channel n. 0x010 read-write 0 0xFFFFFFFF RESERVED Reserved, always 0. These bits always read as zeroes. [5:0] V_VREF When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin, divided by the voltage on the VREF pin. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VREF, while 0x3FF indicates that the voltage on AD input was close to, equal to, or greater than that on VREF. [15:6] RESERVED These bits always read as zeroes. [29:16] OVERRUN This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.This bit is cleared by reading this register. [30:30] DONE This bit is set to 1 when an A/D conversion completes. It is cleared when this register is read. [31:31] PMU Power management unit PMU 0x40038000 0 0xFFF registers PCON Power control register 0x000 read-write 0x0 0xFFFFFFFF RESERVED Reserved. Do not write 1 to this bit. [0:0] DPDEN Deep power-down mode enable [1:1] test SLEEPMODE ARM WFI will enter Sleep or Deep-sleep mode (clock to ARM Cortex-M0 core turned off). 0 DEEPPOWERDOWN ARM WFI will enter Deep-power down mode (ARM Cortex-M0 core powered-down). 1 RESERVED Reserved. Do not write ones to this bit. [7:2] SLEEPFLAG Sleep mode flag [8:8] test NOPOWERDOWN Read: No power-down mode entered. LPC111x is in Active mode. Write: No effect. 0 POWERDOWN Read: Sleep/Deep-sleep or Deep power-down mode entered. Write: Writing a 1 clears the SLEEPFLAG bit to 0. 1 RESERVED Reserved. Do not write ones to this bit. [10:9] DPDFLAG Deep power-down flag [11:11] test NODEEPPOWERDOWN Read: Deep power-down mode not entered. Write: No effect. 0 DEEPPOWERDOWN Read: Deep power-down mode entered. Write: Clear the Deep power-down flag. 1 RESERVED Reserved. Do not write ones to this bit. [31:12] 4 0x4 0-3 GPREG%s General purpose register 0x004 read-write 0x0 0xFFFFFFFF GPDATA Data retained during Deep power-down mode. [31:0] GPREG4 General purpose register 4 0x014 read-write 0x0 0xFFFFFFFF RESERVED Reserved. Do not write ones to this bit. [9:0] WAKEUPHYS WAKEUP pin hysteresis enable [10:10] test ENABLED Hysteresis for WAKEUP pin enabled. 1 DISABLED Hysteresis for WAKUP pin disabled. 0 GPDATA Data retained during Deep power-down mode. [31:11] FLASHCTRL Flash programming firmware FLASHCTRL 0x4003C000 0 0xFFF registers FMC 27 FLASHCFG Flash memory access time configuration register 0x010 read-write 0 0x00000000 FLASHTIM Flash memory access time. FLASHTIM +1 is equal to the number of system clocks used for flash access. [1:0] ENUM 1_SYSTEM_CLOCK_FLASH 1 system clock flash access time (for system clock frequencies of up to 20 MHz). 0x1 2_SYSTEM_CLOCKS_FLAS 2 system clocks flash access time (for system clock frequencies of up to 40 MHz). 0x2 3_SYSTEM_CLOCKS_FLAS 3 system clocks flash access time (for system clock frequencies of up to 50 MHz). 0x3 RESERVED Reserved. User software must not change the value of these bits. Bits 31:2 must be written back exactly as read. [31:2] FMSSTART Signature start address register 0x020 read-write 0 0xFFFFFFFF START Signature generation start address (corresponds to AHB byte address bits[20:4]). [16:0] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:17] FMSSTOP Signature stop-address register 0x024 read-write 0 0xFFFFFFFF STOP BIST stop address divided by 16 (corresponds to AHB byte address [20:4]). [16:0] SIG_START Start control bit for signature generation. [17:17] ENUM SIGNATURE_GENERATION Signature generation is stopped 0 INITIATE_SIGNATURE_G Initiate signature generation 1 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:18] FMSW0 Word 0 [31:0] 0x02C read-only 0 0x00000000 SW0_31_0 Word 0 of 128-bit signature (bits 31 to 0). [31:0] FMSW1 Word 1 [63:32] 0x030 read-only 0 0x00000000 SW1_63_32 Word 1 of 128-bit signature (bits 63 to 32). [31:0] FMSW2 Word 2 [95:64] 0x034 read-only 0 0x00000000 SW2_95_64 Word 2 of 128-bit signature (bits 95 to 64). [31:0] FMSW3 Word 3 [127:96] 0x038 read-only 0 0x00000000 SW3_127_96 Word 3 of 128-bit signature (bits 127 to 96). [31:0] FMSTAT Signature generation status register 0xFE0 read-only 0 0xFFFFFFFF RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [1:0] SIG_DONE When 1, a previously started signature generation has completed. See FMSTATCLR register description for clearing this flag. [2:2] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:3] FMSTATCLR Signature generation status clear register 0xFE8 write-only 0 0x00000000 RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [1:0] SIG_DONE_CLR Writing a 1 to this bits clears the signature generation completion flag (SIG_DONE) in the FMSTAT register. [2:2] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:3] SPI0 SPI0 SPI 0x40040000 0 0xFFF registers SPI0 20 CR0 Control Register 0. Selects the serial clock rate, bus type, and data size. 0x000 read-write 0 0xFFFFFFFF DSS Data Size Select. This field controls the number of bits transferred in each frame. Values 0000-0010 are not supported and should not be used. [3:0] ENUM 4_BIT_TRANSFER 4-bit transfer 0x3 5_BIT_TRANSFER 5-bit transfer 0x4 6_BIT_TRANSFER 6-bit transfer 0x5 7_BIT_TRANSFER 7-bit transfer 0x6 8_BIT_TRANSFER 8-bit transfer 0x7 9_BIT_TRANSFER 9-bit transfer 0x8 10_BIT_TRANSFER 10-bit transfer 0x9 11_BIT_TRANSFER 11-bit transfer 0xA 12_BIT_TRANSFER 12-bit transfer 0xB 13_BIT_TRANSFER 13-bit transfer 0xC 14_BIT_TRANSFER 14-bit transfer 0xD 15_BIT_TRANSFER 15-bit transfer 0xE 16_BIT_TRANSFER 16-bit transfer 0xF FRF Frame Format. [5:4] ENUM SPI SPI 0x0 TI TI 0x1 MICROWIRE Microwire 0x2 RESERVED This combination is not supported and should not be used. 0x3 CPOL Clock Out Polarity. This bit is only used in SPI mode. [6:6] ENUM LOW SPI controller maintains the bus clock low between frames. 0 HIGH SPI controller maintains the bus clock high between frames. 1 CPHA Clock Out Phase. This bit is only used in SPI mode. [7:7] ENUM FIRSTCLOCK SPI controller captures serial data on the first clock transition of the frame, that is, the transition away from the inter-frame state of the clock line. 0 SECONDCLOCK SPI controller captures serial data on the second clock transition of the frame, that is, the transition back to the inter-frame state of the clock line. 1 SCR Serial Clock Rate. The number of prescaler output clocks per bit on the bus, minus one. Given that CPSDVSR is the prescale divider, and the APB clock PCLK clocks the prescaler, the bit frequency is PCLK / (CPSDVSR X [SCR+1]). [15:8] RESERVED Reserved [31:16] CR1 Control Register 1. Selects master/slave and other modes. 0x004 read-write 0 0xFFFFFFFF LBM Loop Back Mode. [0:0] test NORMAL During normal operation. 0 LOOPBACK Serial input is taken from the serial output (MOSI or MISO) rather than the serial input pin (MISO or MOSI respectively). 1 SSE SPI Enable. [1:1] test DISABLE The SPI controller is disabled. 0 ENABLE The SPI controller will interact with other devices on the serial bus. Software should write the appropriate control information to the other SPI/SSP registers and interrupt controller registers, before setting this bit. 1 MS Master/Slave Mode.This bit can only be written when the SSE bit is 0. [2:2] test MASTER The SPI controller acts as a master on the bus, driving the SCLK, MOSI, and SSEL lines and receiving the MISO line. 0 SLAVE The SPI controller acts as a slave on the bus, driving MISO line and receiving SCLK, MOSI, and SSEL lines. 1 SOD Slave Output Disable. This bit is relevant only in slave mode (MS = 1). If it is 1, this blocks this SPI controller from driving the transmit data line (MISO). [3:3] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:4] DR Data Register. Writes fill the transmit FIFO, and reads empty the receive FIFO. 0x008 read-write 0 0xFFFFFFFF modify DATA Write: software can write data to be sent in a future frame to this register whenever the TNF bit in the Status register is 1, indicating that the Tx FIFO is not full. If the Tx FIFO was previously empty and the SPI controller is not busy on the bus, transmission of the data will begin immediately. Otherwise the data written to this register will be sent as soon as all previous data has been sent (and received). If the data length is less than 16 bit, software must right-justify the data written to this register. Read: software can read data from this register whenever the RNE bit in the Status register is 1, indicating that the Rx FIFO is not empty. When software reads this register, the SPI controller returns data from the least recent frame in the Rx FIFO. If the data length is less than 16 bit, the data is right-justified in this field with higher order bits filled with 0s. [15:0] RESERVED Reserved. [31:16] SR Status Register 0x00C read-only 0x00000003 0xFFFFFFFF TFE Transmit FIFO Empty. This bit is 1 is the Transmit FIFO is empty, 0 if not. [0:0] TNF Transmit FIFO Not Full. This bit is 0 if the Tx FIFO is full, 1 if not. [1:1] RNE Receive FIFO Not Empty. This bit is 0 if the Receive FIFO is empty, 1 if not. [2:2] RFF Receive FIFO Full. This bit is 1 if the Receive FIFO is full, 0 if not. [3:3] BSY Busy. This bit is 0 if the SPI controller is idle, 1 if it is currently sending/receiving a frame and/or the Tx FIFO is not empty. [4:4] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:5] CPSR Clock Prescale Register 0x010 read-write 0 0xFFFFFFFF CPSDVSR This even value between 2 and 254, by which SPI_PCLK is divided to yield the prescaler output clock. Bit 0 always reads as 0. [7:0] RESERVED Reserved. [31:8] IMSC Interrupt Mask Set and Clear Register 0x014 read-write 0 0xFFFFFFFF RORIM Software should set this bit to enable interrupt when a Receive Overrun occurs, that is, when the Rx FIFO is full and another frame is completely received. The ARM spec implies that the preceding frame data is overwritten by the new frame data when this occurs. [0:0] RTIM Software should set this bit to enable interrupt when a Receive Time-out condition occurs. A Receive Time-out occurs when the Rx FIFO is not empty, and no has not been read for a time-out period. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR x [SCR+1]). [1:1] RXIM Software should set this bit to enable interrupt when the Rx FIFO is at least half full. [2:2] TXIM Software should set this bit to enable interrupt when the Tx FIFO is at least half empty. [3:3] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:4] RIS Raw Interrupt Status Register 0x018 read-only 0x00000008 0xFFFFFFFF RORRIS This bit is 1 if another frame was completely received while the RxFIFO was full. The ARM spec implies that the preceding frame data is overwritten by the new frame data when this occurs. [0:0] RTRIS This bit is 1 if the Rx FIFO is not empty, and has not been read for a time-out period. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR x [SCR+1]). [1:1] RXRIS This bit is 1 if the Rx FIFO is at least half full. [2:2] TXRIS This bit is 1 if the Tx FIFO is at least half empty. [3:3] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:4] MIS Masked Interrupt Status Register 0x01C read-only 0 0xFFFFFFFF RORMIS This bit is 1 if another frame was completely received while the RxFIFO was full, and this interrupt is enabled. [0:0] RTMIS This bit is 1 if the Rx FIFO is not empty, has not been read for a time-out period, and this interrupt is enabled. The time-out period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR x [SCR+1]). [1:1] RXMIS This bit is 1 if the Rx FIFO is at least half full, and this interrupt is enabled. [2:2] TXMIS This bit is 1 if the Tx FIFO is at least half empty, and this interrupt is enabled. [3:3] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:4] ICR SSPICR Interrupt Clear Register 0x020 write-only 0 0x00000000 RORIC Writing a 1 to this bit clears the frame was received when RxFIFO was full interrupt. [0:0] RTIC Writing a 1 to this bit clears the Rx FIFO was not empty and has not been read for a timeout period interrupt. The timeout period is the same for master and slave modes and is determined by the SSP bit rate: 32 bits at PCLK / (CPSDVSR x [SCR+1]). [1:1] RESERVED Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. [31:2] IOCON I/O configuration (IOCONFIG) IOCON 0x40044000 0x0 0xFFF registers IOCON_PIO2_6 I/O configuration for pin PIO2_6/ CT32B0_MAT1 0x000 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_6. 0x0 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT1. 0x1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_0 I/O configuration for pin PIO2_0/DTR/SSEL1 0x008 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_0. 0x0 SELECT_FUNCTION_DTR_ Select function DTR. 0x1 SELECT_FUNCTION_SSEL Select function SSEL1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_RESET_PIO0_0 I/O configuration for pin RESET/PIO0_0 0x00C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_RES Selects function RESET. 0x0 SELECTS_FUNCTION_PIO Selects function PIO0_0. 0x1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_1 I/O configuration for pin PIO0_1/CLKOUT/CT32B0_MAT2 0x010 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_1. 0x0 SELECTS_FUNCTION_CLK Selects function CLKOUT. 0x1 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT2. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_8 I/O configuration for pin PIO1_8/CT16B1_CAP0 0x014 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_8. 0x0 SELECTS_FUNCTION_CT1 Selects function CT16B1_CAP0. 0x1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_2 I/O configuration for pin PIO0_2/SSEL0/CT16B0_CAP0 0x01C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_2. 0x0 SELECTS_FUNCTION_SSE Selects function SSEL0. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_CAP0. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_7 I/O configuration for pin PIO2_7/ CT32B0_MAT2/RXD 0x020 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_7. 0x0 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT2. 0x1 SELECTS_FUNCTION_RXD Selects function RXD. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_8 I/O configuration for pin PIO2_8/ CT32B0_MAT3/TXD 0x024 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_8. 0x0 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT3. 0x1 SELECTS_FUNCTION_TXD Selects function TXD. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_1 I/O configuration for pin PIO2_1/DSR/SCK1 0x028 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_1. 0x0 SELECT_FUNCTION_DSR_ Select function DSR. 0x1 SELECT_FUNCTION_SCK1 Select function SCK1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_3 I/O configuration for pin PIO0_3 0x02C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_3. 0x0 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_4 I/O configuration for pin PIO0_4/SCL 0x030 read-write 0x00 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_4 (open-drain pin). 0x0 SELECTS_I2C_FUNCTION Selects I2C function SCL (open-drain pin). 0x1 I2CMODE Selects I2C mode. Select Standard mode (I2CMODE = 00, default) or Standard I/O functionality (I2CMODE = 01) if the pin function is GPIO (FUNC = 000). [9:8] ENUM STANDARD_MODE_FAST Standard mode/ Fast-mode I2C. 0x0 STANDARD_IO_FUNCTION Standard I/O functionality 0x1 FAST_MODE_PLUS_I2C Fast-mode Plus I2C 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:10] IOCON_PIO0_5 I/O configuration for pin PIO0_5/SDA 0x034 read-write 0x00 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_5 (open-drain pin). 0x0 SELECTS_I2C_FUNCTION Selects I2C function SDA (open-drain pin). 0x1 I2CMODE Selects I2C mode. Select Standard mode (I2CMODE = 00, default) or Standard I/O functionality (I2CMODE = 01) if the pin function is GPIO (FUNC = 000). [9:8] ENUM STANDARD_MODE_FAST Standard mode/ Fast-mode I2C. 0x0 STANDARD_IO_FUNCTION Standard I/O functionality 0x1 FAST_MODE_PLUS_I2C Fast-mode Plus I2C 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:10] IOCON_PIO1_9 I/O configuration for pin PIO1_9/CT16B1_MAT0/ MOSI1 0x038 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_9. 0x0 SELECTS_FUNCTION_CT1 Selects function CT16B1_MAT0. 0x1 SELECTS_FUNCTION_MOS Selects function MOSI1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO3_4 I/O configuration for pin PIO3_4/ CT16B0_CAP1/RXD 0x03C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO3_4. 0x0 SELECTS_FUNCTION_CT1 Selects function CT16B0_CAP1. 0x1 SELECTS_FUNCTION_RXD Selects function RXD. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_4 I/O configuration for pin PIO2_4/ CT16B1_MAT1/ SSEL1 0x040 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_4. 0x0 SELECTS_FUNCTION_CT1 Selects function CT16B1_MAT1. 0x1 SELECTS_FUNCTION_SSE Selects function SSEL1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_5 I/O configuration for pin PIO2_5/ CT32B0_MAT0 0x044 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_5. 0x0 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT0. 0x1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO3_5 I/O configuration for pin PIO3_5/ CT16B1_CAP1/TXD 0x048 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO3_5. 0x0 SELECTS_FUNCTION_CT1 Selects function CT16B1_CAP1. 0x1 SELECTS_FUNCTION_TXD Selects function TXD. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_6 I/O configuration for pin PIO0_6/SCK0 0x04C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_6. 0x0 RESERVED_ Reserved. 0x1 SELECTS_FUNCTION_SCK Selects function SCK0 (only if pin PIO0_6/SCK0 selected in Table 147). 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_7 I/O configuration for pin PIO0_7/CTS 0x050 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_7. 0x0 SELECT_FUNCTION_CTS_ Select function CTS. 0x1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_9 I/O configuration for pin PIO2_9/ CT32B0_CAP0 0x054 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_9. 0x0 SELECTS_FUNCTION_CT3 Selects function CT32B0_CAP0. 0x1 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_10 I/O configuration for pin PIO2_10 0x058 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_10. 0x0 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_2 I/O configuration for pin PIO2_2/DCD/MISO1 0x05C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_2. 0x0 SELECT_FUNCTION_DCD_ Select function DCD. 0x1 SELECT_FUNCTION_MISO Select function MISO1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_8 I/O configuration for pin PIO0_8/MISO0/CT16B0_MAT0 0x060 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_8. 0x0 SELECTS_FUNCTION_MIS Selects function MISO0. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_MAT0. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO0_9 I/O configuration for pin PIO0_9/MOSI0/CT16B0_MAT1 0x064 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO0_9. 0x0 SELECTS_FUNCTION_MOS Selects function MOSI0. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_MAT1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_SWCLK_PIO0_10 I/O configuration for pin SWCLK/PIO0_10/ SCK0/CT16B0_MAT2 0x068 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_SWC Selects function SWCLK. 0x0 SELECTS_FUNCTION_PIO Selects function PIO0_10. 0x1 SELECTS_FUNCTION_SCK Selects function SCK0 (only if pin SWCLK/PIO0_10/SCK0/CT16B0_MAT2 selected in Table 147). 0x2 SELECTS_FUNCTION_CT1 Selects function CT16B0_MAT2. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_10 I/O configuration for pin PIO1_10/AD6/CT16B1_MAT1/ MISO1 0x06C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_10. 0x0 SELECTS_FUNCTION_AD6 Selects function AD6. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B1_MAT1. 0x2 SELECTS_FUNCTION_MIS Selects function MISO1. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_11 I/O configuration for pin PIO2_11/SCK0/ CT32B0_CAP1 0x070 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_11. 0x0 SELECT_FUNCTION_SCK0 Select function SCK0 (only if pin PIO2_11/SCK0 selected in Table 147). 0x1 SELECT_FUNCTION_CT32 Select function CT32B0_CAP1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_R_PIO0_11 I/O configuration for pin R/PIO0_11/AD0/CT32B0_MAT3 0x074 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_R_ Selects function R. This function is reserved. Select one of the alternate functions below. 0x0 SELECTS_FUNCTION_PIO Selects function PIO0_11. 0x1 SELECTS_FUNCTION_AD0 Selects function AD0. 0x2 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT3. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_R_PIO1_0 I/O configuration for pin R/PIO1_0/AD1/CT32B1_CAP0 0x078 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_R_ Selects function R. This function is reserved. Select one of the alternate functions below. 0x0 SELECTS_FUNCTION_PIO Selects function PIO1_0. 0x1 SELECTS_FUNCTION_AD1 Selects function AD1. 0x2 SELECTS_FUNCTION_CT3 Selects function CT32B1_CAP0. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_R_PIO1_1 I/O configuration for pin R/PIO1_1/AD2/CT32B1_MAT0 0x07C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_R_ Selects function R. This function is reserved. Select one of the alternate functions below. 0x0 SELECTS_FUNCTION_PIO Selects function PIO1_1. 0x1 SELECTS_FUNCTION_AD2 Selects function AD2. 0x2 SELECTS_FUNCTION_CT3 Selects function CT32B1_MAT0. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_R_PIO1_2 I/O configuration for pin R/PIO1_2/AD3/CT32B1_MAT1 0x080 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_R_ Selects function R. This function is reserved. Select one of the alternate functions below. 0x0 SELECTS_FUNCTION_PIO Selects function PIO1_2. 0x1 SELECTS_FUNCTION_AD3 Selects function AD3. 0x2 SELECTS_FUNCTION_CT3 Selects function CT32B1_MAT1. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO3_0 I/O configuration for pin PIO3_0/DTR/CT16B0_MAT0/TXD 0x084 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO3_0. 0x0 SELECTS_FUNCTION_DTR Selects function DTR. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_MAT0. 0x2 SELECTS_FUNCTION_TXD Selects function TXD. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO3_1 I/O configuration for pin PIO3_1/DSR/CT16B0_MAT1/RXD 0x088 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO3_1. 0x0 SELECTS_FUNCTION_DSR Selects function DSR. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_MAT1. 0x2 SELECTS_FUNCTION_RXD Selects function RXD. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO2_3 I/O configuration for pin PIO2_3/RI/MOSI1 0x08C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO2_3. 0x0 SELECTS_FUNCTION_RI_ Selects function RI. 0x1 SELECTS_FUNCTION_MOS Selects function MOSI1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_SWDIO_PIO1_3 I/O configuration for pin SWDIO/PIO1_3/AD4/CT32B1_MAT2 0x090 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_SWD Selects function SWDIO. 0x0 SELECTS_FUNCTION_PIO Selects function PIO1_3. 0x1 SELECTS_FUNCTION_AD4 Selects function AD4. 0x2 SELECTS_FUNCTION_CT3 Selects function CT32B1_MAT2. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_4 I/O configuration for pin PIO1_4/AD5/CT32B1_MAT3 0x094 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. This pin functions as WAKEUP pin if the LPC111x is in Deep power-down mode regardless of the value of FUNC. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_4. 0x0 SELECTS_FUNCTION_AD5 Selects function AD5. 0x1 SELECTS_FUNCTION_CT3 Selects function CT32B1_MAT3. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_11 I/O configuration for pin PIO1_11/AD7/CT32B1_CAP1 0x098 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_11. 0x0 SELECTS_FUNCTION_AD7 Selects function AD7. 0x1 SELECTS_FUNCTION_CT3 Selects function CT32B1_CAP1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [6:6] ADMODE Selects Analog/Digital mode [7:7] ENUM ANALOG_INPUT_MODE Analog input mode 0 DIGITAL_FUNCTIONAL_M Digital functional mode 1 RESERVED Reserved [9:8] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO3_2 I/O configuration for pin PIO3_2/DCD/ CT16B0_MAT2/SCK1 0x09C read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO3_2. 0x0 SELECTS_FUNCTION_DCD Selects function DCD. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_MAT2. 0x2 SELECTS_FUNCTION_SCK Selects function SCK1. 0x3 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_5 I/O configuration for pin PIO1_5/RTS/CT32B0_CAP0 0x0A0 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_5. 0x0 SELECTS_FUNCTION_RTS Selects function RTS. 0x1 SELECTS_FUNCTION_CT3 Selects function CT32B0_CAP0. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_6 I/O configuration for pin PIO1_6/RXD/CT32B0_MAT0 0x0A4 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_6. 0x0 SELECTS_FUNCTION_RXD Selects function RXD. 0x1 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT0. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO1_7 I/O configuration for pin PIO1_7/TXD/CT32B0_MAT1 0x0A8 read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO1_7. 0x0 SELECTS_FUNCTION_TXD Selects function TXD. 0x1 SELECTS_FUNCTION_CT3 Selects function CT32B0_MAT1. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_PIO3_3 I/O configuration for pin PIO3_3/RI/ CT16B0_CAP0 0x0AC read-write 0xD0 0xFFFFFFFF FUNC Selects pin function. All other values are reserved. [2:0] ENUM SELECTS_FUNCTION_PIO Selects function PIO3_3. 0x0 SELECTS_FUNCTION_RI_ Selects function RI. 0x1 SELECTS_FUNCTION_CT1 Selects function CT16B0_CAP0. 0x2 MODE Selects function mode (on-chip pull-up/pull-down resistor control). [4:3] ENUM INACTIVE_NO_PULL_DO Inactive (no pull-down/pull-up resistor enabled). 0x0 PULL_DOWN_RESISTOR_E Pull-down resistor enabled. 0x1 PULL_UP_RESISTOR_ENA Pull-up resistor enabled. 0x2 REPEATER_MODE_ Repeater mode. 0x3 HYS Hysteresis. [5:5] ENUM DISABLE_ Disable. 0 ENABLE_ Enable. 1 RESERVED Reserved [9:6] OD Selects pseudo open-drain mode. [10:10] ENUM STANDARD_GPIO_OUTPUT Standard GPIO output 0 OPEN_DRAIN_OUTPUT Open-drain output 1 RESERVED Reserved [31:11] IOCON_SCK0_LOC SCK0 pin location select register 0x0B0 read-write 0x00 0xFFFFFFFF SCKLOC Selects pin location for SCK0 function. [1:0] ENUM SELECTS_SCK0_FUNCTIO Selects SCK0 function in pin location SWCLK/PIO0_10/SCK0/CT16B0_MAT2 (see Table 129). 0x0 SELECTS_SCK0_FUNCTIO Selects SCK0 function in pin location PIO2_11/SCK0 (see Table 131). 0x1 SELECTS_SCK0_FUNCTIO Selects SCK0 function in pin location PIO0_6/SCK0 (see Table 122). 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_DSR_LOC DSR pin location select register 0x0B4 read-write 0x00 0xFFFFFFFF DSRLOC Selects pin location for DSR function. [1:0] ENUM SELECTS_DSR_FUNCTIO Selects DSR function in pin location PIO2_1/DSR/SCK1 (see Table 113). 0x0 SELECTS_DSR_FUNCTION Selects DSR function in pin location PIO3_1/DSR (see Table 137). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_DCD_LOC DCD pin location select register 0x0B8 read-write 0x00 0xFFFFFFFF DCDLOC Selects pin location for DCD function. [1:0] ENUM SELECTS_DCD_FUNCTIO Selects DCD function in pin location PIO2_2/DCD/MISO1 (see Table 126). 0x0 SELECTS_DCD_FUNCTION Selects DCD function in pin location PIO3_2/DCD (see Table 142). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_RI_LOC RI pin location select register 0x0BC read-write 0x00 0xFFFFFFFF RILOC Selects pin location for RI function. [1:0] ENUM SELECTS_RI_FUNCTION Selects RI function in pin location PIO2_3/RI/MOSI1 (see Table 138). 0x0 SELECTS_RI_FUNCTION_ Selects RI function in pin location PIO3_3/RI (see Table 146). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_SSEL1_LOC SSEL1 pin location select register 0x018 read-write 0x0 0xFFFFFFFF SSEL1LOC Selects pin location for SSEL1 function. [1:0] ENUM SELECTS_SSEL1_FUNCTI Selects SSEL1 function in pin location PIO2_2/DCD/MISO1 (see Table 126). 0x0 SELECTS_SSEL1_FUNCTI Selects SSEL1 function in pin location PIO2_4/CT16B1_MAT1/SSEL1 (see Table 119). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_CT16B0_CAP0_LOC CT16B0_CAP0 pin location select register 0x0C0 read-write 0x00 0xFFFFFFFF CT16B0_CAP0LOC Selects pin location for CT16B0_CAP0 function. [1:0] ENUM SELECTS_CT16B0_CAP0_ Selects CT16B0_CAP0 function in pin location PIO0_2/SSEL0/CT16B0_CAP0 (see Table 110). 0x0 SELECTS_CT16B0_CAP0_ Selects CT16B0_CAP0 function in pin location PIO3_3/RI/CT16B0 (see Table 146). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_SCK1_LOC SCK1 pin location select register 0x0C4 read-write 0x00 0xFFFFFFFF SCK1LOC Selects pin location for SCK1 function. [1:0] ENUM SELECTS_SCK1_FUNCTIO Selects SCK1 function in pin location PIO2_1/DSR/SCK1 (see Table 113). 0x0 SELECTS_SCK1_FUNCTIO Selects SCK1 function in pin location PIO3_2/DCD/CT16B0_MAT2/SCK1 (see Table 142). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_MISO1_LOC MISO1 pin location select register 0x0C8 read-write 0x00 0xFFFFFFFF MISO1LOC Selects pin location for the MISO1 function. [1:0] ENUM SELECTS_MISO1_FUNCTI Selects MISO1 function in pin location PIO2_2/DCD/MISO1 (see Table 126). 0x0 SELECTS_MISO1_FUNCTI Selects MISO1 function in pin location PIO1_10/AD6/CT16B1_MAT1/MISO1 (see Table 130). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_MOSI1_LOC MOSI1 pin location select register 0x0CC read-write 0x00 0xFFFFFFFF MOSI1LOC Selects pin location for the MOSI1 function. [1:0] ENUM SELECTS_MOSI1_FUNCTI Selects MOSI1 function in pin location PIO2_3/RI/MOSI1 (see Table 138). 0x0 SELECTS_MOSI1_FUNCTI Selects MOSI1 function in pin location PIO1_9/CT16B1_MAT0/MOSI1 (see Table 117). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_CT32B0_CAP0_LOC CT32B0_CAP0 pin location select register 0x0D0 read-write 0x00 0xFFFFFFFF CT32B0_CAP0LOC Selects pin location for the CT32B0_CAP0 function. [1:0] ENUM SELECTS_CT32B0_CAP0_ Selects CT32B0_CAP0 function in pin location PIO1_5/RTS/CT32B0_CAP0 (see Table 143). 0x0 SELECTS_CT32B0_CAP0_ Selects CT32B0_CAP0 function in pin location PIO2_9/CT32B0_CAP0 (Table 124). 0x1 RESERVED_ Reserved. 0x2 RESERVED_ Reserved. 0x3 RESERVED Reserved. [31:2] IOCON_RXD_LOC RXD pin location select register 0x0D4 read-write 0x00 0xFFFFFFFF RXDLOC Selects pin location for the RXD function. [1:0] ENUM SELECTS_RXD_FUNCTION Selects RXD function in pin location PIO1_6/RXD/CT32B0_MAT0 (see Table 144). 0x0 SELECTS_RXD_FUNCTION Selects RXD function in pin location PIO2_7/CT32B0_MAT2/RXD (see Table 111). 0x1 SELECTS_RXD_FUNCTION Selects RXD function in pin location PIO3_1/DSR/CT16B0_MAT1/RXD (see Table 137). 0x2 SELECTS_RXD_FUNCTION Selects RXD function in pin location PIO3_4/CT16B0_CAP1/RXD (see Table 118). 0x3 RESERVED Reserved. [31:2] SYSCON System configuration (SYSCON) SYSCON 0x40048000 0x0 0xFFF registers BOD 26 PIO0_0 0 PIO0_1 1 PIO0_2 2 PIO0_3 3 PIO0_4 4 PIO0_5 5 PIO0_6 6 PIO0_7 7 PIO0_8 8 PIO0_9 9 PIO0_10 10 PIO0_11 11 PIO1_0 12 SYSMEMREMAP System memory remap 0x000 read-write 0x002 0xFFFFFFFF MAP System memory remap [1:0] ENUM BOOT_LOADER_MODE_IN Boot Loader Mode. Interrupt vectors are re-mapped to Boot ROM. 0x0 USER_RAM_MODE_INTER User RAM Mode. Interrupt vectors are re-mapped to Static RAM. 0x1 USER_FLASH_MODE_INT User Flash Mode. Interrupt vectors are not re-mapped and reside in Flash. 0x2 RESERVED Reserved [31:2] PRESETCTRL Peripheral reset control 0x004 read-write 0x000 0xFFFFFFFF SSP0_RST_N SPI0 reset control [0:0] ENUM SPIO0RESET Resets the SPI0 peripheral. 0 SPIO0NORESET SPI0 reset de-asserted. 1 I2C_RST_N I2C reset control [1:1] ENUM I2CRESET Resets the I2C peripheral. 0 I2CNORESET I2C reset de-asserted. 1 SSP1_RST_N SPI1 reset control [2:2] ENUM SPI1RESET Resets the SPI1 peripheral. 0 SPI2NORESET SPI1 reset de-asserted. 1 CAN_RST_N C_CAN reset control. See Section 3.1 for part specific details. [3:3] ENUM CANRESET Resets the C_CAN peripheral. 0 CANNORESET C_CAN reset de-asserted. 1 RESERVED Reserved [31:4] SYSPLLCTRL System PLL control 0x008 read-write 0x000 0xFFFFFFFF MSEL Feedback divider value. The division value M is the programmed MSEL value + 1. 00000: Division ratio M = 1 to 11111: Division ratio M = 32. [4:0] PSEL Post divider ratio P. The division ratio is 2 x P. [6:5] ENUM P_EQ_1 P = 1 0x0 P_EQ_2 P = 2 0x1 P_EQ_4 P = 4 0x2 P_EQ_8 P = 8 0x3 RESERVED Reserved. Do not write ones to reserved bits. [31:7] SYSPLLSTAT System PLL status 0x00C read-only 0x000 0xFFFFFFFF LOCK PLL lock status [0:0] ENUM PLL_NOT_LOCKED PLL not locked 0 PLL_LOCKED PLL locked 1 RESERVED Reserved [31:1] SYSOSCCTRL System oscillator control 0x020 read-write 0x000 0xFFFFFFFF BYPASS Bypass system oscillator [0:0] ENUM NOBYPASS Oscillator is not bypassed. 0 BYPASS_ENABLED_PLL_ Bypass enabled. PLL input (sys_osc_clk) is fed directly from the XTALIN and XTALOUT pins. 1 FREQRANGE Determines frequency range for Low-power oscillator. [1:1] ENUM LOW 1 - 20 MHz frequency range. 0 HIGH 15 - 25 MHz frequency range 1 RESERVED Reserved [31:2] WDTOSCCTRL Watchdog oscillator control 0x024 read-write 0x000 0xFFFFFFFF DIVSEL Select divider for Fclkana. wdt_osc_clk = Fclkana/ (2 x (1 + DIVSEL)) 00000: 2 x (1 + DIVSEL) = 2 00001: 2 x (1 + DIVSEL) = 4 to 11111: 2 x (1 + DIVSEL) = 64 [4:0] FREQSEL Select watchdog oscillator analog output frequency (Fclkana). [8:5] ENUM 0_6_MHZ 0.6 MHz 0x1 1_05_MHZ 1.05 MHz 0x2 1_4_MHZ 1.4 MHz 0x3 1_75_MHZ 1.75 MHz 0x4 2_1_MHZ 2.1 MHz 0x5 2_4_MHZ 2.4 MHz 0x6 2_7_MHZ 2.7 MHz 0x7 3_0_MHZ 3.0 MHz 0x8 3_25_MHZ 3.25 MHz 0x9 3_5_MHZ 3.5 MHz 0xA 3_75_MHZ 3.75 MHz 0xB 4_0_MHZ 4.0 MHz 0xC 4_2_MHZ 4.2 MHz 0xD 4_4_MHZ 4.4 MHz 0xE 4_6_MHZ 4.6 MHz 0xF RESERVED Reserved [31:9] IRCCTRL IRC control 0x028 read-write 0x080 0xFFFFFFFF TRIM Trim value [7:0] RESERVED Reserved [31:8] SYSRSTSTAT System reset status register 0x030 read-only 0x000 0xFFFFFFFF POR POR reset status [0:0] ENUM NO_POR_DETECTED_ No POR detected. 0 POR_DETECTED_WRITIN POR detected. Writing a one clears this reset. 1 EXTRST Status of the external RESET pin. [1:1] ENUM NO_RESET_EVENT_DETEC No RESET event detected. 0 RESET_DETECTED_WRIT RESET detected. Writing a one clears this reset. 1 WDT Status of the Watchdog reset [2:2] ENUM NO_WDT_RESET_DETECTE No WDT reset detected. 0 WDT_RESET_DETECTED_ WDT reset detected. Writing a one clears this reset. 1 BOD Status of the Brown-out detect reset [3:3] ENUM NO_BOD_RESET_DETECTE No BOD reset detected. 0 BOD_RESET_DETECTED_ BOD reset detected. Writing a one clears this reset. 1 SYSRST Status of the software system reset [4:4] ENUM NO_SYSTEM_RESET_DETE No System reset detected. 0 SYSTEM_RESET_DETECTE System reset detected. Writing a one clears this reset. 1 RESERVED Reserved [31:5] SYSPLLCLKSEL System PLL clock source select 0x040 read-write 0x000 0xFFFFFFFF SEL System PLL clock source [1:0] ENUM IRC_OSCILLATOR IRC oscillator 0x0 SYSTEM_OSCILLATOR System oscillator 0x1 RESERVED Reserved 0x2 RESERVED Reserved 0x3 RESERVED Reserved [31:2] SYSPLLCLKUEN System PLL clock source update enable 0x044 read-write 0x000 0xFFFFFFFF ENA Enable system PLL clock source update [0:0] ENUM NO_CHANGE No change 0 UPDATE_CLOCK_SOURCE Update clock source 1 RESERVED Reserved [31:1] MAINCLKSEL Main clock source select 0x070 read-write 0x000 0xFFFFFFFF SEL Clock source for main clock [1:0] ENUM IRC_OSCILLATOR IRC oscillator 0x0 INPUT_CLOCK_TO_SYSTE Input clock to system PLL 0x1 WDT_OSCILLATOR WDT oscillator 0x2 SYSTEM_PLL_CLOCK_OUT System PLL clock out 0x3 RESERVED Reserved [31:2] MAINCLKUEN Main clock source update enable 0x074 read-write 0x000 0xFFFFFFFF ENA Enable main clock source update [0:0] ENUM NO_CHANGE No change 0 UPDATE_CLOCK_SOURCE Update clock source 1 RESERVED Reserved [31:1] SYSAHBCLKDIV System AHB clock divider 0x078 read-write 0x001 0xFFFFFFFF DIV System AHB clock divider values 0: System clock disabled. 1: Divide by 1. to 255: Divide by 255. [7:0] RESERVED Reserved [31:8] SYSAHBCLKCTRL System AHB clock control 0x080 read-write 0x85F 0xFFFFFFFF SYS Enables clock for AHB to APB bridge, to the AHB matrix, to the Cortex-M0 FCLK and HCLK, to the SysCon, and to the PMU. This bit is read only. [0:0] ENUM RESERVED Reserved 0 ENABLE Enable 1 ROM Enables clock for ROM. [1:1] ENUM DISABLE Disable 0 ENABLE Enable 1 RAM Enables clock for RAM. [2:2] ENUM DISABLE Disable 0 ENABLE Enable 1 FLASHREG Enables clock for flash register interface. [3:3] ENUM DISABLED Disabled 0 ENABLED Enabled 1 FLASHARRAY Enables clock for flash array access. [4:4] ENUM DISABLED Disabled 0 ENABLED Enabled 1 I2C Enables clock for I2C. [5:5] ENUM DISABLE Disable 0 ENABLE Enable 1 GPIO Enables clock for GPIO. [6:6] ENUM DISABLE Disable 0 ENABLE Enable 1 CT16B0 Enables clock for 16-bit counter/timer 0. [7:7] ENUM DISABLE Disable 0 ENABLE Enable 1 CT16B1 Enables clock for 16-bit counter/timer 1. [8:8] ENUM DISABLE Disable 0 ENABLE Enable 1 CT32B0 Enables clock for 32-bit counter/timer 0. [9:9] ENUM DISABLE Disable 0 ENABLE Enable 1 CT32B1 Enables clock for 32-bit counter/timer 1. [10:10] ENUM DISABLE Disable 0 ENABLE Enable 1 SSP0 Enables clock for SPI0. [11:11] ENUM DISABLE Disable 0 ENABLE Enable 1 UART Enables clock for UART. See Section 3.1 for part specific details. [12:12] ENUM DISABLE Disable 0 ENABLE Enable 1 ADC Enables clock for ADC. [13:13] ENUM DISABLE Disable 0 ENABLE Enable 1 RESERVED Reserved [14:14] WDT Enables clock for WDT. [15:15] ENUM DISABLE Disable 0 ENABLE Enable 1 IOCON Enables clock for I/O configuration block. [16:16] ENUM DISABLE Disable 0 ENABLE Enable 1 CAN Enables clock for C_CAN. See Section 3.1 for part specific details. [17:17] ENUM DISABLE Disable 0 ENABLE Enable 1 SSP1 Enables clock for SPI1. [18:18] ENUM DISABLE Disable 0 ENABLE Enable 1 RESERVED Reserved [31:19] SSP0CLKDIV SPI0 clock divider 0x094 read-write 0x000 0xFFFFFFFF DIV SPI0_PCLK clock divider values 0: Disable SPI0_PCLK. 1: Divide by 1. to 255: Divide by 255. [7:0] RESERVED Reserved [31:8] UARTCLKDIV UART clock divder 0x098 read-write 0x000 0xFFFFFFFF DIV UART_PCLK clock divider values 0: Disable UART_PCLK. 1: Divide by 1. to 255: Divide by 255. [7:0] RESERVED Reserved [31:8] SSP1CLKDIV SPI1 clock divder 0x09C read-write 0x000 0xFFFFFFFF DIV SPI1_PCLK clock divider values 0: Disable SPI1_PCLK. 1: Divide by 1. to 255: Divide by 255. [7:0] RESERVED Reserved [31:8] WDTCLKSEL WDT clock source select 0x0D0 read-write 0x000 0xFFFFFFFF SEL WDT clock source [1:0] ENUM IRC_OSCILLATOR IRC oscillator 0x0 MAIN_CLOCK Main clock 0x1 WATCHDOG_OSCILLATOR Watchdog oscillator 0x2 RESERVED Reserved 0x3 RESERVED Reserved [31:2] WDTCLKUEN WDT clock source update enable 0x0D4 read-write 0x000 0xFFFFFFFF ENA Enable WDT clock source update [0:0] ENUM NO_CHANGE No change 0 UPDATE_CLOCK_SOURCE Update clock source 1 RESERVED Reserved [31:1] WDTCLKDIV WDT clock divider 0x0D8 read-write 0x000 0xFFFFFFFF DIV WDT clock divider values 0: Disable WDCLK. 1: Divide by 1. to 255: Divide by 255. [7:0] RESERVED Reserved [31:8] CLKOUTCLKSEL CLKOUT clock source select 0x0E0 read-write 0x000 0xFFFFFFFF SEL CLKOUT clock source [1:0] ENUM IRC_OSCILLATOR IRC oscillator 0x0 SYSTEM_OSCILLATOR System oscillator 0x1 WATCHDOG_OSCILLATOR Watchdog oscillator 0x2 MAIN_CLOCK Main clock 0x3 RESERVED Reserved [31:2] CLKOUTUEN CLKOUT clock source update enable 0x0E4 read-write 0x000 0xFFFFFFFF ENA Enable CLKOUT clock source update [0:0] ENUM NO_CHANGE No change 0 UPDATE_CLOCK_SOURCE Update clock source 1 RESERVED Reserved [31:1] CLKOUTCLKDIV CLKOUT clock divider 0x0E8 read-write 0x000 0xFFFFFFFF DIV Clock output divider values 0: Disable CLKOUT. 1: Divide by 1. to 255: Divide by 255. [7:0] RESERVED Reserved [31:8] PIOPORCAP0 POR captured PIO status 0 0x100 read-only 0 0x00000000 CAPPIO0_n Raw reset status input PIO0_n: PIO0_11 to PIO0_0 [11:0] CAPPIO1_n Raw reset status input PIO1_n: PIO1_11 to PIO1_0 [23:12] CAPPIO2_n Raw reset status input PIO2_n: PIO2_7 to PIO2_0 [31:24] PIOPORCAP1 POR captured PIO status 1 0x104 read-only 0 0x00000000 CAPPIO2_8 Raw reset status input PIO2_8 [0:0] CAPPIO2_9 Raw reset status input PIO2_9 [1:1] CAPPIO2_10 Raw reset status input PIO2_10 [2:2] CAPPIO2_11 Raw reset status input PIO2_11 [3:3] CAPPIO3_0 Raw reset status input PIO3_0 [4:4] CAPPIO3_1 Raw reset status input PIO3_1 [5:5] CAPPIO3_2 Raw reset status input PIO3_2 [6:6] CAPPIO3_3 Raw reset status input PIO3_3 [7:7] CAPPIO3_4 Raw reset status input PIO3_4 [8:8] CAPPIO3_5 Raw reset status input PIO3_5 [9:9] RESERVED Reserved [31:10] BODCTRL BOD control 0x150 read-write 0x000 0xFFFFFFFF BODRSTLEV BOD reset level [1:0] ENUM LEVEL_0_THE_RESET_A Level 0: The reset assertion threshold voltage is 1.46 V; the reset de-assertion threshold voltage is 1.63 V. 0x0 LEVEL_1_THE_RESET_A Level 1: The reset assertion threshold voltage is 2.06 V; the reset de-assertion threshold voltage is 2.15 V. 0x1 LEVEL_2_THE_RESET_A Level 2: The reset assertion threshold voltage is 2.35 V; the reset de-assertion threshold voltage is 2.43 V. 0x2 LEVEL_3_THE_RESET_A Level 3: The reset assertion threshold voltage is 2.63 V; the reset de-assertion threshold voltage is 2.71 V. 0x3 BODINTVAL BOD interrupt level [3:2] ENUM LEVEL_0_THE_INTERRU Level 0: The interrupt assertion threshold voltage is 1.65 V; the interrupt de-assertion threshold voltage is 1.80 V. 0x0 LEVEL_1THE_INTERRUP Level 1:The interrupt assertion threshold voltage is 2.22 V; the interrupt de-assertion threshold voltage is 2.35 V. 0x1 LEVEL_2_THE_INTERRU Level 2: The interrupt assertion threshold voltage is 2.52 V; the interrupt de-assertion threshold voltage is 2.66 V. 0x2 LEVEL_3_THE_INTERRU Level 3: The interrupt assertion threshold voltage is 2.80 V; the interrupt de-assertion threshold voltage is 2.90 V. 0x3 BODRSTENA BOD reset enable [4:4] ENUM DISABLE_RESET_FUNCTI Disable reset function. 0 ENABLE_RESET_FUNCTIO Enable reset function. 1 RESERVED Reserved [31:5] SYSTCKCAL System tick counter calibration 0x154 read-write 0x004 0xFFFFFFFF CAL System tick timer calibration value [25:0] RESERVED Reserved [31:26] NMISRC NMI source selection 0x174 read-write 0x000 0xFFFFFFFF IRQNO The IRQ number of the interrupt that acts as the Non-Maskable Interrupt (NMI) if bit 31 in this register is 1. See Table 54 for the list of interrupt sources and their IRQ numbers. [4:0] RESERVED Reserved [30:5] NMIEN Write a 1 to this bit to enable the Non-Maskable Interrupt (NMI) source selected by bits 4:0. [31:31] STARTAPRP0 Start logic edge control register 0 0x200 read-write 0 0x00000000 APRPIO0_0 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [0:0] APRPIO0_1 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [1:1] APRPIO0_2 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [2:2] APRPIO0_3 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [3:3] APRPIO0_4 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [4:4] APRPIO0_5 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [5:5] APRPIO0_6 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [6:6] APRPIO0_7 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [7:7] APRPIO0_8 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [8:8] APRPIO0_9 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [9:9] APRPIO0_10 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [10:10] APRPIO0_11 Edge select for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Falling edge 1 = Rising edge [11:11] APRPIO1_0 Edge select for start logic input PIO1_0 0 = Falling edge 1 = Rising edge [12:12] RESERVED Reserved. Do not write a 1 to reserved bits in this register. [31:13] STARTERP0 Start logic signal enable register 0 0x204 read-write 0 0x00000000 ERPIO0_0 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [0:0] ERPIO0_1 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [1:1] ERPIO0_2 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [2:2] ERPIO0_3 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [3:3] ERPIO0_4 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [4:4] ERPIO0_5 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [5:5] ERPIO0_6 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [6:6] ERPIO0_7 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [7:7] ERPIO0_8 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [8:8] ERPIO0_9 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [9:9] ERPIO0_10 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [10:10] ERPIO0_11 Enable start signal for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = Disabled 1 = Enabled [11:11] ERPIO1_0 Enable start signal for start logic input PIO1_0 0 = Disabled 1 = Enabled [12:12] RESERVED Reserved. Do not write a 1 to reserved bits in this register. [31:13] STARTRSRP0CLR Start logic reset register 0 0x208 write-only 0 0x00000000 RSRPIO0_0 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [0:0] RSRPIO0_1 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [1:1] RSRPIO0_2 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [2:2] RSRPIO0_3 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [3:3] RSRPIO0_4 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [4:4] RSRPIO0_5 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [5:5] RSRPIO0_6 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [6:6] RSRPIO0_7 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [7:7] RSRPIO0_8 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [8:8] RSRPIO0_9 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [9:9] RSRPIO0_10 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [10:10] RSRPIO0_11 Start signal reset for start logic input PIO0_n:PIO0_11 to PIO0_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [11:11] RSRPIO1_0 Start signal reset for start logic input PIO1_0 0 = Do nothing. 1 = Writing 1 resets the start signal. [12:12] RESERVED Reserved. Do not write a 1 to reserved bits in this register. [31:13] STARTSRP0 Start logic status register 0 0x20C read-only 0 0x00000000 SRPIO0_0 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [0:0] SRPIO0_1 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [1:1] SRPIO0_2 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [2:2] SRPIO0_3 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [3:3] SRPIO0_4 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [4:4] SRPIO0_5 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [5:5] SRPIO0_6 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [6:6] SRPIO0_7 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [7:7] SRPIO0_8 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [8:8] SRPIO0_9 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [9:9] SRPIO0_10 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [10:10] SRPIO0_11 Start signal status for start logic input PIO0_n: PIO0_11 to PIO0_0 0 = No start signal received. 1 = Start signal pending. [11:11] SRPIO1_0 Start signal status for start logic input PIO1_0 0 = No start signal received. 1 = Start signal pending. [12:12] RESERVED Reserved [31:13] PDSLEEPCFG Power-down states in Deep-sleep mode 0x230 read-write 0x00000000 0xFFFFFFFF NOTUSED0 Reserved. Always write these bits as 111. [2:0] BOD_PD BOD power-down control in Deep-sleep mode, see Table 40. [3:3] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 NOTUSED1 Reserved. Always write these bits as 11. [5:4] WDTOSC_PD Watchdog oscillator power control in Deep-sleep mode, see Table 40. [6:6] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 NOTUSED2 Reserved. Always write this bit as 1. [7:7] NOTUSED3 Reserved. Always write these bits as 000. [10:8] NOTUSED4 Reserved. Always write these bits as 11. [12:11] RESERVED Reserved [31:13] PDAWAKECFG Power-down states after wake-up from Deep-sleep mode 0x234 read-write 0x0000EDF0 0xFFFFFFFF IRCOUT_PD IRC oscillator output wake-up configuration [0:0] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 IRC_PD IRC oscillator power-down wake-up configuration [1:1] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 FLASH_PD Flash wake-up configuration [2:2] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 BOD_PD BOD wake-up configuration [3:3] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 ADC_PD ADC wake-up configuration [4:4] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 SYSOSC_PD System oscillator wake-up configuration [5:5] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 WDTOSC_PD Watchdog oscillator wake-up configuration [6:6] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 SYSPLL_PD System PLL wake-up configuration [7:7] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 NOTUSED0 Reserved. Always write this bit as 1. [8:8] NOTUSED1 Reserved. Always write this bit as 0. [9:9] NOTUSED2 Reserved. Always write this bit as 1. [10:10] NOTUSED3 Reserved. Always write this bit as 1. [11:11] NOTUSED4 Reserved. Always write this bit as 0. [12:12] NOTUSED5 Reserved. Always write these bits as 111. [15:13] RESERVED Reserved [31:16] PDRUNCFG Power-down configuration register 0x238 read-write 0x0000EDF0 0xFFFFFFFF IRCOUT_PD IRC oscillator output power-down [0:0] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 IRC_PD IRC oscillator power-down [1:1] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 FLASH_PD Flash power-down [2:2] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 BOD_PD BOD power-down [3:3] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 ADC_PD ADC power-down [4:4] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 SYSOSC_PD System oscillator power-down [5:5] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 WDTOSC_PD Watchdog oscillator power-down [6:6] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 SYSPLL_PD System PLL power-down [7:7] ENUM POWERED Powered 0 POWERED_DOWN Powered down 1 NOTUSED0 Reserved. Always write this bit as 1. [8:8] NOTUSED1 Reserved. Always write this bit as 0. [9:9] NOTUSED2 Reserved. Always write this bit as 1. [10:10] NOTUSED3 Reserved. Always write this bit as 1. [11:11] NOTUSED4 Reserved. Always write this bit as 0. [12:12] NOTUSED5 Reserved. Always write these bits as 111. [15:13] RESERVED Reserved [31:16] DEVICE_ID Device ID register 0 for parts LPC1100, LPC1100C, LPC1100L. 0x3F4 read-only 0 0x00000000 DEVICEID Part ID numbers for LPC111x 0x041E 502B; 0x2516 D02B = LPC1111FHN33/101 0x2516 D02B = LPC1111FHN33/102 0x0416 502B; 0x2516 902B = LPC1111FHN33/201 0x2516 902B = LPC1111FHN33/202 0x042D 502B; 0x2524 D02B = LPC1112FHN33/101 0x2524 D02B = LPC1112FHN33/102 0x0425 502B; 0x2524 902B = LPC1112FHN33/201 0x2524 902B = LPC1112FHN33/202 0x2524 902B = LPC1112FHI33/202 0x0434 502B; 0x2532 902B = LPC1113FHN33/201 0x2532 902B = LPC1113FHN33/202 0x0434 102B; 0x2532 102B = LPC1113FHN33/301 0x2532 102B = LPC1113FHN33/302 0x0434 102B; 0x2532 102B = LPC1113FBD48/301 0x2532 102B = LPC1113FBD48/302 0x0444 502B; 0x2540 902B = LPC1114FHN33/201 0x2540 902B = LPC1114FHN33/202 0x0444 102B; 0x2540 102B = LPC1114FHN33/301 0x2540 102B = LPC1114FHN33/302 0x2540 102B = LPC1114FHI33/302 0x0444 102B; 0x2540 102B = LPC1114FBD48/301 0x2540 102B = LPC1114FBD48/302 0x2540 102B = LPC11D14FBD100/302 [31:0] SPI1 0x40058000 0 0xFFF registers SPI1 14 GPIO0 GPIO0 GPIO 0x50000000 0 0xFFFFFF registers GPIO0 31 DATA Port n data register for pins PIOn_0 to PIOn_11 0x3FFC read-write 0 0x00000000 DATA0 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [0:0] DATA1 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [1:1] DATA2 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [2:2] DATA3 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [3:3] DATA4 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [4:4] DATA5 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [5:5] DATA6 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [6:6] DATA7 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [7:7] DATA8 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [8:8] DATA9 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [9:9] DATA10 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [10:10] DATA11 Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0. [11:11] RESERVED Reserved [31:12] DIR Data direction register for port n 0x8000 read-write 0x00 0xFFFFFFFF IO0 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [0:0] IO1 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [1:1] IO2 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [2:2] IO3 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [3:3] IO4 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [4:4] IO5 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [5:5] IO6 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [6:6] IO7 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [7:7] IO8 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [8:8] IO9 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [9:9] IO10 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [10:10] IO11 Selects pin x as input or output (x = 0 to 11). 0 = Pin PIOn_x is configured as input. 1 = Pin PIOn_x is configured as output. [11:11] RESERVED Reserved [31:12] IS Interrupt sense register for port n 0x8004 read-write 0x00 0xFFFFFFFF ISENSE0 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [0:0] ISENSE1 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [1:1] ISENSE2 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [2:2] ISENSE3 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [3:3] ISENSE4 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [4:4] ISENSE5 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [5:5] ISENSE6 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [6:6] ISENSE7 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [7:7] ISENSE8 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [8:8] ISENSE9 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [9:9] ISENSE10 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [10:10] ISENSE11 Selects interrupt on pin x as level or edge sensitive (x = 0 to 11). 0 = Interrupt on pin PIOn_x is configured as edge sensitive. 1 = Interrupt on pin PIOn_x is configured as level sensitive. [11:11] RESERVED Reserved [31:12] IBE Interrupt both edges register for port n 0x8008 read-write 0x00 0xFFFFFFFF IBE0 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [0:0] IBE1 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [1:1] IBE2 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [2:2] IBE3 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [3:3] IBE4 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [4:4] IBE5 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [5:5] IBE6 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [6:6] IBE7 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [7:7] IBE8 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [8:8] IBE9 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [9:9] IBE10 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [10:10] IBE11 Selects interrupt on pin x to be triggered on both edges (x = 0 to 11). 0 = Interrupt on pin PIOn_x is controlled through register GPIOnIEV. 1 = Both edges on pin PIOn_x trigger an interrupt. [11:11] RESERVED Reserved [31:12] IEV Interrupt event register for port n 0x800C read-write 0x00 0xFFFFFFFF IEV0 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [0:0] IEV1 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [1:1] IEV2 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [2:2] IEV3 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [3:3] IEV4 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [4:4] IEV5 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [5:5] IEV6 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [6:6] IEV7 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [7:7] IEV8 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [8:8] IEV9 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [9:9] IEV10 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [10:10] IEV11 Selects interrupt on pin x to be triggered rising or falling edges (x = 0 to 11). 0 = Depending on setting in register GPIOnIS (see Table 109), falling edges or LOW level on pin PIOn_x trigger an interrupt. 1 = Depending on setting in register GPIOnIS (see Table 109), rising edges or HIGH level on pin PIOn_x trigger an interrupt. [11:11] RESERVED Reserved [31:12] IE Interrupt mask register for port n 0x8010 read-write 0x00 0xFFFFFFFF MASK0 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [0:0] MASK1 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [1:1] MASK2 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [2:2] MASK3 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [3:3] MASK4 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [4:4] MASK5 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [5:5] MASK6 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [6:6] MASK7 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [7:7] MASK8 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [8:8] MASK9 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [9:9] MASK10 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [10:10] MASK11 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = Interrupt on pin PIOn_x is masked. 1 = Interrupt on pin PIOn_x is not masked. [11:11] RESERVED Reserved [31:12] RIS Raw interrupt status register for port n 0x8014 read-only 0x00 0xFFFFFFFF RAWST0 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [0:0] RAWST1 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [1:1] RAWST2 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [2:2] RAWST3 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [3:3] RAWST4 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [4:4] RAWST5 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [5:5] RAWST6 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [6:6] RAWST7 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [7:7] RAWST8 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [8:8] RAWST9 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [9:9] RAWST10 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [10:10] RAWST11 Raw interrupt status (x = 0 to 11). 0 = No interrupt on pin PIOn_x. 1 = Interrupt requirements met on PIOn_x. [11:11] RESERVED Reserved [31:12] MIS Masked interrupt status register for port n 0x8018 read-only 0x00 0xFFFFFFFF MASK0 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [0:0] MASK1 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [1:1] MASK2 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [2:2] MASK3 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [3:3] MASK4 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [4:4] MASK5 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [5:5] MASK6 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [6:6] MASK7 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [7:7] MASK8 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [8:8] MASK9 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [9:9] MASK10 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [10:10] MASK11 Selects interrupt on pin x to be masked (x = 0 to 11). 0 = No interrupt or interrupt masked on pin PIOn_x. 1 = Interrupt on PIOn_x. [11:11] RESERVED Reserved [31:12] IC Interrupt clear register for port n 0x801C write-only 0x00 0xFFFFFFFF CLR0 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [0:0] CLR1 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [1:1] CLR2 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [2:2] CLR3 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [3:3] CLR4 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [4:4] CLR5 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [5:5] CLR6 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [6:6] CLR7 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [7:7] CLR8 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [8:8] CLR9 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [9:9] CLR10 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [10:10] CLR11 Selects interrupt on pin x to be cleared (x = 0 to 11). Clears the interrupt edge detection logic. This register is write-only. The synchronizer between the GPIO and the NVIC blocks causes a delay of 2 clocks. It is recommended to add two NOPs after the clear of the interrupt edge detection logic before the exit of the interrupt service routine. 0 = No effect. 1 = Clears edge detection logic for pin PIOn_x. [11:11] RESERVED Reserved [31:12] GPIO1 0x50010000 0 0xFFFFFF registers GPIO1 30 GPIO2 0x50020000 0 0xFFFFFF registers GPIO2 29 GPIO3 0x50030000 0 0xFFFFFF registers GPIO3 28