Reading a register


The device that I have requests me to read it's 8-bit register. Is there any way of decoding the byte into bits? Every bit of the byte represents something, so I have to call a function depending on the bits value.

Thank you, RobertEagle

Have you tried bitRead?

No. Actually, never heard of this. How does it look like?

Get it. Is there a way of measuring how many cycles does this function take?

Call it a few times and see how long it takes.