535
CHAPTER 25 PWC TIMER (ONLY MB90485 SERIES)
25.5.4 Start and Stop of Timer/Pulse Width Measurement
Start/restart/stop/forcible stop of each operation are controlled by setting the PWCSR:
bit15, bit14 (STRT, STOP bits).
■
Start and Stop of timer/pulse width measurement
Start/restart of the timer/pulse width measurement is initiated by setting the STRT bit to "0",
while a forcible stop is initiated by setting the STOP bit to "0". However, this is only effective if
the values are complementary to each other. When using instructions other than bit operation
instructions (such as byte instructions), be sure to set only the bit combinations indicated in
Table 25.5-3.
When using bit operation instructions (the clear bit-operation instruction), special care is not
required, since the hardware will ensure that only the combinations of values indicated in Table
25.5-3 are written.
■
Operation after measurement start
The operation of timer mode and pulse width measurement mode after measurement start are
as follows.
❍
Timer mode
Count operation starts immediately.
❍
Pulse width measurement mode
Counting will not start until the measurement start edge is detected. After the measurement start
edge is detected, the 16-bit up-count timer is cleared to "0000
B
" to start counting.
Table 25.5-3 Function of STRT bit and STOP bit
STRT
STOP
Function
0
1
Start/restart of timer/pulse width measurement
1
0
Forcible stop of timer/pulse width measurement
Summary of Contents for MB90480 Series
Page 2: ......
Page 4: ......
Page 10: ...vi ...
Page 128: ...106 CHAPTER 4 RESET ...
Page 174: ...152 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Page 198: ...176 CHAPTER 7 MODE SETTING ...
Page 220: ...198 CHAPTER 9 TIMEBASE TIMER ...
Page 238: ...216 CHAPTER 11 WATCH TIMER ...
Page 280: ...258 CHAPTER 12 16 BIT INPUT OUTPUT TIMER ...
Page 406: ...384 CHAPTER 17 8 10 BIT A D CONVERTER ...
Page 478: ...456 CHAPTER 20 CHIP SELECTION FACILITY ...
Page 494: ...472 CHAPTER 21 ADDRESS MATCH DETECTION FUNCTION ...
Page 498: ...476 CHAPTER 22 ROM MIRROR FUNCTION SELECTION MODULE ...
Page 526: ...504 CHAPTER 23 2M 3M BIT FLASH MEMORY ...
Page 536: ...514 CHAPTER 24 EXAMPLES OF MB90F481B MB90F482B MB90F488B MB90F489B SERIAL PROGRAMMING ...
Page 570: ...548 CHAPTER 25 PWC TIMER ONLY MB90485 SERIES ...
Page 688: ......