English
Language : 

SH7764 Datasheet, PDF (1388/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 26 Sampling Rate Converter (SRC)
26.3.2 Data Input
Figure 26.3 is a sample flowchart for data input.
Start data input
Read the IINT bit in SRCSTAT.
IINT = 1?
No
Yes
Write the data to be converted to
SRCID and clear the IINT bit to 0.
Has all the data
No
been input?
Yes
Set the FL bit in SRCCTRL to 1.
Data input completed
Figure 26.3 Sample Flowchart for Data Input
(1) When Interrupts are Issued to CPU
1. Set the IEN bit in SRCIDCTRL to 1.
2. Set the interrupt controller.
3. When the IINT bit in SRCSTAT is set to 1, the IDE interrupt request is issued. In the interrupt
processing routine, read the IINT bit and confirm that it is 1, write data to SRCID, and write 0
to the IINT bit. Then return from the interrupt processing routine.
4. Repeat step 3 until all the data has been input, and write 1 to the FL bit in SRCCTRL.
Rev. 1.00 Nov. 22, 2007 Page 1332 of 1692
REJ09B0360-0100