Operation In Tio Noise Processing Input Mode - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10

10.4.10 Operation in TIO Noise Processing Input Mode

In noise processing input mode, the timer detects the status of an input signal that it remained in the
same state for over a predetermined time.
In noise processing input mode, the counter is started by entering a high or low-level signal from an
external device and if the signal remains in the same state for over a predetermined time before the
counter underflows, the counter stops after generating an interrupt. If the valid-level signal being
applied turns to an invalid level before the counter underflows, the counter temporarily stops
counting and when a valid-level signal is entered again, it is reloaded with the initial count and
restarts counting. The valid count value is (reload 0 register set value + 1).
The timer stops at the same time the counter underflows or count is disabled by writing to the
enable bit.
An interrupt can be generated by a counter underflow.
Count clock
Enable bit
External input
(noise processing)
H'FFFF
Counter
H'0000
Reload 0 register
TIO interrupt
Note: This diagram does not show detail timing information.
Figure 10.4.10 Typical Operation in Noise Processing Input Mode
Enabled
(by writing to enable bit
or by external input)
Invalid
H'A000
H'A000
10-129
MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-related 16-bit Timer)
Invalid
Valid signal width
TIO interrupt by
Disabled
by underflow
underflow
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents