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

no-image

upd78f0124hgba1-8et-a

Manufacturer Part Number
upd78f0124hgba1-8et-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
6.4 Operation of 16-Bit Timer/Event Counter 00
6.4.1 Interval timer operation
in Figure 6-10 allows operation as an interval timer.
000 (CR000) as the interval.
the TM00 value cleared to 0 and the interrupt request signal (INTTM000) is generated.
prescaler mode register 00 (PRM00).
Setting 16-bit timer mode control register 00 (TMC00) and capture/compare control register 00 (CRC00) as shown
The basic operation setting procedure is as follows.
<1> Set the CRC00 register (see Figure 6-10 for the set value).
<2> Set any value to the CR000 register.
<3> Set the count clock by using the PRM000 register.
<4> Set the TMC00 register to start the operation (see Figure 6-10 for the set value).
Caution Do not rewrite CR000 during TM00 operation.
Remark For how to enable the INTTM000 interrupt, see CHAPTER 16 INTERRUPT FUNCTIONS.
Interrupt requests are generated repeatedly using the count value preset in 16-bit timer capture/compare register
When the count value of 16-bit timer counter 00 (TM00) matches the value set in CR000, counting continues with
The count clock of the 16-bit timer/event counter 00 can be selected with bits 0 and 1 (PRM000, PRM001) of
Setting
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U16962EJ3V0UD
133

Related parts for upd78f0124hgba1-8et-a