![NEC mPD780065 Series Preliminary User'S Manual Download Page 84](http://html.mh-extra.com/html/nec/mpd780065-series/mpd780065-series_preliminary-users-manual_249264084.webp)
84
CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U13420EJ2V0UM00
4.3 Port Function Control Registers
The following two types of registers control the ports.
•
Port mode registers (PM0, PM2 to PM9)
•
Pull-up resistor option register (PU0, PU2 to PU9)
(1) Port mode registers (PM0, PM2 to PM9)
These registers are used to set port input/output in 1-bit units.
PM0 and PM2 to PM9 are independently set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets registers to FFH.
Caution
As port 0 has an alternate function as an external interrupt input, when the port function output
mode is specified and the output level is changed, the interrupt request flag is set. When the
output mode is used, therefore, the interrupt mask flag should be set to 1 beforehand.
Summary of Contents for mPD780065 Series
Page 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Page 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...