Download Print this page

Toshiba TLCS-900/H1 Series Manual page 100

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

3.5.13
Port G (PG0 to PG3)
PG0 to PG3 are 4-bit input ports and can also be used as the analog input pins for the
internal AD converter. PG3 can also be used as the ADTRG pin for the AD converter.
PG2 and PG3 can also be used as the MX and MY pins for a touch screen interface.
PG
Bit symbol
(0040H)
Read/Write
Reset State
Note: The input channel selection of the AD converter and the permission for ADTRG input are set by AD converter mode
register ADMOD1.
PGDR
Bit symbol
(0090H)
Read/Write
Reset State
Function
Port G read
Conversion
result
register
AD read
ADTRG
(only for PG3)
Figure 3.5.36 Port G
Port G Register
7
6
5
Port G Drive Register
7
6
5
Figure 3.5.37 Register for Port G
92CH21-98
AD
Channel
converter
selector
Switch for TSI
typ. 20 Ω
4
3
PG2
Data from external port
4
3
PG3D
PG2D
R/W
1
Input/Output buffer drive
register for standby mode
TMP92CH21
PG0 (AN0),
PG1 (AN1),
PG2 (AN2, MX),
PG3 (AN3, MY,
ADTRG
(Only for PG2, PG3)
TSICR0<MXEN, MYEN>
TSICR0<TSI7>
2
1
0
PG2
PG1
PG0
R
2
1
0
1
2009-06-19
)

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21