Hekateros/fw/Encoder/Encoder.c
unsigned char twiActOnFailureInLastTransmission(unsigned char TWIerrorMsg)
{
  PORTB = TWIerrorMsg;
  TWI_Start_Transceiver();
                    
  return TWIerrorMsg; 
}
/*!
 * \brief Handle Two-Wire Interface error.
 * 
 * The LEDs are flashed with the error code pattern.
 * The interface transceiver is restarted with all of the same data in the
 * transmission buffers.
 *
 * \param TWIerrorMsg   Error code.
 * 
 * \return Error code.
 */
\brief Handle Two-Wire Interface error.

The LEDs are flashed with the error code pattern.
The interface transceiver is restarted with all of the same data in the
transmission buffers.

\param TWIerrorMsg   Error code.

\return Error code.
\ brief Handle Two - Wire Interface error . The LEDs are flashed with the error code pattern . The interface transceiver is restarted with all of the same data in the transmission buffers . \ param TWIerrorMsg Error code . \ return Error code .
unsigned char twiActOnFailureInLastTransmission(unsigned char TWIerrorMsg)
{
  PORTB = TWIerrorMsg;
  TWI_Start_Transceiver();
  return TWIerrorMsg; 
}
unsigned char twiActOnFailureInLastTransmission ( unsigned char TWIerrorMsg ) { PORTB = TWIerrorMsg ; TWI_Start_Transceiver ( ) ; return TWIerrorMsg ; }
\brief Handle Two-Wire Interface error.
\ brief Handle Two - Wire Interface error .