format void STM_SetTrBuf (StmHn stm, void * buffer, Sint32 nunit,
Sint32 unitsize)
Input stm: Stream handle
: buffer: Transfer area
: nunit: Size of transfer area (unit of transfer unit)
unit unitsize: Transfer unit size
Output None
Function value None
Function Sets the data transfer area for the specified stream.
(1) Transfer unit size
constant name | transfer unit size |
STM_UNIT_FORM1 | Mode1, Mode2 Form1 sector length (2048 bytes) |
STM_UNIT_FORM2 | Mode2, Form2 sector length (2324 bytes) |
STM_UNIT_WORD | word unit (2 bytes) |
STM_UNIT_BYTE | byte unit (1 byte) |
Remarks (a) The default transfer mode is CPU.
: (b) If a transfer function is set, the transfer function has priority.
: (c) For software transfers and CPU DMA transfers, the transfer area is at a longword boundary.
Please place .