Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 36 of 547
NXP Semiconductors
UM10398
Chapter 3: LPC111x/LPC11Cxx System configuration (SYSCON)
3.5.21 CLKOUT clock source select register
This register configures the clkout_clk signal to be output on the CLKOUT pin. All three
oscillators and the main clock can be selected for the clkout_clk clock.
The CLKOUTCLKUEN register (see Section 3.5.22
) must be toggled from LOW to HIGH
for the update to take effect.
Remark: When switching clock sources, both clocks must be running before the clock
source is updated.
3.5.22 CLKOUT clock source update enable register
This register updates the clock source of the CLKOUT pin with the new clock after the
CLKOUTCLKSEL register has been written to. In order for the update to take effect at the
input of the CLKOUT pin, first write a zero to the CLKCLKUEN register and then write a
one to CLKCLKUEN.
Remark: When switching clock sources, both clocks must be running before the clock
source is updated.
Table 27. WDT clock divider register (WDTCLKDIV, address 0x4004 80D8) bit description
Bit Symbol Description Reset value
7:0 DIV WDT clock divider values
0: Disable WDCLK.
1: Divide by 1.
to
255: Divide by 255.
0x00
31:8 - Reserved 0x00
Table 28. CLKOUT clock source select register (CLKOUTCLKSEL, address 0x4004 80E0) bit
description
Bit Symbol Value Description Reset
value
1:0 SEL CLKOUT clock source 0x00
0x0 IRC oscillator
0x1 System oscillator
0x2 Watchdog oscillator
0x3 Main clock
31:2 - - Reserved 0x00
Table 29. CLKOUT clock source update enable register (CLKOUTUEN, address 0x4004
80E4) bit description
Bit Symbol Value Description Reset value
0 ENA Enable CLKOUT clock source update 0x0
0 No change
1 Update clock source
31:1 - - Reserved 0x00