purpose of loop_until_bit_is_set

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey everyone.

It's me again! I'm going through some more online manuals, and I've come across an I/O API called loop_until_bit_is_set. I've done some experimenting with it but still don't know what its purpose is. Could someone please tell me. Thanks in advance.

Anita

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It could be the fastest way to detect edge signal, waiting for external ADC 'ready' for example. Faster then interrupt on edge. You wait until something is ready and proceed next with minimal latency.

admin's test signature