| ??? 11/20/11 22:03 Read: times |
#184837 - Never underestimate the value of state machines Responding to: ???'s previous message |
I guess he just feels he will lose control, when the transmit loop is hidden in a library function somewhere.
The biggest issue with using a library-hidden loop for transmission of strings is the memory requirements for very small microcontrollers. One advantage with having the user code own the send/receive loop is that send/receive can be implemented with state machines, where there isn't a need to store full messages in a buffer. The data can be generated - or processed - byte-by-byte as needed/available. |
| Topic | Author | Date |
| UART - byte by byte or library functions? | 01/01/70 00:00 | |
| Nothing magic | 01/01/70 00:00 | |
| One Reason for SiLabs Parts | 01/01/70 00:00 | |
| What's the difference? | 01/01/70 00:00 | |
| Never underestimate the value of state machines | 01/01/70 00:00 | |
True | 01/01/70 00:00 |



