39
CHAPTER 2 PIN FUNCTION
Preliminary User’s Manual U14581EJ3V0UM00
2.2.3 P20 to P27 (Port 2)
These pins constitute an 8-bit output only port. In addition, they also function as PWM output pins for meter control.
The following operation modes can be specified in 1-bit units.
(1) Port mode
In this mode, P20 to P27 function as an 8-bit output only port. They go into a high-impedance state when 1 is
set to port mode register 2 (PM2).
(2) Control mode
In this mode, P20 to P27 function as PWM output pins (SM11 to SM14 and SM21 to SM24) for meter control.
2.2.4 P30 to P37 (Port 3)
These pins constitute an 8-bit output only port. In addition, they also function as PWM output pins for meter control.
The following operation modes can be specified in 1-bit units.
(1) Port mode
In this mode, P30 to P37 function as an 8-bit output only port. They go into a high-impedance state when 1 is
set to port mode register 3 (PM3).
(2) Control mode
In this mode, P30 to P37 function as PWM output pins (SM31 to SM34 and SM41 to SM44) for meter control.
2.2.5 P40 to P44 (Port 4)
These pins constitute a 5-bit input/output port. In addition, they also function as timer input/output pins.
The following operation modes can be specified in 1-bit units.
(1) Port mode
In this mode, P40 to P44 function as a 5-bit input/output port. They can be set in the input or output port in 1-
bit units with the port mode register 4 (PM4).
(2) Control mode
In this mode, P40 to P44 function as timer input/output pins.
(a) TIO2, TIO3
8-bit timer input/output pins.
(b) TI00 to TI02
These pins input a capture trigger signal to the 16-bit timer capture registers (CR00 to CR02).
Содержание mPD780851
Страница 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Страница 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...