Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Retrieving sector data
  Function Name  [SR] 
CDC_GetSctData
  No  
7.2

 Format  Sint32 CDC_GetSctData (Sint32 bufno, Sint32 spos, Sint32 snum)
 Input  bufno: Buffer partition number
:  spos: Sector position (CDC_SPOS_END: ​​Indicates the last sector of the section)
  snum: Number of sectors (CDC_SNUM_END: ​​Indicates the number of sectors from spos to the end of the partition)
 Output  None
 Function value  Returns an error code.
 End flag  EHST flag (Set to 1 after execution of the CDC_DataEnd function)
 Function  Extracts sector data from the specified sector range in the buffer section.
  The length of one sector can be changed by setting the sector length (CDC_SetSctLen).
 Remarks  After executing the function, it is necessary to transfer and retrieve the data. 

  Title  
Function specifications
  Function  
Erasing sector data
  Function Name  [SR] 
CDC_DelSctData
  No  
7.3

 Format  Sint32 CDC_DelSctData (Sint32 bufno, Sint32 spos, Sint32 snum)
 Input  bufno: Buffer partition number
:  spos: Sector position (CDC_SPOS_END: ​​Indicates the last sector of the section)
  snum: Number of sectors (CDC_SNUM_END: ​​Indicates the number of sectors from spos to the end of the partition)
 Output  None
 Function value  Returns an error code.
 End flag  EHST flag
 Function  Erases sector data from the specified sector range in the buffer section.
 Remarks  When erasing data, the subsequent sector positions are moved up sequentially. 

  Title  
Function specifications
  Function  
Retrieving sector data Erase
  Function Name  [SR] 
CDC_GetdelSctData
  No 
7.4

 Format  Sint32 CDC_GetdelSctData (Sint32 bufno, Sint32 spos, Sint32 snum)
 Input  bufno: Buffer partition number
:  spos: Sector position (CDC_SPOS_END: ​​Indicates the last sector of the section)
  snum: Number of sectors (CDC_SNUM_END: ​​Indicates the number of sectors from spos to the end of the partition)
 Output  None
 Function value  Returns an error code.
 End flag  EHST flag (Set to 1 after execution of the CDC_DataEnd function)
 Function  Sector data is extracted from the specified sector range in the buffer section and erased.
  The length of one sector can be changed by setting the sector length (CDC_SetSctLen).
 Remarks  After executing the function, it is necessary to transfer and retrieve the data.
  Even if transfer is completed without extracting all data, all data in the specified sector range will be deleted. 


Return to previous page Return to menu Go to next page