NEC 78K0 User Manual page 134

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

Cautions 5. When P01 is used as the TI010 valid edge input pin, it cannot be used as the timer output
(TO00), and when used as TO00, it cannot be used as the TI010 valid edge input pin.
Remarks 1. f
: X1 input clock oscillation frequency
X
2. TI000, TI010: 16-bit timer/event counter 00 input pins
3. Figures in parentheses are for operation with f
(5) Port mode register 0 (PM0)
This register sets port 0 input/output in 1-bit units.
When using the P01/TO00/TI010 pin for timer output, clear PM01 and the output latch of P01 to 0.
When using the P01/TO00/TI010 pin for timer input, clear PM01 to 0. At this time, the output latch of P01 may be
0 or 1.
PM0 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM0 to FFH.
134
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Figure 6-9. Format of Port Mode Register 0 (PM0)
Address: FF20H
After reset: FFH
Symbol
7
6
5
PM0
1
1
1
PM0n
P0n pin I/O mode selection (n = 0, 1)
0
Output mode (output buffer on)
1
Input mode (output buffer off)
User's Manual U16227EJ2V0UD
= 10 MHz.
X
R/W
4
3
2
1
0
1
1
1
PM01
PM00

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents