Skip to main content

RX_BUFFER_NB_BYTES_MSB

Constant RX_BUFFER_NB_BYTES_MSB 

Source
pub const RX_BUFFER_NB_BYTES_MSB: Register;
Expand description

How many bytes the receive buffer is holding, the high bits of the count.

Read this pair twice and take the larger answer. A read of the two bytes can report a count below the true one, and the reference guards against it the same way.