Toshiba TLCS-900 Computer Hardware User Manual


 
TMP92CM22
2007-02-16
92CM22-77
3.5.12 Port G (PG0 to PG7)
Port G is 8-bit input port and can also be used as the analog input pins for the internal
AD converter. PG3 can also be used as ADTRG pin for the AD converter.
Figure 3.5.30 Port G
Port G Register
7 6 5 4 3 2 1 0
Bit symbol PG7 PG6 PG5 PG4 PG3 PG2 PG1 PG0
Read/Write R
After reset Data from external port
Note: The input channel selection of AD converter and the permission of ADTRG input are set by AD converter mode
register ADMOD1.
Figure 3.5.31 Register for Port G
Internal data bus
ADTRG
(only PG3)
PG read
Port G
PG0 to PG7
(AN0 to AN7)
AD
converter
Channel
selector
AD read
Convertion
result
register
PG
(0040H)