AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/at91sam7s/rs485.c
void RS485_Turnaround_Delay(
    void)
{
    uint16_t turnaround_time;

    /* delay after reception before trasmitting - per MS/TP spec */
    /* wait a minimum  40 bit times since reception */
    /* at least 1 ms for errors: rounding, clock tick */
    turnaround_time = 2 + ((Tturnaround * 1000UL) / RS485_Baud);
    while (Timer_Silence() < turnaround_time) {
        /* do nothing - wait for timer to increment */
    };
}
/****************************************************************************
* DESCRIPTION: Waits on the SilenceTimer for 40 bits.
* RETURN:      none
* ALGORITHM:   none
* NOTES:       none
*****************************************************************************/
Waits on the SilenceTimer for 40 bits.
Waits on the SilenceTimer for 40 bits .
void RS485_Turnaround_Delay(
    void)
{
    uint16_t turnaround_time;
    turnaround_time = 2 + ((Tturnaround * 1000UL) / RS485_Baud);
    while (Timer_Silence() < turnaround_time) {
    };
}
void RS485_Turnaround_Delay ( void ) { uint16_t turnaround_time ; turnaround_time = 2 + ( ( Tturnaround * 1000UL ) / RS485_Baud ) ; while ( Timer_Silence ( ) < turnaround_time ) { } ; }
DESCRIPTION: Waits on the SilenceTimer for 40 bits.
DESCRIPTION : Waits on the SilenceTimer for 40 bits .
/* delay after reception before trasmitting - per MS/TP spec */ /* wait a minimum  40 bit times since reception */ /* at least 1 ms for errors: rounding, clock tick */ /* do nothing - wait for timer to increment */