upd78f0124hgba1-8et-a Renesas Electronics Corporation., upd78f0124hgba1-8et-a Datasheet - Page 124

no-image

upd78f0124hgba1-8et-a

Manufacturer Part Number
upd78f0124hgba1-8et-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(1) 16-bit timer counter 00 (TM00)
(2) 16-bit timer capture/compare register 000 (CR000)
124
TM00 is a 16-bit read-only register that counts count pulses.
The counter is incremented in synchronization with the rising edge of the input clock.
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 the TI000 pin is input in the mode in which clear & start occurs when inputting the valid
<4> If TM00 and CR000 match in the mode in which clear & start occurs on a match of TM00 and CR000
<5> If OSPT00 is set to 1 in one-shot pulse output mode
CR000 is a 16-bit register that 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 (CR000) of capture/compare control register 00
(CRC00).
CR000 can be set by a 16-bit memory manipulation instruction.
RESET input clears CR000 to 0000H.
• When CR000 is used as a compare register
• When CR000 is used as a capture 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. The set value is held until CR000 is rewritten.
It is possible to select the valid edge of the TI000 pin or the TI010 pin as the capture trigger. The TI000 or
TI010 pin valid edge is set using prescaler mode register 00 (PRM00) (see Table 6-2).
edge of the TI000 pin
Address: FF10H, FF11H
Symbol
Address: FF12H, FF13H
Symbol
CR000
TM00
Figure 6-3. Format of 16-Bit Timer Capture/Compare Register 000 (CR000)
Figure 6-2. Format of 16-Bit Timer Counter 00 (TM00)
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
FF11H
FF13H
After reset: 0000H
After reset: 0000H
User’s Manual U16962EJ3V0UD
R/W
R
FF10H
FF12H

Related parts for upd78f0124hgba1-8et-a