Return to previous page Return to menu Go to next page

8.2.4 CD-ROM device

  Title  
Function specifications
  Function  
Connect CD devices Previous setting
  Function Name  [SR] 
CDC_CdSetCon
  No 
4.1

 Format  Sint32 CDC_CdSetCon (Sint32 filtno)
 Input  filtno: Connection destination aperture number (CDC_NUL_SEL: Indicates disconnection)
 Output  None
 Function value  Returns an error code.
 End flag  ESEL flag
 Function  Set the connection destination (aperture) of the CD-ROM device. If CDC_NUL_SEL is specified, the connection is disconnected.
 . 

  Title  
Function specifications
  Function  
Connect CD devices Get destination
  Function Name  [S-] 
CDC_CdGetCon
  No 
4.2

 format  Sint32 CDC_CdGetCon (Sint32 * filtno)
 Input  None
 Output  filtno: Connection destination aperture number (CDC_NUL_SEL: Indicates unconnected)
 Function value  Returns an error code.
 Function  Get the connection destination (aperture) of the CD-ROM device. If not connected, CDC_NUL_SEL is returned. 

  Title  
Function specifications
  Function  
Buffer section of the last read sector Get
  Function Name  [S-] 
CDC_CdGetLastBuf
  No 
4.3

 format  Sint32 CDC_CdGetLastBuf (Sint32 * bufno)
 Input  None
 Output  bufno: Storage buffer partition number (CDC_NUL_SEL: Indicates unstored)
 Function value  Returns an error code.
 Function  Gets the buffer partition number of the storage destination of the sector last read from the CD-ROM. buffer
CDB_NUL_SEL is returned when it is not stored (erased) in   section.
 Remarks  Read from CD-ROM by executing in synchronization with CSCT flag of interrupt factor register
 Stream  Streams can be processed one sector at a time. 


Return to previous page Return to menu Go to next page