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

no-image

upd78f9211grt2-jjg-a

Manufacturer Part Number
upd78f9211grt2-jjg-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
ETC-unknow
Datasheet
(1) 16-bit timer counter 00 (TM00)
(2) 16-bit timer capture/compare register 000 (CR000)
TM00 is a 16-bit read-only register that counts count pulses.
The counter is incremented in synchronization with the rising edge of the count clock. If the count value is read
during operation, input of the count clock is temporarily stopped, and the count value at that point is read.
The count value is reset to 0000H in the following cases.
<1> At reset input
<2> If TMC003 and TMC002 are cleared
<3> If the valid edge of TI000 is input in the clear & start mode entered by inputting the valid edge of TI000
<4> If TM00 and CR000 match in the clear & start mode entered on a match between TM00 and CR000
<5> If OSPT00 is set to 1 in the one-shot pulse output mode
Cautions 1. Even if TM00 is read, the value is not captured by CR010.
CR000 is a 16-bit register which has the functions of both a capture register and a compare register. Whether
it is used as a capture register or as a compare register is set by bit 0 (CRC000) of capture/compare control
register 00 (CRC00).
CR000 is set by 16-bit memory manipulation instruction.
A reset signal generation clears CR000 to 0000H.
• When CR000 is used as a compare register
The value set in CR000 is constantly compared with the 16-bit timer/counter 00 (TM00) count value, and an
interrupt request (INTTM000) is generated if they match. It can also be used as the register that holds the
interval time then TM00 is set to interval timer operation.
Address: FF12H, FF13H
Symbol
Address: FF14H, FF15H
Symbol
CR000
TM00
2. If TM00 is referred to during a timer count, a timer count will be stopped during reference
Figure 6-3. Format of 16-Bit Timer Capture/Compare Register 000 (CR000)
processing, 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.
7
7
6
6
Figure 6-2. Format of 16-Bit Timer Counter 00 (TM00)
5
5
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
After reset: 0000H
After reset: 0000H
FF13H
4
FF15H
4
3
3
User’s Manual U16994EJ3V0UD
2
2
1
1
R/W
R
0
0
7
7
6
6
5
5
4
4
FF12H
FF14H
3
3
2
2
1
1
0
0
83

Related parts for upd78f9211grt2-jjg-a