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.
Содержание 78011BGC AB8 Series
Страница 2: ...www DataSheet4U com 2 MEMO ...
Страница 8: ...www DataSheet4U com 8 MEMO ...
Страница 22: ...www DataSheet4U com 22 MEMO ...
Страница 30: ...www DataSheet4U com 30 MEMO ...
Страница 34: ...www DataSheet4U com 34 MEMO ...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE µPD78014Y Subseries 62 MEMO ...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION µPD78014 Subseries 78 MEMO ...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION µPD78014Y Subseries 94 MEMO ...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO ...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO ...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO ...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO ...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 µPD78014 Subseries 318 MEMO ...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 µPD78014Y Subseries 408 MEMO ...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO ...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO ...
Страница 502: ...www DataSheet4U com CHAPTER 22 µPD78P014 78P014Y 502 MEMO ...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO ...