Table 4.1 CD drive status
state | description |
|---|---|
〈BUSY〉 | Transitioning state |
〈PAUSE〉 | Pause (pause) |
〈STANDBY〉 | Standby (drive stopped) |
〈PLAY〉 | CD playing |
〈SEEK〉 | Seeking |
〈SCAN〉 | Scanning playback |
〈OPEN〉 | Tray open |
〈NODISC〉 | no disc |
〈RETRY〉 | Read retry processing |
〈ERROR〉 | A read data error has occurred |
〈FATAL〉 | Fatal error occurred (requires stop command) |
Table 4.2 Drive command
Drive command | corresponding function |
|---|---|
Initialize CD block | CDC_CdInit |
Open tray | CDC_CdOpen |
Play | CDC_CdPlay |
seek | CDC_CdSeek |
pause | CDC_CdSeek |
Stop | CDC_CdSeek |
Scan | CDC_CdScan |
(a) At software reset, CD block initialization does not work as a drive command. 〈OPEN〉, 〈NODISC〉 The state will not change even if a soft reset is executed in the state. However, the current status is not in the 〈OPEN〉, 〈NODISC〉 state. Pause the CD drive at your location. (B) Drive commands other than tray open also serve as tray close commands.
(a) 〈BUSY〉 is always returned as the drive command response unless REJECT. (B) As a general rule, commands issued later are executed with priority. If issued continuously, issued first The command may be overwritten. To ensure execution, transition to a state other than 〈BUSY〉. Please do not issue until.