xilplmi
Vitis Drivers API Documentation
xplmi_cmd.c File Reference

Overview

This is the file which contains command execution code.

MODIFICATION HISTORY:
Ver   Who  Date        Changes
----- ---- -------- -------------------------------------------------------
1.00  kc   08/23/2018 Initial release
1.01  bsv  04/03/2020 Code clean up Xilpdi
1.02  kc   06/22/2020 Updated command handler error codes to include command
                      IDs
      bm   10/14/2020 Code clean up
      td   10/19/2020 MISRA C Fixes
1.03  td   07/08/2021 Fix doxygen warnings
1.04  ng   11/11/2022 Updated doxygen comments
      bm   03/09/2023 Add NULL check for module before using it
      ng   03/30/2023 Updated algorithm and return values in doxygen comments
1.05  bm   06/13/2023 Add API to just log PLM error
2.0   ng   11/11/2023 Implemented user modules
      mss  03/13/2024 Fix MISRA-C violation 10.3
      bs   07/15/2024 Updated Cmd Resume to return error in 0x2XXX format
      pre  03/02/2025 Modified error throwing condition after exiting from command handler
Note

Functions

int XPlmi_CmdExecute (XPlmi_Cmd *CmdPtr)
 This function will call the command handler registered with the command. More...
 
int XPlmi_CmdResume (XPlmi_Cmd *CmdPtr)
 This function resumes the command after being partially executed. More...