TMP92CZ26A

92CZ26A-143

3.7.11 Port G (PG0 to PG5)

PG0 to PG5 are 6-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.
PG2, PG3 can also be used as MX, MY pin for Touch screen interface.
(PG) register is prohibited to access by byte. All the instruction (Arithmetic/Logica l/
Bit operation and rotate/shift instruction) access by byte are prohibited. Word access is
always needed.
Figure 3.7.29 Port G
AD read
Conversion
Result
Register
AD
Converter
Channel
Selector
Port G read PG0(AN0),
PG1(AN1),
PG2(AN2,MX),
PG3(AN3,MY,ADTRG)
PG4(AN4)
PG5(AN5)
A
DTRG
(for PG3 only)
TSICR0<MXEN,
MYEN >
TSICR0<TSI7 >
(PG2,PG3 only)
Internal data bus
Switch for TSI
Typ.10