| ??? 08/11/09 08:52 Read: times |
#168307 - Waiting for destruction Responding to: ???'s previous message |
So you effectively have this:
temp_bit = count_bit_time(1); //count the transmission time for bit '1'
unsigned int count_bit_time( bit digit) /* digit==1*/
{
...
RXD = 1; /* configure as an input pin */
...
RXD = ~digit; /* pull RXD low so nothing can make it high anymore */
...
while (RXD != digit); /* wait until stronger hardware destroys this pin by pulling it high */
...
while (RXD == digit); /* hopefully never reached */
...
}
|
| 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 |



