HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 600

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 18 Multi-Function Timer Pulse Unit (MTU)
18.3.5
The TSR registers are 8-bit readable/writable registers that indicate the status of each channel. The
MTU has five TSR registers, one for each channel.
Rev. 4.00 Sep. 14, 2005 Page 550 of 982
REJ09B0023-0400
Bit
7
6
5
Timer Status Register (TSR)
Bit Name
TCFD
TCFU
Initial
value
1
1
0
R/W
R
R
R/(W) Underflow Flag
Description
Count Direction Flag
Status flag that shows the direction in which TCNT
counts in channels 1, 2, 3, and 4.
In channel 0, bit 7 is reserved. It is always read as 1,
and should only be written with 1.
0: TCNT counts down
1: TCNT counts up
Reserved
This bit is always read as 1. The write value should
always be 1.
Status flag that indicates that TCNT underflow has
occurred when channels 1 and 2 are set to phase
counting mode. Only 0 can be written, for flag clearing.
In channels 0, 3, and 4, bit 5 is reserved. It is always
read as 0, and should only be written with 0.
[Setting condition]
[Clearing condition]
When the TCNT value underflows (changes from
H'0000 to H'FFFF)
When 0 is written to TCFU after reading TCFU = 1

Related parts for HD6417641