156
CHAPTER 8 PULSE WIDTH COUNT TIMER (PWC)
8.5
Operation of Interval Timer Function
This section describes the operation of the interval timer function of the pulse width
count timer.
■
Operation of interval timer function
The interval timer function can operate as a continuous timer (reload timer mode), or as a timer that
operates for one timer-cycle and then stops (one-shot mode).
●
Reload timer mode
Figure 8.5-1 "Interval timer function (reload timer mode) settings" shows the settings required to operate in
reload timer mode.
Figure 8.5-1 Interval timer function (reload timer mode) settings
On activation, the RLBR register value is loaded to the counter and the counter starts to count down on the
rising edge of the selected count clock. When the counter value underflows (01
H
--> 00
H
), the PWC inverts
the timer output bit (PCR2: TO) value, reloads the RLBR register value to the counter, and sets the
underflow (01
H
--> 00
H
) interrupt request flag bit (PCR1: UF = "1") on the next rising edge of the count
clock.
Figure 8.5-2 "Operation in reload timer mode" shows the operation in reload timer mode.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PCR1
EN
IE
UF
IR
BF
1
X
X
X
X
X
PCR2
FC
RM
TO
C1
C0
W1
W0
0
0
RLBR
Sets interval time (counter initial value).
: Used bit
: Unused bit
1 : Set "1".
0 : Set "0".
Summary of Contents for MB89950 Series
Page 2: ......
Page 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Page 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Page 236: ...222 CHAPTER 10 UART ...
Page 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Page 310: ...296 APPENDIX ...
Page 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 316: ...302 INDEX ...
Page 318: ......