upd78f9211grt2-jjg-a ETC-unknow, upd78f9211grt2-jjg-a Datasheet - Page 115

no-image

upd78f9211grt2-jjg-a

Manufacturer Part Number
upd78f9211grt2-jjg-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
ETC-unknow
Datasheet
6.5
(1) Timer start errors
(2) 16-bit timer counter 00 (TM00) operation
(3) Setting of 16-bit timer capture/compare registers 000, 010 (CR000, CR010)
Cautions Related to 16-Bit Timer/Event Counter 00
An error of up to one clock may occur in the time required for a match signal to be generated after timer start.
This is because 16-bit timer counter 00 (TM00) is started asynchronously to the count clock.
<1> 16-bit timer counter 00 (TM00) starts operation at the moment TMC002 and TMC003 (operation stop
<2> Even if TM00 is read, the value is not captured by 16-bit timer capture/compare register 010 (CR010).
<3> If TM00 is referred to during a timer count, a timer count will be stopped during reference processing,
<4> If the timer is stopped, timer counts and timer interrupts do not occur, even if a signal is input to the
<1> Set 16-bit timer capture/compare register 000 (CR000) to other than 0000H in the clear & start mode
<2> When the clear & start mode entered on a match between TM00 and CR000 is selected, CR000 should
<3> In the free-running mode and in the clear & start mode using the valid edge of the TI000 pin, if CR0n0 is
<4> If the new value of CR0n0 is less than the value of TM00, TM00 continues counting, overflows, and then
mode) are set to a value other than 0, 0, respectively. Set TMC002 and TMC003 to 0, 0 to stop the
operation.
and a timer count is resumed after reference processing is finished.
Therefore, if processing which refers to TM00 is performed, an error will arise at a timer count.
TI000/TI010 pins.
entered on match between TM00 and CR000.
performed when this register is used as an external event counter.
not be specified as a capture register.
set to 0000H, an interrupt request (INTTM0n0) is generated when CR0n0 changes from 0000H to
0001H following overflow (FFFFH).
starts counting from 0 again. If the new value of CR0n0 is less than the old value, therefore, the timer
must be reset to be restarted after the value of CR0n0 is changed.
TM00 count value
Count clock
Figure 6-37. Start Timing of 16-Bit Timer Counter 00 (TM00)
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Timer start
0000H
User’s Manual U16994EJ3V0UD
0001H
This means a 1-pulse count operation cannot be
0002H
0003H
0004H
115

Related parts for upd78f9211grt2-jjg-a