Electronics America Computer Hardware User Manual
- ix -
Contents
Fig. No. Title, Page
5-25 Connection of Pull-Up Resistors (Port 4) ...................................................................................79
5-26 Example of Driving an LED Directly ...........................................................................................79
5-27 Block Diagram of Port 5................................................................................................................80
5-28 Port 5 Mode Register Format.......................................................................................................81
5-29 Port Specified as an Output Port.................................................................................................81
5-30 Port Specified as an Input Port ....................................................................................................82
5-31 Pull-Up-Resistor-Option Register Format...................................................................................82
5-32 Connection of Pull-Up Resistors (Port 5) ...................................................................................83
5-33 Example of Driving an LED Directly ...........................................................................................83
5-34 Block Diagram of P60 through P63 (Port 6) ...............................................................................85
5-35 Block Diagram of P64 and P65 (Port 6) ......................................................................................86
5-36 Block Diagram of P66 (Port 6)......................................................................................................87
5-37 Block Diagram of P67 (Port 6)......................................................................................................88
5-38 Port 6 Mode Register Format.......................................................................................................89
5-39 Port Specified as an Output Port.................................................................................................90
5-40 Port Specified as an Input Port ....................................................................................................90
5-41 Pull-Up-Resistor-Option Register Format...................................................................................91
5-42 Connection of Pull-Up Resistors (Port 6) ...................................................................................91
5-43 Block Diagram of Port 7................................................................................................................92
5-44 Port Specified as an Input Port ....................................................................................................93
6-1 Block Diagram of the Real-Time Output Port ............................................................................96
6-2 Real-Time Output Port Control Register (RTPC) Format ..........................................................97
6-3 Configuration of the Buffer Registers (P0H and P0L) ...............................................................97
6-4 Real-Time Output Port Operation Timing ..................................................................................100
6-5 Real-Time Output Port Operation Timing (Controlling 2 Channels
Independently of Each Other) ......................................................................................................101
6-6 Real-Time Output Port Operation Timing ..................................................................................102
6-7 Contents of the Control Register for the Real-Time Output Function.................................... 103
6-8 Real-Time Output Function Setting Procedure .........................................................................103
6-9 Interrupt Request Handling When the Real-Time Output Function Is Used .........................104
7-1 Block Diagrams of Timer/Counter Units ....................................................................................108
7-2 Block Diagram of 16-Bit Timer/Counter .....................................................................................110
7-3 Format of Timer Control Register 0 (TMC0) ..............................................................................112
7-4 Format of Capture/Compare Control Register 0 (CRC0) ..........................................................112
7-5 Format of Timer Output Control Register (TOC) .......................................................................113
7-6 Basic Operation of 16-Bit Timer 0 (TM0)....................................................................................114
7-7 TM0 Cleared by a Coincidence with Compare Register (CR01) ..............................................115
7-8 Clear Operation When the CE0 Bit Is Reset to 0 .......................................................................116
7-9 Compare Operation .......................................................................................................................117
7-10 TM0 Cleared After a Coincidence Is Detected ...........................................................................118
7-11 Capture Operation .........................................................................................................................119
7-12 Toggle Output Operation .............................................................................................................121
7-13 PWM Pulse Output ........................................................................................................................122
7-14 Example of PWM Output Using TM0 .........................................................................................123
7-15 PWM Output When CR00 = FFFFH ..............................................................................................123










