English
Language : 

SH7050 Datasheet, PDF (299/841 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH RISC engine Family/
Section 10 Advanced Timer Unit (ATU)
When the one-shot pulse function is used, DCNT starts counting down when the corresponding
DSTR bit is set to 1 by the user program after the DCNT value has been set. When the DCNT
value underflows, the corresponding DSTR bit and DCNT are automatically cleared to 0, and the
count is stopped. At the same time, the corresponding channel 10 timer status register F (TSRF)
status flag is set to 1.
When the offset one-shot pulse function is used, on compare-match with a channel 1 or 2 general
register (GR) when the corresponding timer connection register (TCNR) bit is 1, the
corresponding down-count start register (DSTR) bit is automatically set to 1 and the down-count
is started. When the DCNT value underflows, the corresponding DSTR bit and DCNT are
automatically cleared to 0, and the count is stopped. At the same time, the corresponding channel
10 TSRF status flag is set to 1.
The DCNT counters are connected to the CPU via an internal 16-bit bus, and can only be accessed
by a word read or write.
The DCNT counters are initialized to H'0000 by a power-on reset, and in hardware standby mode
and software standby mode.
For details, see sections 10.3.5, One-Shot Pulse Function, and 10.3.6, Offset One-Shot Pulse
Function.
10.2.16 Offset Base Register (OSBR)
The offset base register (OSBR) is a 16-bit register. The ATU has one OSBR register in channel 1.
Channel
1
Abbreviation
OSBR
Function
Dedicated input capture register with signal from channel 0
ICR0A as input trigger
Offset Base Register (OSBR)
Bit: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Initial value: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R/W: R R R R R R R R R R R R R R R R
OSBR is a 16-bit read-only register used exclusively for input capture. OSBR uses the channel 0
ICR0A input capture register input as its trigger signal (TRG0A), and stores the TCNT1 value on
detection of the edge selected with bits 0 and 1 of TIORA.
Rev. 5.00 Jan 06, 2006 page 279 of 818
REJ09B0273-0500