218
TCG cannot be read or written by the CPU. It is initialized to H'00 upon reset.
Note: *
An input capture signal may be generated when TMIG is modified.
2. Input capture register GF (ICRGF)
ICRGF7
ICRGF2
ICRGF1
ICRGF0
ICRGF6
ICRGF5
ICRGF4
ICRGF3
7
6
5
4
3
2
1
0
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
Bit:
Initial value:
Read/Write:
ICRGF is an 8-bit read-only register. When a falling edge of the input capture input signal is
detected, the current TCG value is transferred to ICRGF. If IIEGS in TMG is 1 at this time,
IRRTG is set to 1 in IRR2, and if IENTG in IENR2 is 1, an interrupt request is sent to the CPU.
For details of the interrupt, see 3.3, Interrupts.
To ensure dependable input capture operation, the pulse width of the input capture input signal
must be at least 2
or 2
SUB
(when the noise canceler is not used).
ICRGF is initialized to H'00 upon reset.
3. Input capture register GR (ICRGR)
ICRGR7
ICRGR2
ICRGR1
ICRGR0
ICRGR6
ICRGR5
ICRGR4
ICRGR3
7
6
5
4
3
2
1
0
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
Bit:
Initial value:
Read/Write:
ICRGR is an 8-bit read-only register. When a rising edge of the input capture input signal is
detected, the current TCG value is transferred to ICRGR. If IIEGS in TMG is 1 at this time,
IRRTG is set to 1 in IRR2, and if IENTG in IENR2 is 1, an interrupt request is sent to the CPU.
For details of the interrupt, see 3.3, Interrupts.
To ensure dependable input capture operation, the pulse width of the input capture input signal
must be at least 2
or 2
SUB
(when the noise canceler is not used).
ICRGR is initialized to H'00 upon reset.