upd78f0103hmca1-5a4-a Renesas Electronics Corporation., upd78f0103hmca1-5a4-a Datasheet - Page 128

no-image

upd78f0103hmca1-5a4-a

Manufacturer Part Number
upd78f0103hmca1-5a4-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
6.4.4 External event counter operation
counter 00 (TM00).
cleared to 0 and the interrupt request signal (INTTM000) is generated.
prescaler mode register 00 (PRM00).
TI000 pin is detected twice, thus eliminating noise with a short pulse width.
128
The basic operation setting procedure is as follows.
<1> Set the CRC00 register (see Figure 6-26 for the set value).
<2> Set the count clock by using the PRM00 register.
<3> Set any value to the CR000 register (0000H cannot be set).
<4> Set the TMC00 register to start the operation (see Figure 6-26 for the set value).
Remarks 1. For the setting of the TI000 pin, see 6.3 (5) Port mode register 0 (PM0).
The external event counter counts the number of external clock pulses input to the TI000 pin using 16-bit timer
TM00 is incremented each time the valid edge specified by prescaler mode register 00 (PRM00) is input.
When the TM00 count value matches the 16-bit timer capture/compare register 000 (CR000) value, TM00 is
Input a value other than 0000H to CR000 (a count operation with 1-bit pulse cannot be carried out).
Any of three edgesrising, falling, or both edgescan be selected using bits 4 and 5 (ES000 and ES001) of
Sampling is performed using the internal clock (f
Setting
2. For how to enable the INTTM000 interrupt, see CHAPTER 14 INTERRUPT FUNCTIONS.
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U16846EJ3V0UD
X
) and an operation is only performed when the valid level of the

Related parts for upd78f0103hmca1-5a4-a