ML610Q421/ML610Q422 User’s Manual
Contents
Contents – 7
Chapter 19
19. Port 2 ................................................................................................................................................................ 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 2 Data Register (P2D) .................................................................................................................. 19-3
19.2.3
Port 2 control registers 0, 1 (P2CON0, P2CON1) .............................................................................. 19-4
19.2.4
Port 2 Mode Register (P2MOD).......................................................................................................... 19-5
19.3 Description of Operation.............................................................................................................................. 19-6
19.3.1
Output Port Function ........................................................................................................................... 19-6
19.3.2
Secondary Function ............................................................................................................................. 19-6
Chapter 20
20. Port 3 ................................................................................................................................................................ 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-2
20.2 Description of Registers............................................................................................................................... 20-3
20.2.1
List of Registers ................................................................................................................................... 20-3
20.2.2
Port 3 data register (P3D) .................................................................................................................... 20-4
20.2.3
Port 3 Direction Register (P3DIR) ...................................................................................................... 20-5
20.2.4
Port 3 control registers 0, 1 (P3CON0, P3CON1) .............................................................................. 20-6
20.2.5
Port 3 mode registers 0, 1 (P3MOD0, P3MOD1)............................................................................... 20-8
20.3 Description of Operation............................................................................................................................ 20-10
20.3.1
Input/Output Port Functions .............................................................................................................. 20-10
20.3.2
Secondary and Tertiary Functions..................................................................................................... 20-10
Chapter 21
21. Port 4 ................................................................................................................................................................ 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 4 Data Register (P4D) .................................................................................................................. 21-4
21.2.3
Port 4 Direction Register (P4DIR) ...................................................................................................... 21-5
21.2.4
Port 4 Control Registers 0, 1 (P4CON0, P4CON1) ............................................................................ 21-6
21.2.5
Port 4 Mode Registers 0, 1 (P4MOD0, P4MOD1) ............................................................................. 21-8
21.3 Description of Operation............................................................................................................................ 21-11
21.3.1
Input/Output Port Functions .............................................................................................................. 21-11
21.3.2
Secondary and Tertiary Functions..................................................................................................... 21-11
Chapter 22
22. Port A ............................................................................................................................................................... 22-1
22.1 Overview ...................................................................................................................................................... 22-1
22.1.1
Features ................................................................................................................................................ 22-1
22.1.2
Configuration ....................................................................................................................................... 22-1
22.1.3
List of Pins ........................................................................................................................................... 22-1
22.2 Description of Registers............................................................................................................................... 22-2