Application Examples - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Interrupts

20.7.2 Application examples

BUSCLK
PWTCLK
PWTCNT
0
1 2 3 4 5 6 7 8 9 1011121314151617181920
PWTIN
counter read result: 23 pwtclk
actual pulse width: 23 pwtclk + err
Figure 20-8. Example at PWTCLK is bus clock divided by 1
BUSCLK
PWTCLK
PWTCNT
0
PWTIN
counter read result: 11 pwtclk
actual pulse width: 11 pwtclk + err
Figure 20-9. Example at PWTCLK is Bus Clock divided by 2
358
8 9 10 11 0 1
2 3 4 5 6 7
1
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
212223
0
1 2 3 4 5 6 7 8 9 1011121314151617181920
counter read result: 22 pwtclk
actual pulse width: 22 pwtclk + err
(err < 1 pwtclk + 1 bus clock)
2 3 4 5 6 7
counter read result: 11 pwtclk
actual pulse width: 11 pwtclk + err
(err < 1 pwtclk + 1 bus clock)
2122 0
8 9 1011
0
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents