Pad No.
Pad Name
I/O Mask Option
Description
71
RES
I
Schmitt trigger reset input. Active low without
pull-high resistor.
72
PWM2/AUD
O
PWM2 CMOS
Output or
AUD Output
Selectable as negative PWM CMOS outputorau-
dio output by mask option. PWM2 share pad with
AUD.
73
PB0/PWM1
I/O
or
O
I/O or
PWM1 CMOS
Output
Selectable as bidirectional input/output or posi-
tive PWM CMOS output by mask option. On
bidirectional input/output mode, software in-
structions determine whether each pad is a
CMOS output or Schmitt trigger input with
pull-high resistor. PB0 shares pad with PWM1.
74
PB7/TMR0
I/O
or
I
I/O or
TMR0 Input
Selectable as bidirectional input/output or
TMR0 input by mask option. On bidirectional
input/output mode, software instructions deter-
mine whether it is a CMOS output or Schmitt
trigger input with pull-high resistor. On TMR0
input mode, it uses Timer/Event Counter 0. Soft-
warecanbeoptionedwithorwithoutpull-highre-
sistor. PB7 shares pad with TMR0.
75
PB6/TMR1/RTF
I/O
or
I
I/O or
TMR1 Input
or
RTF Input
Selectable as bidirectional input/output or
TMR1 input or RTF input by mask option. On
bidirectionalinput/outputmode,softwareinstructions
determine whether it is a CMOS output or
Schmitt trigger input with pull-high resistor. On
TMR1 and RTF intput mode, it uses Timer/Event
Counter1.Softwarecanbeoptionedwithorwith-
out pull-high resister and be option the RTF func-
tion disable or enable. PB6 and TMR1 share pad
with RTF.
76
PB5/SCLK
I/O
I/O or
SCLK Signal
Selectable as bidirectional input/output or serial
interface clock signal by mask option. On
bidirectionalinput/outputmode,softwareinstructions
determine whether it is a CMOS output or
Schmitt trigger input .
Serial I/O interface clock signal.
At Master mode: SCLK should be set as serial
clock output pin and after 8 clock output from
SCLK terminal, clock output is automatically
suspended and SCLK terminal is fixed at a high
level.
At Slave mode: SCLK should be set as serial
clock input pin and after 8 clock input from
SCLK terminal, subsequent clock input are
masked. PB5 shares pad with SLCK
HTG2190
Rev. 1.00
6
June 29, 2001