Toshiba H1 Series Data Book page 303

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

(4) Capture registers (TB0CP0H/L, TB0CP1H/L)
These 16-bit registers are used to latch the values in the up counter (UC10).
Data in the capture registers should be read all 16 bits. For example, using a 2-byte
data load instruction or two 1-byte data load instructions. The least significant byte is
read first, followed by the most significant byte.
(during capture is read, capture operation is prohibited. In that case, the lower 8
bits should be read first, followed by the 8 bits.)
The addresses of the capture registers are as follows;
TMRB0
TB0CP0H/L
Upper 8 bits
(TB0CP0H)
118DH
TMRB1
TB1CP0H/L
Upper 8 bits
(TB1CP0H)
119DH
The capture registers are read-only registers and thus cannot be written to.
(5) Capture input and external interrupt control
This circuit controls the timing to latch the value of up-counter UC10 into
TB0CP0H/L and TB0CP1H/L, and generates external interrupt.The latch timing of
capture register and selection of edge for external interrupt is controlled by
TB0MOD<TB0CPM1:0>.
The value in the up-counter (UC10) can be loaded into a capture register by
software. Whenever 0 is written to TB0MOD<TB0CP0I>, the current value in the up
counter (UC10) is loaded into capture register TB0CP0H/L. It is necessary to keep the
prescaler in RUN mode (e.g., TB0RUN<TB0PRUN> must be held at a value of 1).
Lower 8 bits
Upper 8 bits
(TB0CP0L)
(TB0CP1H)
118CH
118FH
Lower 8 bits
Upper 8 bits
(TB1CP0L)
(TB1CP1H)
119CH
119FH
92CZ26A-300
TB0CP1H/L
Lower 8 bits
(TB0CP1L)
118EH
TB1CP1H/L
Lower 8 bits
(TB1CP1L)
119EH
TMP92CZ26A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents