SW00ENB-ZCC Toshiba, SW00ENB-ZCC Datasheet - Page 197

no-image

SW00ENB-ZCC

Manufacturer Part Number
SW00ENB-ZCC
Description
MCU, MPU & DSP Development Tools CASEWORKS
Manufacturer
Toshiba
Datasheet

Specifications of SW00ENB-ZCC

Tool Type
Development Software Support
Core Architecture
870
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
12.4 Operating Modes
12.4.1
12.4.2
X = Don’t care,
X = Don’t care,
TB0RUN
IMC7LL
IMC7LH
TB0FFCR
TB0MOD
TB0RG1
TB0RUN
TB0RUN
P7CR
P7FC
IMC7LL
IMC7LH
TB0FFCR
TB0MOD
TB0RG1
TB0RUN
Note:
16-Bit Interval Timer Mode
interval time is set in Timer Register 1 (TB0RG1), and the INTTB01 interrupt is enabled.
16-Bit Event Counter Mode
(TB0IN0) as events.
capture register under software control. To determine the number of events (i.e., cycles) counted, the
value in the capture register must be read.
In the following example, the TMRB0 is used to accomplish periodic interrupt generation. The
This mode is used to count events by interpreting the rising edges of the external counter clock
The up-counter (UC0) counts up on each rising clock edge. The counter value is be latched into a
Even when the timer is used for event counting, the prescaler must be programmed to run (i.e., the
TB0RUN.TB0PRUN bit must be set to 1).
– = No change
– = No change
7
0
X
X
1
0
*
*
0
7
0
X
X
1
0
*
0
6
0
X
X
1
0
*
*
0
6
0
X
X
1
0
*
0
(**
5
X
1
1
0
1
*
*
X
5
X
1
1
0
1
*
X
4
X
1
1
0
0
*
*
X
4
X
0
1
1
1
0
0
*
X
01, 10, 11)
3
0
0
0
0
*
*
3
0
0
0
0
*
TMP1940CYAF-155
2
0
0
1
0
1
*
*
1
2
0
0
1
0
1
*
1
1
X
0
0
1
*
*
*
X
1
X
0
0
1
0
*
X
0
0
0
0
1
*
*
*
1
0
0
0
0
1
0
*
1
Stops the TMRB0.
Enables INTTB01, sets its priority level to 4 and disables
INTTB00.
Disables the timer flip-flop toggle-trigger.
Selects a prescalar output clock as the timer clock source
and disables the capture function.
Sets the interval time.
(16 bits)
Starts the TMRB0.
Stops the TMRB0.
Configures the P74 pin for input mode.
Enables INTTB01 (interrupt level = 4) and disables INTTB00.
Disables the timer flip-flop toggle-trigger.
Selects the TB0IN0 input as the timer clock source.
Sets a count value (16 bits).
Starts the TMRB0.
TMP1940CYAF

Related parts for SW00ENB-ZCC