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
www.DataSheet4U.com
Summary of Contents for UPD789022
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com ...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com ...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com ...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com ...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com ...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com ...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com ...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com ...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com ...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com ...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com ...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com ...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com ...
Page 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com ...