English
Language : 

3822_03 Datasheet, PDF (123/328 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.3 Timer X and timer Y
sTimer X write control bit (bit 0)
The timer X write control bit controls writing to the timer X (low-order and high-order).
When bit 0 is “0,” the value written in the timer X (low-order and high-order) are set into both the X
latch and the X counter at the same time.
When bit 0 is “1,” the value written in the timer X (low-order and high-order) is set into the X latch
only.
When a value is written into the X latch only, this rewritten value is transferred to the X counter at
the first X counter underflow after rewriting.
sReal time port control bit (bit 1)
The real time port control bit selects a function to output data from the real time port. When bit 1 is
“0,” this function is invalid. When the bit is “1,” this function is valid.
For an explanation of operations, refer to “2.3.1 Explanation of timer X operations, (5) Real time
port control.”
sData storage bits for real time port (bit 2 and bit 3)
The data storage bits for real time port set the data to be output from the real time port.
sTimer X operating mode bits (bit 4 and bit 5)
The timer X operating mode bits select a operating mode of the timer X.
Table 2.3.2 shows the relation between the timer X operating mode bits and the operating modes.
For an explanation of each mode operation, refer to the section pertaining to the explanation of each
operation.
Table 2.3.2 Relation between timer X operating mode bits
and operating modes
b5 b4
Operation mode
0 0 Timer mode
0 1 Pulse output mode
1 0 Event counter mode
1 1 Pulse width measurement mode
3822 GROUP USER’S MANUAL
2–57