tmp89fm46a TOSHIBA Semiconductor CORPORATION, tmp89fm46a Datasheet - Page 188

no-image

tmp89fm46a

Manufacturer Part Number
tmp89fm46a
Description
Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RB002
13.4.5.3
INTTCA0 interrupt
TA0DRB read
Capture value
<TA0CPFB>
or overflow state can be easily judged by status register (TA0SR).
TA0SR read
<TA0OVF>
Interrupt process for single-edge capture
subroutin
handling
TA0SR
TA0SR
Figure 13-8 shows an example of the capture process for INTTCA0 interrupt subroutine. The capture edge
RETI
Capture process
0 (No overflow)
1 (Capture)
1
Overflow
0
No capture
Figure 13-8 Example of capture process
Error handling
Page 169
INTTCA0 interrupt
TA0DRB read
TA0DRA read
Capture value
<TA0CPFB>
<TA0CPFA>
TA0SR read
<TA0OVF>
subroutine
handling
Interrupt process for double-edge capture
TA0SR
TA0SR
TA0SR
RETI
0 (No overflow)
1 (Capture)
1 (Capture)
1
Overflow
0
No Capture
0
No Capture
Error handling
TMP89FM46A

Related parts for tmp89fm46a