contents
iv
3-3-8 AC Zero-Cross Detector ........................................................................ III - 54
Chapter 4 I/O Ports
4-1 Overview .................................................................................................................. IV - 2
4-1-1 I/O Port Diagram ...................................................................................... IV - 2
4-1-2 I/O Port Status at Reset ........................................................................... IV - 3
4-1-3 Control Registers..................................................................................... IV - 4
4-2 Port 0 ........................................................................................................................ IV - 6
4-2-1 Description .............................................................................................. IV - 6
4-2-2 Registers ................................................................................................. IV - 7
4-2-3 Block Diagram ......................................................................................... IV - 8
4-3 Port 1 ....................................................................................................................... IV - 12
4-3-1 Description ............................................................................................. IV - 12
4-3-2 Registers ................................................................................................ IV - 13
4-3-3 Block Diagram ........................................................................................ IV - 16
4-4 Port 2 ....................................................................................................................... IV - 17
4-4-1 Description ............................................................................................. IV - 17
4-4-2 Registers ................................................................................................ IV - 18
4-4-3 Block Diagram ........................................................................................ IV - 19
4-5 Port 5 ....................................................................................................................... IV - 21
4-5-1 Description ............................................................................................. IV - 21
4-5-2 Registers ................................................................................................ IV - 22
4-5-3 Block Diagram ........................................................................................ IV - 23
4-6 Port 6 ....................................................................................................................... IV - 26
4-6-1 Description ............................................................................................. IV - 26
4-6-2 Registers ................................................................................................ IV - 27
4-6-3 Block Diagram ........................................................................................ IV - 29
4-7 Port 7 ....................................................................................................................... IV - 30
4-7-1 Description ............................................................................................. IV - 30
4-7-2 Registers ................................................................................................ IV - 31
4-7-3 Block Diagram ........................................................................................ IV - 33
4-8 Port 8 ....................................................................................................................... IV - 37
4-8-1 Description ............................................................................................. IV - 37
4-8-2 Registers ................................................................................................ IV - 38
4-8-3 Block Diagram ........................................................................................ IV - 40
4-9 Port A ...................................................................................................................... IV - 41
4-9-1 Description ............................................................................................. IV - 41
4-9-2 Registers ................................................................................................ IV - 42
4-9-3 Block Diagram ........................................................................................ IV - 44
4-10 Real Time Output Control (Port 1) ........................................................................... IV - 45