Chapter 7 Mode Setting ....................................................................................................... 7-1
7.1 Mode Setting .............................................................................................................................. 7-3
7.2 Mode Pins (MD2 to MD0) ........................................................................................................... 7-4
7.3 Mode Data ................................................................................................................................... 7-5
Chapter 8 I/O Port................................................................................................................. 8-1
8.1 Overview of I/O Port................................................................................................................... 8-3
8.3 Port 0 ........................................................................................................................................... 8-6
8.3.2 Operation of Port 0 ......................................................................................................... 8-9
8.4 Port 1 ......................................................................................................................................... 8-11
8.4.2 Operation of Port 1 ....................................................................................................... 8-14
8.5 Port 3 ......................................................................................................................................... 8-16
8.5.2 Operation of Port 3 ....................................................................................................... 8-19
8.6 Port 4 ......................................................................................................................................... 8-21
8.6.2 Operation of Port 4 ....................................................................................................... 8-24
8.7 Port 5 ......................................................................................................................................... 8-26
8.7.2 Operation of Port 5 ....................................................................................................... 8-29
8.8 Port 6 ......................................................................................................................................... 8-31
8.8.2 Operation of Port 6 ....................................................................................................... 8-34
8.9 Port 7 ......................................................................................................................................... 8-36
8.9.2 Operation of Port 7 ....................................................................................................... 8-39
8.10 Port 8 ..................................................................................................................................... 8-41
8.10.2 Operation of Port 8 ....................................................................................................... 8-44
8.11 Port 9 ..................................................................................................................................... 8-46
8.11.2 Operation of Port 9 ....................................................................................................... 8-49
vi