English
Language : 

SH7263 Datasheet, PDF (1177/1862 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 21 CD-ROM Decoder (ROM-DEC)
(2) Setting Up Manual Buffering
Figure 21.17 shows an example of setting up manual buffering. Each time an ISEC interrupt is
generated, the software checks whether or not the sector is the target sector and starts buffering
when the target sector is found.
Start of automatic buffering setup
Clear both the CBUF_AUT and
CBUF_EN bits in CBUFCTL0 to 0 [1]
Set both the CBUF_AUT and
CBUF_EN bits in CBUFCTL0 to 1 [2]
[1] Turn off the automatic buffering function
and disable buffering in the buffer RAM.
[2] Enable subcode processing and CD-ROM decoding.
[3] Start input of the data stream.
Generation of an ISEC interrupt
[3]
Read HEAD02, etc.
No
Target sector?
Yes
Set the CBUF_EN bit
in CBUFCTL0 to 1
End of automatic buffering setup
Figure 21.17 Example of Setting Up Manual Buffering
Rev. 2.00 Mar. 14, 2008 Page 1143 of 1824
REJ09B0290-0200