upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 319

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.5 Operation
Timer Q can perform the following operations.
Notes: 1. When using the external event count function, set TIQn0 capture input edge detection to
Caution:
8.5.1 Anytime write and reload
Timer Q allows rewriting of the TQnCCR0 to TQnCCR3 registers while the timer is operating
(TQnCE = 1). These registers are written differently (anytime write or reload) depending on the mode.
(1)
Interval timer mode
External event counter
mode
External trigger pulse
output
mode
One-shot pulse output
mode
PWM mode
Free-running mode
Pulse width measure-
ment
mode
Anytime write
When data is written to the TQnCCR0 to TQnCCR3 registers during timer operation, it is
transferred at any time to the CCR0 buffer register and is compared with the value of the 16-bit
counter.
Note 1
Note 2
Note 2
Note 2
Operation
2. When using the external trigger pulse output mode, one-shot pulse mode, or pulse width
“Detect no edge”. (Set TQnIS1 and TQnIS0 bits of TQnIOC1 register to “00”.)
measurement mode, select the internal clock as the count clock (by setting the TQnEEE bit
of the TQnCTL1 register to 1).
Clearing the TQnCCR1 register to 0000H is prohibited in the one-shot pulse mode.
Invalid
Invalid
Valid
Valid
Invalid
Invalid
Invalid
trigger input
TQnEST
Software
Chapter 8 16-Bit Timer/Event Counter Q
User’s Manual U16702EE3V2UD00
Invalid
Invalid
Valid
Valid
Invalid
Invalid
Invalid
trigger input
External
TIQn0
Internal/TIQn0 pin
TIQn0 pin only
Internal only
Internal only
Internal/TIQn0 pin
Internal/TIQn0 pin
Internal only
Count clock
TQnEEE
selection
Compare only
Compare only
Compare only
Compare only
Compare only
Capture/com-
pare switching
enabled
Capture only
Compare Write
Capture/
Any time write
Any time write
Reload
Any time write
Reload
Any time write
Not applicable
Compare
Write
319

Related parts for upd70f3402