4. Functions
48
CNT32-4MT(LPCI)
Preset
Presetting means setting the counter to an arbitrary value.
The value in the preset register is loaded into the counter. Preset methods are listed in the table below,
which are software-selectable.
Table 4.2. Preset
Item Factor
Description
Note
Software command
Possible to preset for all
channels
Always available
Control input signal
(rise)
Control input level change
(Low to High)
Available only when the
control input signal has been
selected for presetting.
Control input signal
(fall)
Control input level change
(High to Low)
Available only when the
control input signal has been
selected for presetting.
Count match(Register0) Count value = Comparison
register 0
Preset method
Count match(Register1) Count value = Comparison
register 1
Software
The counter is presetting by software either for each channel or for all channels.
Rise/fall of an external input signal
The counter is presetting by an external input signal supplied through the control input pin. The control
input pin is used for preset signal input. The rising or falling edge of the signal can be selected.
* When the control input pin is used for presetting, it cannot be used for the counter start/stop,
zero-clear, or general-purpose input.
Count match
The counter is preset when the count value matches the value in comparison register 0 or 1.