scpi_args.h 729 B

123456789101112131415
  1. #ifndef SCPI_ARGS_H
  2. #define SCPI_ARGS_H
  3. // ------------------------------------------------------------------------
  4. #include "app/scpi/scpi_base.h" // xArgument_t
  5. #include <stdint.h> // uint8_t
  6. // ------------------------------------------------------------------------
  7. // @parseArguments_helper
  8. // Helper function. Used to convenient call of @parseArguments inside command handler module
  9. // Parameters:
  10. // @common_ctx - process program data state context, see @sProcessProgramDataCommonContext_t
  11. // Other parameters: refer @parseArguments
  12. // Returns: refer @parseArguments
  13. eScpiParserStatus_t parseArguments_helper( void * common_ctx, const uint8_t * argTypes, size_t argN, size_t argOptionalN);
  14. #endif