Programming Notes - Epson S1C88650 Technical Manual

Hewlett-packard cmos 8-bit single chip microcomputer technical manual
Table of Contents

Advertisement

5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports)

5.5.6 Programming notes

(1) When changing the input terminal from LOW
level to HIGH with the built-in pull-up resistor,
a delay in the waveform rise time will occur
depending on the time constant of the pull-up
resistor and the load capacitance of the
terminal. It is necessary to set an appropriate
wait time for introduction of an input port. In
particular, special attention should be paid to
key scan for key matrix formation. Make this
wait time the amount of time or more calculated
by the following expression.
Wait time = R
x (C
+ load capacitance on the
IN
IN
R
: Pull up resistance Max. value
IN
C
: Terminal capacitance Max. value
IN
(2) Be sure to disable interrupts before changing
the contents of the CTK0x register. Unnecessary
interrupts may occur if the register is changed
when the corresponding input port interrupts
have been enabled by the interrupt enable
register EK0x.
50
board) x 1.6 [sec]
EPSON
S1C88650 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents