
ML610471/ML610472/ML610473 User’s Manual
Contents
Contents –4
12.2 Description of Registers ..........................................................................................................................12-2
12.2.1 List of Registers .................................................................................................................................12-2
12.2.2 Port 0 Data Register (P0D) ................................................................................................................12-3
12.2.3 Port 0 Control Registers 0, 1 (P0CON0, P0CON1)...........................................................................12-4
12.2.4 External Interrupt Control Registers 0, 1 (EXICON0, EXICON1) ...................................................12-5
12.2.5 External Interrupt Control Register 2 (EXICON2)............................................................................12-6
12.3 Description of Operation.........................................................................................................................12-7
12.3.1 External Interrupt / Secondary Function............................................................................................12-7
12.3.2 Interrupt Request................................................................................................................................12-7
Chapter 13
13. Port 2 ...........................................................................................................................................................13-1
13.1 Overview...............................................................................................................................................13-1
13.1.1 Features..............................................................................................................................................13-1
13.1.2 Configuration .....................................................................................................................................13-1
13.1.3 List of Pins .........................................................................................................................................13-1
13.2 Description of Registers ..........................................................................................................................13-2
13.2.1 List of Registers .................................................................................................................................13-2
13.2.2 Port 2 Data Register (P2D) ................................................................................................................13-3
13.2.3 Port 2 Control Registers 0, 1 (P2CON0, P2CON1)...........................................................................13-4
13.2.4 Port 2 Mode Register (P2MOD) ........................................................................................................13-5
13.3 Description of Operation.........................................................................................................................13-6
13.3.1 Output Port Function..........................................................................................................................13-6
13.3.2 Secondary Function............................................................................................................................13-6
Chapter 14
14. Port 3 ...........................................................................................................................................................14-1
14.1 Overview...............................................................................................................................................14-1
14.1.1 Features..............................................................................................................................................14-1
14.1.2 Configuration .....................................................................................................................................14-1
14.1.3 List of Pins .........................................................................................................................................14-1
14.2 Description of Registers ..........................................................................................................................14-2
14.2.1 List of Registers .................................................................................................................................14-2
14.2.2 Port 3 Data Register (P3D) ................................................................................................................14-3
14.2.3 Port 3 Direction Register (P3DIR).....................................................................................................14-4
14.2.4 Port 3 Control Registers 0, 1 (P3CON0, P3CON1)...........................................................................14-5
14.2.5 Port 3 Mode Register 0 (P3MOD0) ...................................................................................................14-6
14.3 Description of Operation.........................................................................................................................14-7
14.3.1 Input/Output Port Functions...............................................................................................................14-7
14.3.2 Secondary Function............................................................................................................................14-7
Chapter 15
15. Port 4 ...........................................................................................................................................................15-1
15.1 Overview...............................................................................................................................................15-1
15.1.1 Features..............................................................................................................................................15-1
15.1.2 Configuration .....................................................................................................................................15-1
15.1.3 List of Pins .........................................................................................................................................15-2
15.2 Description of Registers........................................................................................................................15-3
15.2.1 List of Registers .................................................................................................................................15-3
15.2.2 Port 4 Data Register (P4D) ................................................................................................................15-4
15.2.3 Port 4 Direction Register (P4DIR).....................................................................................................15-5
15.2.4 Port 4 Control Registers 0, 1 (P4CON0, P4CON1)...........................................................................15-6
15.2.5 Port 4 Mode Registers 0, 1 (P4MOD0, P4MOD1) ............................................................................15-8
15.3 Description of Operation.......................................................................................................................15-10
15.3.1 Input/Output Port Functions.............................................................................................................15-10