??? 08/11/09 23:20 Modified: 08/11/09 23:21 Read: times |
#168330 - Why must it be in 'C'? Responding to: ???'s previous message |
Csmg Sarma said:
Hi there,
I want to implement UART auto baud rate detection logic in C. Why? This is MUCH more straightforward in ASM, and has been to work shown many times. I want to count the time taken to receive a bit using timers. The following is the code excerpt to count the bit time:
... Thanks in advance, Sarma That's how it's done, but I've never seen a listing of a successful implementation in 'C'. That's not to say it can't be done, nor would I say there couldn't be a good reason, but, clearly, it's been done in ASM, so why not do that as a 'C'-accessible function and be done with it, rather than attempting to "reinvent the wheel" in 'C'? RE |
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 |