www.DataSheet4U.com
CHAPTER 6 PORT FUNCTIONS
146
6.3 Port Function Control Registers
The following four types of registers control the ports.
• Port mode registers (PM0, PM1, PM2, PM3, PM5, PM6)
• Pull-up resistor option register (PUO)
• Memory expansion mode register (MM)
• Key return mode register (KRM)
(1) Port mode registers (PM0, PM1, PM2, PM3, PM5, PM6)
These registers are used to set port input/output bit-wise.
PM0, PM1, PM2, PM3, PM5, and PM6 are independently set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM0 to 1FH and other registers to FFH.
When a port pin is used as its alternate function pin, set the port mode register and the output latch according
to Table 6-5.
Cautions
1.
P00 and P04 pins are input-only pins.
2.
Input/output of P40 to P47 pins are specifiable with a memory expansion mode register (MM).
3.
As port 0 is also used for external interrupt request 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 78011BGC AB8 Series
Page 2: ...www DataSheet4U com 2 MEMO ...
Page 8: ...www DataSheet4U com 8 MEMO ...
Page 22: ...www DataSheet4U com 22 MEMO ...
Page 30: ...www DataSheet4U com 30 MEMO ...
Page 34: ...www DataSheet4U com 34 MEMO ...
Page 62: ...www DataSheet4U com CHAPTER 2 OUTLINE µPD78014Y Subseries 62 MEMO ...
Page 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION µPD78014 Subseries 78 MEMO ...
Page 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION µPD78014Y Subseries 94 MEMO ...
Page 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO ...
Page 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO ...
Page 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO ...
Page 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO ...
Page 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 µPD78014 Subseries 318 MEMO ...
Page 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 µPD78014Y Subseries 408 MEMO ...
Page 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO ...
Page 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO ...
Page 502: ...www DataSheet4U com CHAPTER 22 µPD78P014 78P014Y 502 MEMO ...
Page 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO ...