Title | Function | Function Name [SR] | No |
Format Sint32 CDC_GetCurStat (CdcStat * stat) Input None Output stat: CD status information Function value Returns an error code. Function Issue a CD status information acquisition command to the CD block and display the current CD status information (Stay task and CD report).
Title | Function | Function Name [-] | No |
Format Sint32 CDC_GetLastStat (CdcStat * stat) Input None Output stat: CD status information Function value Returns an error code. Function Gets the CD status information for the previous CD block command. Remarks When the CD communication interface issues a CD block command, the response status and Holds the CD report. This function returns the stored value.
Title | Function | Function Name [-] | No |
Format Sint32 CDC_GetPeriStat (CdcStat * stat) Input None Output stat: CD status information Function value Returns an error code. Function Get CD status information by periodic response. Remarks Since no command is issued to the CD block, the load is small and polling is also possible. However, a periodic response cannot be obtained immediately after the command / response, and a CDC_ERR_PERI error is returned. . To get the correct value, keep calling the function until it returns CDC_ERR_OK.