1 /* 2 * Copyright (c) 2022 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_SYS_CBPRINTF_ENUMS_H_ 8 #define ZEPHYR_INCLUDE_SYS_CBPRINTF_ENUMS_H_ 9 10 /** @brief cbprintf package argument type 11 * 12 * This is used to tag each argument in cbprintf in the variable 13 * length argument list. 14 */ 15 enum cbprintf_package_arg_type { 16 /** End of argument list */ 17 CBPRINTF_PACKAGE_ARG_TYPE_END = 0, 18 19 CBPRINTF_PACKAGE_ARG_TYPE_CHAR, 20 CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_CHAR, 21 22 CBPRINTF_PACKAGE_ARG_TYPE_SHORT, 23 CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_SHORT, 24 25 CBPRINTF_PACKAGE_ARG_TYPE_INT, 26 CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_INT, 27 28 CBPRINTF_PACKAGE_ARG_TYPE_LONG, 29 CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG, 30 31 CBPRINTF_PACKAGE_ARG_TYPE_LONG_LONG, 32 CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG_LONG, 33 34 CBPRINTF_PACKAGE_ARG_TYPE_FLOAT, 35 CBPRINTF_PACKAGE_ARG_TYPE_DOUBLE, 36 CBPRINTF_PACKAGE_ARG_TYPE_LONG_DOUBLE, 37 38 CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR, 39 40 CBPRINTF_PACKAGE_ARG_TYPE_PTR_VOID, 41 42 CBPRINTF_PACKAGE_ARG_TYPE_MAX, 43 44 CBPRINTF_PACKAGE_ARG_TYPE_COUNT = CBPRINTF_PACKAGE_ARG_TYPE_MAX 45 }; 46 47 #endif /* ZEPHYR_INCLUDE_SYS_CBPRINTF_ENUMS_H_ */ 48