73
CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U13420EJ2V0UM00
4.2 Port Configuration
A port consists of the following hardware:
Table 4-2. Port Configuration
Item
Configuration
Control register
Port mode register (PMm: m = 0, 2 to 9)
Pull-up resistor option register (PUm: m = 0, 2 to 9)
Port
Input/output: 60
Pull-up resistor
Software control: 60
4.2.1 Port 0
Port 0 is an 8-bit input/output port with output latch. Input mode/output mode can be specified for pins P00 to P07
in 1-bit units with port mode register 0 (PM0). For pins P00 to P07, an on-chip pull-up resistor can be specified in
6-bit units with pull-up resistor option register 0 (PU0).
This port can also be used as an external interrupt request input.
RESET input sets port 0 to input mode.
Figure 4-2 shows a block diagram of port 0.
Caution
Because port 0 also serves as an external interrupt request input, when the port function output
mode is specified and the output level is changed, the interrupt request flag is set. Thus, when
the output mode is used, set the interrupt mask flag to 1.
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...