HD64F7050 RENESAS [Renesas Technology Corp], HD64F7050 Datasheet - Page 342

no-image

HD64F7050

Manufacturer Part Number
HD64F7050
Description
32-Bit RISC Microcomputer SuperH RISC engine Family/
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS
Quantity:
100
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD64F7050SFJ20V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Section 10 Advanced Timer Unit (ATU)
Sample Setup Procedure for Offset One-Shot Pulse Output: An example of the setup
procedure for offset one-shot pulse output is shown in figure 10.49.
1. Set the first-stage counter clock ' in prescaler register 1 (PSCR1), and select the second-stage
2. Set the port C control register (PCCR) corresponding to the waveform output port to ATU one-
3. Set the one-shot pulse width in the down-counter (DCNT) corresponding to the port set in (2).
4. Set the offset width in the channel 1 or 2 general register (GR1A–GR1F, GR2A, GR2B)
5. Set the CN10A–CN10H bit in the timer connection register (TCNR) corresponding to the port
6. Set the corresponding bit to 1 in the timer start register (TSTR) to start the channel 1 or 2 free-
Rev. 5.00 Jan 06, 2006 page 322 of 818
REJ09B0273-0500
counter clock " with the CKSEL bit in the timer control register (TCR1, TCR2, TCR10).
shot pulse output. Also set the corresponding bit to 1 in the port C IO register (PCIOR) to
specify the output attribute.
If necessary, an interrupt request can be sent to the CPU when the down-counter underflows by
making the appropriate setting in the interrupt enable register (TIERF).
connected to the down-counter (DCNT) corresponding to the port set in (2).
set in (2) to 1.
running counter (TCNT1, TCNT2). When the TCNT value and GR value match, the
corresponding DCNT starts counting down, and one-shot pulse output is performed.

Related parts for HD64F7050