??? 06/07/11 11:26 Read: times |
#182518 - Re: what is polling Responding to: ???'s previous message |
Valentin Angelovski said:
The term 'polling' is used to describe the process of having your program manually check the status of a register bit/byte value And to keep re-checking until the register bit/byte value indicates that the status is OK for your program to continue. It's like if you're waiting at home for a delivery, and you keep going to the window to see if the postman is there yet. The troubel with this, obviously, is that you can't really get on with anything much else while you're waiting. The alternative is to have the postman interrupt you by, for example, ringing the doorbell. This means, of course, that you have to be ready to drop whatever you're doing to answer the door reasonably quickly - before the postman just gives up and goes away. These are very common and well-established techniques in embedded development - googling "polled", "polling", and "interrupt-driven" will lead you to plenty of information, examples, etc,... |
Topic | Author | Date |
Help on Serial Port | 01/01/70 00:00 | |
Try polling the TI flag before writing to SBUF.. | 01/01/70 00:00 | |
What is polling ? | 01/01/70 00:00 | |
Re: what is polling.. | 01/01/70 00:00 | |
Re: what is polling | 01/01/70 00:00 | |
Polling ... | 01/01/70 00:00 | |
While I don't normally mind.. | 01/01/70 00:00 | |
Detailed answers | 01/01/70 00:00 | |
if you want help ... | 01/01/70 00:00 | |
How to post legible source code | 01/01/70 00:00 | |
Posting source code | 01/01/70 00:00 | |
Re: if you want help ... | 01/01/70 00:00 | |
some errors | 01/01/70 00:00 | |
Re: some errors | 01/01/70 00:00 | |
Is it working if | 01/01/70 00:00 | |
Worked !!! | 01/01/70 00:00 | |
dont forget RI | 01/01/70 00:00 |