Title | Function | Function Name [SR] | No |
format Sint32 CDC_SetSctLen (Sint32 getslen, Sint32 putslen) Input getslen: Sector length when fetching : putslen: Sector length when writing Output None Function value Returns an error code. End flag ESEL flag Function Sets the length of one sector (sector length) in the following cases. Sector data retrieval (CD buffer → host) Sector data writing (host → CD buffer)
constant name | description |
|---|---|
CDC_SLEN_2048 | 2048 bytes (user data) …… Initial value |
CDC_SLEN_2336 | 2336 bytes (up to the subheader) |
CDC_SLEN_2340 | 2340 bytes (up to the header) |
CDC_SLEN_2352 | 2352 bytes (entire sector) |
CDC_SLEN_NOCHG | Do not change settings |
Remarks The set “Sector length at extraction” is also reflected in the actual data size calculation (CDC_CalActSiz) . While calculating actual data size or transferring sector data (CDC_GetSctData, CDC_Getdel SctData, Do not change the sector length while CDC_PutSctData function is being processed.