R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 102

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
Table 12.9 Timer Mode Specifications
NOTES:
1. The IR bit in the TZIC register is set to "1" (interrupt requested) if you write to the TZPR or PREZ register while both
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request
generation timing
TZ
INT0 pin function
Read from timer
Write to timer
_______
of the following conditions are met.
OUT
12.3.1 Timer Mode
To write to the TZPR or PREZ register in the above state, disable interrupts before the writing.
In this mode, the timer counts an internally generated count source or Timer Y underflow (see “Table
12.9 Timer Mode Specifications”). The TZSC register is unused in timer mode. Figure 12.22 shows
the TYZMR register and PUM register in timer mode.
Jan 27, 2006
<Conditions>
pin function
• TZWC bit in TYZMR register is set to "0" (write to reload register and counter simultaneously)
• TZS bit in TYZMR register is set to "1" (count start)
Item
(1)
page 91 of 205
f
• Down-count
• When the timer underflows, it reloads the reload register contents before continuing
1/(n+1)(m+1)
Write “1” (count start) to TZS bit in TYZMR register
Write “0” (count stop) to TZS bit in TYZMR register
• When Timer Z underflows [Timer Z interrupt]
Programmable I/O port
Programmable I/O port, or INT0 interrupt input
Count value can be read out by reading TZPR register.
Same applies to PREZ register.
Value written to TZPR register is written to both reload register and counter or written to
reload register only. Selected by program.
Same applies to PREZ register.
1
counting (When the Timer Z underflows, the contents of the Timer Z primary reload
register is reloaded.)
, f
2
, f
8
, Timer Y underflow
n: set value in PREZ register, m: set value in TZPR register
______
Specification
12.3 Timer (Timer Z)

Related parts for R5F21133DFP