RA in mode 1, T3 Underflow in mode 2, T3A
capture edge in mode 3)
10.0 Functional Description
(Continued)
T3ENA
Timer T3 Interrupt Enable for Timer Underflow
or T3A Input capture edge
flags. In addition to the SC and R/C instructions, ADC,
SUBC, RRC and RLC instructions affect the Carry and Half
Carry flags.
T3PNDB Timer T3 Interrupt Pending Flag for T3B cap-
ture edge
T3ENB
Timer T3 Interrupt Enable for T3B Input capture
edge
10.9.3 ICNTRL Register (Address X'00E8)
Unused LPEN T0PND
Bit 7
T0EN µWPND µWEN
T1PNDB
T1ENB
Bit 0
10.9.6 HSTCR Register (Address X'00AF)
T2IDLE
Bit 7
Reserved
T3HS
T2HS
Bit 0
The ICNTRL register contains the following bits:
LPEN Port Interrupt Enable
Wake-up/Interrupt)
T0PND Timer T0 Interrupt pending
T0EN Timer T0 Interrupt Enable (Bit 12 toggle)
µWPND MICROWIRE/PLUS interrupt pending
µWEN Enable MICROWIRE/PLUS interrupt
L
(Multi-Input
The HSTCR register contains the following bits:
T2IDLE Allows T2 to run while in Idle Mode.
T3HS Places Timer T3 in High Speed Mode.
T2HS Places Timer T2 in High Speed Mode.
10.9.7 ITMR Register (Address X'00CF)
T1PNDB Timer T1 Interrupt Pending Flag for T1B capture
edge
CCKS
LSON HSON
Bit 7
DCEN
RSVD
ITSEL2
ITSEL1 ITSEL0
Bit 0
EL
T1ENB Timer T1 Interrupt Enable for T1B Input capture
edge
The ITMR register contains the following bits:
10.9.4 T2CNTRL Register (Address X'00C6)
LSON
HSON
DCEN
Turns the low speed oscillator on or off.
T2C3
Bit 7
T2C2
T2C1
T2C0
T2PNDA T2ENA T2PNDB T2ENB
Bit 0
Turns the high speed oscillator on or off.
Selects the high speed oscillator or the low
speed oscillator as the Idle Timer Clock.
The T2CNTRL register contains the following bits:
CCKSEL Selects the high speed oscillator or the low
speed oscillator as the primary CPU clock.
T2C3
T2C2
T2C1
T2C0
Timer T2 mode control bit
Timer T2 mode control bit
Timer T2 mode control bit
RSVD
This bit is reserved and must be 0.
ITSEL2 Idle Timer period select bit.
ITSEL1 Idle Timer period select bit.
ITSEL0 Idle Timer period select bit.
Timer T2 Start/Stop control in timer
modes 1 and 2, Timer T2 Underflow Interrupt
Pending Flag in timer mode 3
T2PNDA Timer T2 Interrupt Pending Flag (Autoreload
RA in mode 1, T2 Underflow in mode 2, T2A
capture edge in mode 3)
10.9.8 ENAD Register (Address X'00CB)
ADCH3 ADCH2 ADCH1 ADCH0 ADMOD
MUX
PSC
ADBSY
Busy
T2ENA
Timer T2 Interrupt Enable for Timer Underflow
or T2A Input capture edge
Channel Select
Mode
Select
Mux Out Prescale
Bit 7
Bit 0
T2PNDB Timer T2 Interrupt Pending Flag for T2B cap-
ture edge
The ENAD register contains the following bits:
ADCH3 ADC channel select bit
ADCH2 ADC channel select bit
ADCH1 ADC channel select bit
ADCH0 ADC channel select bit
T2ENB
Timer T2 Interrupt Enable for T2B Input capture
edge
10.9.5 T3CNTRL Register (Address X'00B6)
T3C3
Bit 7
T3C2
T3C1
T3C0
T3PNDA T3ENA T3PNDB T3ENB
Bit 0
ADMOD Places the ADC in single-ended or differential
mode.
The T3CNTRL register contains the following bits:
MUX
PSC
Enables the ADC multiplexor output.
T3C3
T3C2
T3C1
T3C0
Timer T3 mode control bit
Timer T3 mode control bit
Timer T3 mode control bit
Switches the ADC clock between a divide by one
or a divide by sixteen of MCLK.
ADBSY Signifies that the ADC is currently busy perform-
ing a conversion. When set by the user, starts a
conversion.
Timer T3 Start/Stop control in timer
modes 1 and 2, Timer T3 Underflow Interrupt
Pending Flag in timer mode 3
T3PNDA Timer T3 Interrupt Pending Flag (Autoreload
23
www.national.com