Chapter 7
I/O Port
Control Registers VII - 29
7.2.11 Clock output / Clock output pin control Register
Clock output / Clock output pin control register selects output clock and changes between General IO (GIO) and
clock output.
Clock output / Clock output pin control Register (CLKOUT: 0x03F3E)
bp 76543210
Bit name - - - - CLKOCNT1-0
CLKO
SEL
CLKOEN
At reset00000000
AccessRRRRR/WR/WR/WR/W
bp Bit name Description
7-4 - Always read as 0.
3-2
CLKOCNT
1-0
Select output clock
00: SCLK
01: HCLK
10: SYSCLK
11: Time base timer output clock for RTC
1 CLKOSEL
Select the output pin of clock output function
0: CLKOUTA (P05)
1: CLKOUTB (P57)
0CLKOEN
Select the pin function (GIO or clock output)
0: GIO
1: Clock output (CLKOUTA/CLKOUTB)