NEC 78K0 Series User Manual page 125

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

Advertisement

5.3 Registers Controlling Port Function
Port functions are controlled by the following four types of registers.
• Port mode registers (PM0 to PM7, PM12, PM14)
• Port registers (P0 to P7, P12 to P14)
• Pull-up resistor option registers (PU0, PU1, PU3 to PU5, PU7, PU12, PU14)
• A/D port configuration register (ADPC)
(1) Port mode registers (PM0 to PM7, PM12, and PM14)
These registers specify input or output mode for the port in 1-bit units.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH.
When port pins are used as alternate-function pins, set the port mode register by referencing 5.5 Settings of
Port Mode Register and Output Latch When Using Alternate Function.
CHAPTER 5 PORT FUNCTIONS
Preliminary User's Manual U17260EJ3V1UD
125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents