tmp88cs38ng TOSHIBA Semiconductor CORPORATION, tmp88cs38ng Datasheet - Page 78

no-image

tmp88cs38ng

Manufacturer Part Number
tmp88cs38ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TC3 pin input
Up counter
Timer register
INTTC3 interrupt
(3) Capture mode
Note: Capture of the TC3 pin input requires at least 1 cycle of the selected source clock.
(Non-inverting input)
this mode, which can be used in decoding the remote control signals or distinguishing
AC 50/60 Hz, etc. The TC3 pin input can have its polarity changed between normal and
inverse by using the TC3ES Register.
(Inverting input)
a.
b.
In this mode, the pulse width, period and duty of the TC3 pin input are measured in
TC3ES
If TC3ES = “0” (Non-inverting input)
source clock.
loaded into TC3DRB. When the rising edge is detected, the counter value is loaded
into TC3DRA, and the counter is cleared, generating an INTTC3 interrupt.
capture to TC3DRB and an INTTC3 interrupt occurs only on capture to TC3DRA.
If a read instruction is executed for TC3DRB, the value that exists at the end of
the previous capture (immediately after a reset, “FF”) is read.
If TC3ES = “1” (Inverse input)
clock.
loaded into TC3DRB. When the falling edge is detected, the counter value is
loaded into TC3DRA, and the counter is cleared, generating an INTTC3 interrupt.
counter value is not captured into TC3DRB and an INTTC3 interrupt occurs only
on capture to TC3DRA. If a read instruction is executed for TC3DRB, the value
that exists at end of the previous capture (immediately after a reset, “FF”) is read.
clock period selected by TC3CR <TC3CK>.
“0”
“1”
Count start
0
Once command operation has started, the counter free-runs on an internal
When the falling edge of the TC3 pin input is detected, the counter value is
If the rising edge is detected right after command operation has started, no
Once command operation has started, the counter free-runs on an internal
When the rising edge of the TC3 pin input is detected, the counter value is
If the falling edge is detected right after command operation has started, the
The minimum acceptable input pulse width is equal to the length of one source
Table 2.7.3 TC3INV-based Capture Input Edges
Figure 2.7.4 Event Counter Mode Timing Chart
1
2
Capture into TC3DRB
Falling edge
3
Rising edge
88CS38-78
n
Match detect
n − 1
Capture into TC3DRA
n
0
Counter clear
1
TMP88CS38/CM38A/CP38A
Falling edge
2
Rising edge
3
INTTC3 Interrupt
2007-09-12

Related parts for tmp88cs38ng