??? 08/11/09 08:13 Read: times |
#168306 - Function Calls Responding to: ???'s previous message |
Jan Waclawek said:
This is to ensure that the RXD line is not in the desired state (digit) before we start. Jan Waclawek said:
Also, show us how do you call this routine. JW here is the call for the routine. main() { ... unsigned int bit_time; /* the bit transmission times can have * 10% tolerance. */ unsigned int temp_bit; ... ... temp_bit = count_bit_time(1); //count the transmission time for bit '1' bit_time = count_bit_time(0); //count the transmission time for bit '0' ... ... } The bit times must be approximately equal and should match the transmission times for one bit. The transmission times for standard baud rates are calculated for matching. |
Topic | Author | Date |
Serial Auto Baud Rate Detection | 01/01/70 00:00 | |
what is the purpose of this line | 01/01/70 00:00 | |
Function Calls | 01/01/70 00:00 | |
Waiting for destruction | 01/01/70 00:00 | |
Re:Waiting for destruction - Suicidal Move! | 01/01/70 00:00 | |
Autobauding | 01/01/70 00:00 | |
Why must it be in 'C'?![]() | 01/01/70 00:00 |