Macros | |
#define | DUMP_FAILURE -1 |
#define | DUMP_SUCCESS 0 |
#define | NAKED_TRACE_COM2(...) |
#define | TRACE_COM2(...) |
Functions | |
int | itracedump_Init (void) |
int | printk (const char *format,...) |
unsigned portSHORT | ustracedump_Print (const signed portCHAR *const pcString) |
void | v_tracedump_stopResources (void) |
Stop the tracedump module resources. More... | |
void | vtracedump_PrintBlocking (const signed portCHAR *const pcString) |
void | vtracedump_Putchar (signed portCHAR cByte) |
Put a char to the dump port. More... | |
void | vtracedump_Putchar_Block (signed portCHAR cByte) |
Put a char to the dump port. More... | |
#define DUMP_FAILURE -1 |
Value returned by function when it was unable to complete successfully for some unspecified reason
Referenced by itracedump_Init().
#define DUMP_SUCCESS 0 |
Value returned by function when it completed successfully
Referenced by itracedump_Init().
#define NAKED_TRACE_COM2 | ( | ... | ) |
Referenced by b_MMI_do_nothing(), b_USBHostCopyCfg(), b_USBHostCopyLogs(), b_USBHostCopyWeb(), b_USBHostMoveLogs(), bsensor_start(), e_cptime_cmd_set_config(), e_fscmds_CheckNavError(), e_supervisor_switch_to_maintenance_mode(), portTASK_FUNCTION(), prv_v_leave_maintenance_mode(), prv_xopen_current_logfile(), prvCheckMallocHeap(), prvweb_ParseCGIRequest(), prvweb_ParseHTMLRequest(), prvweb_SendErrorPage(), prvweb_SendFile(), and v_syscmds_display_traces().
#define TRACE_COM2 | ( | ... | ) |
Referenced by b_sensor_get_value(), e_supervisor_switch_to_maintenance_mode(), portTASK_FUNCTION(), prv_cat(), prv_GetChar_From_Requester_Stream(), prv_Print_String_To_Requester_Stream(), prv_PutChar_To_Requester_Stream(), prv_v_common_leave_UsbDevice_mode(), v_shell_Print_String_To_Requester_Stream(), and x_supervisor_SemaphoreGive().
int itracedump_Init | ( | void | ) |
This function initializes a dump port.
This function initializes the dump port.
References DUMP_FAILURE, DUMP_SUCCESS, dumpCOM2_BAUDRATE, dumpCOM2_BUFFER_LEN, serCOM2, TRACE_MSG_BANNER, vtracedump_PrintBlocking(), xComPort2Hndl, and xUsartInit().
Referenced by portTASK_FUNCTION().
int printk | ( | const char * | format, |
... | |||
) |
References print().
unsigned portSHORT ustracedump_Print | ( | const signed portCHAR *const | pcString | ) |
Send a string of characters to the dump port.
pcString | The string to dump |
References usUsartPutString(), and xComPort2Hndl.
Stop the tracedump module resources.
References vSerialClose(), and xComPort2Hndl.
Referenced by e_syscmds_reboot().
void vtracedump_PrintBlocking | ( | const signed portCHAR *const | pcString | ) |
Send a string of characters to the dump port.
pcString | The string to dump |
References usUsartPutString(), and xComPort2Hndl.
Referenced by itracedump_Init().
void vtracedump_Putchar | ( | signed portCHAR | cByte | ) |
Put a char to the dump port.
cByte | The character to put |
References DUMPCOM2_NO_BLOCK, xComPort2Hndl, and xUsartPutChar().
void vtracedump_Putchar_Block | ( | signed portCHAR | cByte | ) |
Put a char to the dump port.
cByte | The character to put |
References xComPort2Hndl, and xUsartPutChar().