ML610Q431/ML610Q432 User’s Manual
Contents
Contents – 7
18.2.2
Port 0 Data Register (P0D) ............................................................................................................... 18-3
18.2.3
Port 0 Control Registers 0, 1 (P0CON0, P0CON1) ..........................................................................18-4
18.2.4
External Interrupt Control Registers 0, 1 (EXICON0, EXICON1)................................................... 18-5
18.2.5
External Interrupt Control Register 2 (EXICON2) ........................................................................... 18-6
18.3 Description of Operation........................................................................................................................... 18-7
18.3.1
External Interrupt/Capture Function ................................................................................................. 18-7
18.3.2
Interrupt Request............................................................................................................................... 18-7
Chapter 19
19. Port 1............................................................................................................................................................. 19-1
19.1 Overview................................................................................................................................................... 19-1
19.1.1
Features............................................................................................................................................. 19-1
19.1.2
Configuration .................................................................................................................................... 19-1
19.1.3
List of Pins ........................................................................................................................................ 19-1
19.2 Description of Registers............................................................................................................................ 19-2
19.2.1
List of Registers ................................................................................................................................ 19-2
19.2.2
Port 1 Data Register (P1D) ............................................................................................................... 19-3
19.2.3
Port 1 Control Registers 0, 1 (P1CON0, P1CON1) ..........................................................................19-4
19.3 Description of Operation........................................................................................................................... 19-5
19.3.1
Input Port Function ........................................................................................................................... 19-5
19.3.2
Secondary Function .......................................................................................................................... 19-5
Chapter 20
20. Port 2............................................................................................................................................................. 20-1
20.1 Overview................................................................................................................................................... 20-1
20.1.1
Features............................................................................................................................................. 20-1
20.1.2
Configuration .................................................................................................................................... 20-1
20.1.3
List of Pins ........................................................................................................................................ 20-1
20.2 Description of Registers............................................................................................................................ 20-2
20.2.1
List of Registers ................................................................................................................................ 20-2
20.2.2
Port 2 Data Register (P2D) ............................................................................................................... 20-3
20.2.3
Port 2 control registers 0, 1 (P2CON0, P2CON1) ............................................................................ 20-4
20.2.4
Port 2 Mode Register (P2MOD) ....................................................................................................... 20-5
20.3 Description of Operation........................................................................................................................... 20-6
20.3.1
Output Port Function ........................................................................................................................ 20-6
20.3.2
Secondary Function .......................................................................................................................... 20-6
Chapter 21
21. Port 3............................................................................................................................................................. 21-1
21.1 Overview................................................................................................................................................... 21-1
21.1.1
Features............................................................................................................................................. 21-1
21.1.2
Configuration .................................................................................................................................... 21-1
21.1.3
List of Pins ........................................................................................................................................ 21-2
21.2 Description of Registers............................................................................................................................ 21-3
21.2.1
List of Registers ................................................................................................................................ 21-3
21.2.2
Port 3 data register (P3D) ................................................................................................................. 21-4
21.2.3
Port 3 Direction Register (P3DIR).................................................................................................... 21-5
21.2.4
Port 3 control registers 0, 1 (P3CON0, P3CON1) ............................................................................ 21-6
21.2.5
Port 3 mode registers 0, 1 (P3MOD0, P3MOD1) .............................................................................21-8
21.3 Description of Operation......................................................................................................................... 21-10
21.3.1
Input/Output Port Functions ........................................................................................................... 21-10
21.3.2
Secondary and Tertiary Functions .................................................................................................. 21-10
Chapter 22
22. Port 4............................................................................................................................................................. 22-1