Continuous Count Mode - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Mode of operation
Logic Output mode
Pulse output Mode
Compare Value
Counter
Hardware Trigger
Or
S oftware S tart

23.5.2 Continuous count mode

In the continuous count mode:
1. After counter initial, trigger pulse ( include both HW and SW trigger) clear output
and start counter from zero
2. Before counter reaches compare value, a trigger will stop counter. Then a trigger will
resume counter
3. When counter value is equal and greater than compare value, counter output will
toggle. Counter will restart from zero
4. When pulse output mode is set, only rising edge toggle will generate a pulse.
5. A stop bit is needed to stop counter and reset counter to zero and clear output.
Logic Output mode
Pulse output Mode
Compare Value
Counter
Hardware Trigger
Or
S oftware S tart
S tart
Count
424
This trigger pulse resets the counter
Figure 23-2. Single shot delay mode
Resume
Count
S top
Count
Figure 23-3. Continuous count mode
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Counter S top
Counter reset
Counter reset
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents