Download Renesas Electronics
Transcript
CHAPTER 9 8-BIT TIMER/EVENT COUNTER 1, 2 (2) Operation after the compare register is changed while the timer is counting If the value after 8-bit compare register 10, 20 (CR10, CR20) changes is less than the value of the 8-bit timer counter (TM1, TM2), counting continues, overflows, and counting starts again from 0. Consequently, when the value (M) after CR10, CR20 changes is less than the value (N) before the change, the timer must restart after CR10, CR20 changes. Figure 9-12. Timing After Compare Register Changes During Timer Counting Count pulse CR10, CR20 N TM1, TM2 count X–1 Caution M X FFFFH 0000H 0001H 0002H Except when the TI1, TI2 input is selected, always set TCE1 = 0, TCE2 = 0 before setting the STOP mode. Remark N > X > M (3) TM1, TM2 read out during timer operation Since the count clock stops temporarily when TM1 and TM2 are read during operation, select for the count clock a waveform with a high and low level that exceed 2 cycles of the CPU clock. When reading TM1 and TM2 during cascade connection, to avoid reading while the count is changing, take measures such as obtaining a count match by reading twice using software. 214 User’s Manual U13570EJ3V1UD
Related documents
uPD784038, 784038Y Subseries 16-Bit Single
UPD78F4225GC-8BT-A
78K0/Kx2-L Sample Program (Serial Interface IICA)
uPD780948 Subseries 8-bit Single
SP4000 - SP4000 FAST - EasyGates Manuals & Guides
Multimedia Processor for Mobile Applications (EMMA
uPD780852 Subseries (8-Bit Single-Chip) PUM
RL78/G10 EEPROM Control by Simplified I2C Function
ID78K0-LCE User`s Manual, Preliminary
736C 738C 742C
Mitaka Kohki PSMS2 User`s manual
Grass Valley Model 1200 Digital Production Switcher Order Guide