
ML610Q421/ML610Q422/ML610421 User’s Manual
Contents
Contents – 7
Chapter 18
18. Port 1 ............................................................................................................................................................. 18-1
18.1 Overview................................................................................................................................................... 18-1
18.1.1 Features ............................................................................................................................................. 18-1
18.1.2 Configuration .................................................................................................................................... 18-1
18.1.3 List of Pins ........................................................................................................................................ 18-1
18.2 Description of Registers ............................................................................................................................ 18-2
18.2.1 List of Registers ................................................................................................................................ 18-2
18.2.2 Port 1 Data Register (P1D) ............................................................................................................... 18-3
18.2.3 Port 1 Control Registers 0, 1 (P1CON0, P1CON1) .......................................................................... 18-4
18.3 Description of Operation........................................................................................................................... 18-5
18.3.1 Input Port Function ........................................................................................................................... 18-5
18.3.2 Secondary Function .......................................................................................................................... 18-5
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
Summary of Contents for ML610421
Page 1: ...ML610Q421 ML610Q422 ML610421 User s Manual Issue Date Feb 9 2015 FEUL610Q421 06...
Page 15: ...Chapter 1 Overview...
Page 44: ...Chapter 2 CPU and Memory Space...
Page 49: ...Chapter 3 Reset Function...
Page 53: ...Chapter 4 MCU Control Function...
Page 69: ...Chapter 5 Interrupts INTs...
Page 93: ...Chapter 6 Clock Generation Circuit...
Page 110: ...Chapter 7 Time Base Counter...
Page 121: ...Chapter 8 Capture...
Page 129: ...Chapter 9 1 kHz Timer 1kHzTM...
Page 135: ...Chapter 10 Timers...
Page 160: ...Chapter 11 PWM...
Page 172: ...Chapter 12 Watchdog Timer...
Page 180: ...Chapter 13 Synchronous Serial Port...
Page 195: ...Chapter 14 UART...
Page 216: ...Chapter 15 I2 C Bus Interface...
Page 231: ...Chapter 16 NMI Pin...
Page 237: ...Chapter 17 Port 0...
Page 246: ...Chapter 18 Port 1...
Page 252: ...Chapter 19 Port 2...
Page 259: ...Chapter 20 Port 3...
Page 270: ...Chapter 21 Port 4...
Page 282: ...Chapter 22 Port A...
Page 290: ...Chapter 23 Melody Driver...
Page 304: ...Chapter 24 RC Oscillation Type A D Converter...
Page 327: ...Chapter 25 Successive Approximation Type A D Converter...
Page 338: ...Chapter 26 LCD Drivers...
Page 371: ...Chapter 27 Battery Level Detector...
Page 378: ...Chapter 28 Power Supply Circuit...
Page 381: ...Chapter 29 On Chip Debug Function...
Page 384: ...Appendixes...
Page 435: ...Revision History...