summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h
diff options
context:
space:
mode:
authorxmarvla <vlatko.markovic@seavus.com>2011-06-16 14:45:38 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2011-08-17 22:10:43 +0200
commitb9b4df06ddb81a6d14354fc0d42e22acf0b4c30c (patch)
tree48b17930f3f28c72094f090ba38e6761aa43416b /lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h
parentc9d1f9613e3ac18d5dd3b9432646e289bb88cec9 (diff)
LCM R1T and LCDriver R1N official release.
ST-Ericsson ID: 345044 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Change-Id: Ib1901abfc2efa6c887c70b8583ddd2258e21aa78 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25187 Tested-by: Vlatko STENKOSKI Tested-by: Cvetko MLADENOVSKI <cvetko.mladenovski@seavus.com> Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com> Reviewed-by: Zoran ANCEVSKI <zoran.ancevski@seavus.com> Reviewed-by: QATEST Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Conflicts: lcmodule/win_binaries/LCM.dll win_binaries/LCDriver_CNH1606432.dll
Diffstat (limited to 'lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h')
-rw-r--r--lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h29
1 files changed, 27 insertions, 2 deletions
diff --git a/lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h b/lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h
index 8ab63cf..4f10bc6 100644
--- a/lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h
+++ b/lcmodule/source/cnh1605551_ldr_utilities/debug_subsystem/r_debug_subsystem.h
@@ -24,6 +24,10 @@
******************************************************************************/
#include "t_basicdefinitions.h"
#include "t_debug_subsystem.h"
+#ifdef CFG_ENABLE_LOADER_TYPE
+#include "error_codes.h"
+#include "t_communication_service.h"
+#endif
/*******************************************************************************
* Defines
@@ -50,13 +54,34 @@
#ifndef CFG_ENABLE_LOADER_TYPE
void lcm_printf(const char *format, ...);
#else
+/*
+ * Initialization of Debug communication device.
+ *
+ * Used communication devices UART (specified with UART_DEBUG_PORT).
+ *
+ * @return none.
+ */
+void Do_Loader_DebugoutInit(void);
+
+/*
+ * Function for getting the debug communication device.
+ *
+ * @param [out] DebugDevice_pp Pointer to the initialized debug communication
+ * device.
+ *
+ * @retval E_SUCCESS After successful execution.
+ * @retval E_GENERAL_FATAL_ERROR If debug communication device is not
+ * initialized.
+ */
+ErrorCode_e Do_GetDebugCommunicationDevice(CommunicationDevice_t **DebugDevice_pp);
+
/**
* Calls function 'circular_printf'. If debug queue is not initialized this
- * function takes care for initialization and than redidrect input parameters to
+ * function takes care for initialization and than redirect input parameters to
* 'circular_printf' function.
*
* @param [in] *format The string constant format provides a description of the
- * output, with placeholders marked by "%" escape
+ * output, with place holders marked by "%" escape
* characters, to specify both the relative location and the
* type of output that the function should produce.(Standard
* definition for library 'printf' function).