165
CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)
8.10
Program Example for Timer Function of Pulse Width Count
Timer
This section gives two program examples for the timer function of the pulse width
count timer.
■
Program example 1 for interval timer function (reload timer mode)
●
Processing description
•
Generates repeated interval timer interrupts at 3 ms intervals (reload timer mode).
•
The TO bit will be inverted after each interval time cycle. The initial value of TO bit is "0" level.
•
The following shows the RLBR register value that results in an interval time of approximately 3 ms for
a 5 MHz main clock oscillation frequency. The count clock is 32 t
inst
(t
inst
: Instruction cycle).
RLBR register value = 3 ms/(32 x 4/5 MHz) = 117.2 (075
H
)
Содержание MB89950 Series
Страница 2: ......
Страница 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Страница 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Страница 236: ...222 CHAPTER 10 UART ...
Страница 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Страница 310: ...296 APPENDIX ...
Страница 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 316: ...302 INDEX ...
Страница 318: ......