Return to previous page Return to menu Go to next page

(2) Transfer area setting

In the transfer area settings, the following two methods are different.
(A) STM_SetTrBuf (stm, buffer, A_BUFSIZE, STM_UNIT_FORM1)
(B) STM_SetTrBuf (stm, buffer, A_BUFSIZE * STM_UNIT_FORM1, STM_UNIT_WORD)

(a) When the transfer area size is in sector units
Since the number of sectors that can be taken out from the sections in the CD block is clear in advance, it can be processed as follows.

Figure 5.1 Transfer processing in sector units

(b) When the size of the transfer area is not a sector unit
Since the number of sectors that can be taken out from the section in the CD block is unknown, process as follows.


Figure 5.2 Transfer processing when not in sector units

∙ While the dotted loop is repeated, the next stream cannot be transferred. Therefore, when accessing two or more streams at the same time, it should be transferred by the method (a) except in special cases.
[If the Form1 sector and the Form2 sector are mixed in one stream, there is no choice but to transfer by the method (b).


Return to previous page Return to menu Go to next page