ML620Q503/Q504 User's Manual
Chapter 16 Port XT
FEUL620Q504 16–5
16.3 Description of Operation
16.3.1 Input Port Function
In the initial state after system reset, input is disabled for both the pins of the port XT.
When the pins of the port XT are set to the input state by the port XT direction register (PXTDIR), their input
level can be read by reading the port XT data register (PXTD).
16.3.2 Primary Function Other Than Input Port
The low-speed crystal oscillation pin, external clock input pin, or external interrupt is assigned to the port XT as
the primary function other than the input port.
When the XTM1 and XTM0 bits of the frequency control register 0 (FCON2) are set to the crystal oscillation
mode, the low-speed crystal oscillation mode or the external clock input mode is selected.
In the low-speed crystal oscillation mode, both the PXT0 and PXT1 pins are used as the pins for crystal
oscillation.
In the external clock input mode, the PXT1 pin is used as the input pin of the external clock. In this case, the
PXT0 pin is in the input-disabled state.
To use the port XT as the low-speed crystal oscillation pin or the external clock input pin, set the appropriate port
to the input port disabled state.
To use the port XT as the external interrupt input (EXII0 to EXII1), set the appropriate port to the input port
enabled state, and configure the setting to use the port as the external interrupt with the external interrupt mode
register (EXI01SEL).
PXTDIR
setting
FCON2
setting
PXT0 pin
PXT1 pin
Crystal
oscillation
0
1
Crystal
oscillation
Crystal oscillation
External
clock
0
3
Input disabled
External clock
input
Input port/
External
Interrupt
1
2
General-purpose
input pin/
External
Interrupt
General-purpose
input pin/
External Interrupt
Содержание LAPIS SEMICONDUCTOR ML620Q503
Страница 2: ...ML620Q503 Q504 User s Manual Issue Date Apr 16 2015 FEUL620Q504 01...
Страница 18: ...Chapter 1 Overview...
Страница 32: ...Chapter 2 CPU and Memory Space...
Страница 44: ...Chapter 3 Reset Function...
Страница 50: ...Chapter 4 Power Management...
Страница 70: ...Chapter 5 Interrupts...
Страница 134: ...Chapter 6 Clock Generation Circuit...
Страница 161: ...Chapter 7 Time Base Counter...
Страница 170: ...Chapter 8 Timers...
Страница 183: ...Chapter 9 Function Timer FTM...
Страница 231: ...Chapter 10 Watchdog Timer...
Страница 239: ...Chapter 11 Synchronous Serial Port SSIO...
Страница 251: ...Chapter 12 Synchronous Serial Port with FIFO SSIOF...
Страница 283: ...Chapter 13 UART...
Страница 303: ...Chapter 14 UART with FIFO UARTF...
Страница 327: ...Chapter 15 I2 C Bus Interface...
Страница 344: ...Chapter 16 Port XT...
Страница 350: ...Chapter 17 Port 0...
Страница 361: ...Chapter 18 Port 1...
Страница 368: ...Chapter 19 Port2...
Страница 379: ...Chapter 20 Port 3...
Страница 395: ...Chapter 21 Port 4...
Страница 410: ...Chapter 22 Port 5...
Страница 426: ...Chapter 23 Melody Driver...
Страница 439: ...Chapter 24 RC Oscillation type A D Converter RC ADC...
Страница 462: ...Chapter 25 Successive Approximation Type A D Converter SA ADC...
Страница 479: ...Chapter 26 Analog Comparator...
Страница 489: ...Chapter 27 Flash Memory Control...
Страница 505: ...Chapter 28 Voltage Level Supervisor VLS...
Страница 517: ...Chapter 29 LLD circuit...
Страница 519: ...Chapter 30 On Chip Debug Function...
Страница 522: ...Appendixes...
Страница 552: ...Revision History...