Renesas R8C/Tiny Series Manual Página 59

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 199
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 58
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 49 of 180
REJ09B0019-0120
Figure 10.14 TCC0 Register and TCC1 Register
______
10.2.4 INT3 Interrupt
_____ ______
INT3 interrupts are triggered by INT3 inputs. The TCC07 bit in the TCC0 register should be se to 0
______ _______
(INT3). The INT3 input has a digital filter which can be sampled by one of three sampling clocks. The
sampling clock is selected using the TCC11 to TCC10 bits in the TCC1 register. The IR bit in the
INT3IC register is set to 1 (interrupt requested) when the sampled input level matches three times.
The P3_3 bit in the P3 register indicates the previous value before filtering regardless of values set in
the TCC11 to TCC10 bits.
_______
The INT3 pin is shared with the TCIN pin.
_____
When setting the TCC07 bit to 1 (fRING128), INT3 interrupts are triggered by fRING128 clock. The IR
bit in the INT3IC register is set to 1 (interrupt requested) every fRING128 clock cycle or every half
fRING128 clock cycle.
Figure 10.14 shows the TCC0 and TCC1 registers.
10.2 INT Interrupt
T
i
m
e
r
C
c
o
n
t
r
o
l
r
e
g
i
s
t
e
r
0
S
y
m
b
o
lA
d
d
r
e
s
sA
f
t
e
r
r
e
s
e
t
T
C
C
00
0
9
A
1
6 0
01
6
B
i
t
n
a
m
e
F
u
n
c
t
i
o
nB
i
t
s
y
m
b
o
l
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
0
0
:
f1
0
1
:
f8
1
0
:
f3
2
1
1
:
A
v
o
i
d
t
h
i
s
s
e
t
t
i
n
g
T
C
C
0
4
T
C
C
0
2
T
C
C
0
1
T
C
C
0
0
T
C
C
0
3
C
a
p
t
u
r
e
c
o
n
t
r
o
l
b
i
t
T
i
m
e
r
C
c
o
u
n
t
s
o
u
r
c
e
s
e
l
e
c
t
b
i
t
(1)
0
:
C
a
p
t
u
r
e
d
i
s
a
b
l
e
d
1
:
C
a
p
t
u
r
e
e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