CHAPTER 7 8-BIT TIMER/EVENT COUNTER
User's Manual U11919EJ3V0UM00
114
7.5 Notes on Using 8-Bit Timer/Event Counters
(1)
Error on starting timer
An error of up to 1 clock occurs after the timer has been started until a coincidence signal is generated.
This is because 8-bit timer counter 00 (TM00) started asynchronously with the count pulse.
Figure 7-7. 8-Bit Timer Counter 00 Start Timing
Count Pulse
TM00 Count Value
Timer starts
00H
01H
02H
03H
04H
(2)
Setting of 8-bit compare register
8-bit compare register 00 (CR00) can be set to 00H.
Therefore, one pulse can be counted when an 8-bit timer/event counter operates as an event counter.
Figure 7-8. External Event Counter Operation Timing
TI0 Input
CR00
00H
TM00 Count Value
00H
00H
00H
00H
Interrupt Request Flag
Summary of Contents for mPD789026 Subseries
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...