void PrintStringAndThreeDecimals(tString * const pString1, unsigned int Value1, tString * const pString2, unsigned int Value2, tString * const pString3, unsigned int Value3) { GIE_CHECK(); GET_MUTEX(); WriteTxBuffer(pString1); ToDecimalString(Value1,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(SPACE); WriteTxBuffer(pString2); ToDecimalString(Value2,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(SPACE); WriteTxBuffer(pString3); ToDecimalString(Value3,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(CR); GIVE_MUTEX(); }
void PrintStringSpaceAndTwoDecimals(tString * const pString1, unsigned int Value1, unsigned int Value2) { WriteTxBuffer(pString1); WriteTxBuffer(" "); ToDecimalString(Value1,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(" "); ToDecimalString(Value2,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); }
void PrintStringSpaceAndTwoDecimals(signed char * const pString1, unsigned int Value1, unsigned int Value2) { xSemaphoreTake(UartMutex,portMAX_DELAY); WriteTxBuffer(pString1); WriteTxBuffer(" "); ToDecimalString(Value1,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(" "); ToDecimalString(Value2,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); xSemaphoreGive(UartMutex); }
void PrintStringAndDecimal(tString * const pString,unsigned int Value) { WriteTxBuffer(pString); ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); }
void PrintDecimal(unsigned int Value) { xSemaphoreTake(UartMutex,portMAX_DELAY); ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); xSemaphoreGive(UartMutex); }
void PrintStringSpaceAndTwoDecimals(tString * const pString1, unsigned int Value1, unsigned int Value2) { GIE_CHECK(); GET_MUTEX(); WriteTxBuffer(pString1); WriteTxBuffer(SPACE); ToDecimalString(Value1,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(SPACE); ToDecimalString(Value2,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(CR); GIVE_MUTEX(); }
void PrintDecimal(unsigned int Value) { GIE_CHECK(); GET_MUTEX(); ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); GIVE_MUTEX(); }
void PrintStringAndDecimal(signed char * const pString,unsigned int Value) { xSemaphoreTake(UartMutex,portMAX_DELAY); WriteTxBuffer(pString); ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); xSemaphoreGive(UartMutex); }
void PrintSignedDecimalAndNewline(signed int Value) { if ( Value < 0 ) { Value = ~Value + 1; WriteTxBuffer("-"); } ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); }
void PrintStringAndDecimal(const tString * pString, unsigned int Value) { GIE_CHECK(); GET_MUTEX(); WriteTxBuffer(pString); ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(CR); GIVE_MUTEX(); }
void PrintStringAndThreeDecimals(tString * const pString1, unsigned int Value1, tString * const pString2, unsigned int Value2, tString * const pString3, unsigned int Value3) { WriteTxBuffer(pString1); ToDecimalString(Value1,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(" "); WriteTxBuffer(pString2); ToDecimalString(Value2,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(" "); WriteTxBuffer(pString3); ToDecimalString(Value3,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); }
void PrintSignedDecimalAndNewline(signed int Value) { xSemaphoreTake(UartMutex,portMAX_DELAY); if ( Value < 0 ) { Value = ~Value + 1; } ToDecimalString(Value,ConversionString); WriteTxBuffer("-"); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); xSemaphoreGive(UartMutex); }
void PrintSignedDecimalAndNewline(signed int Value) { GIE_CHECK(); GET_MUTEX(); if ( Value < 0 ) { Value = ~Value + 1; WriteTxBuffer("-"); } ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer(CR); GIVE_MUTEX(); }
void PrintDecimalAndNewline(unsigned int Value) { ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); WriteTxBuffer("\r\n"); }
void PrintDecimal(unsigned int Value) { ToDecimalString(Value,ConversionString); WriteTxBuffer(ConversionString); }