HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 694

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 18 Multi-Function Timer Pulse Unit (MTU)
(1)
Figure 18.85 shows an explanatory diagram of the case where an error occurs in normal mode and
operation is restarted in normal mode after re-setting.
1. After a reset, MTU output is low and ports are in the high-impedance state.
2. After a reset, the TMDR setting is for normal mode.
3. For channels 3 and 4, enable output with TOER before initializing the pins with TIOR.
4. Initialize the pins with TIOR. (The example shows initial high output, with low output on
5. Set MTU output with the PFC.
6. The count operation is started by TSTR.
7. Output goes low on compare-match occurrence.
8. An error occurs.
9. Set port output with the PFC and output the inverse of the active level.
10. The count operation is stopped by TSTR.
11. Not necessary when restarting in normal mode.
12. Initialize the pins with TIOR.
13. Set MTU output with the PFC.
14. Operation is restarted by TSTR.
Rev. 4.00 Sep. 14, 2005 Page 644 of 982
REJ09B0023-0400
TIOC*A/PTE[n]
TIOC*B/PTE[n]
MTU module
compare-match occurrence.)
Port output
n = 0 to 15
Operation when Error Occurs during Normal Mode Operation, and Operation is
Restarted in Normal Mode
TIOC*A
TIOC*B
output
Figure 18.85 Error Occurrence in Normal Mode, Recovery in Normal Mode
RESET
1
(normal)
TMDR
2
High-Z
High-Z
TOER
(1)
3
0 out)
TIOR
(1 init
4
(MTU)
PFC
5
TSTR
(1)
6
Match
7
occurs
Error
8
(PORT)
PFC
9
TSTR
(0)
10
(normal)
TMDR
11
0 out)
TIOR
(1 init
12
(MTU)
PFC
13
TSTR
14
(1)

Related parts for HD6417641