Synopsis
void ctl_byte_queue_receive_multi_uc(CTL_BYTE_QUEUE_t *q,
                                     unsigned n,
                                     unsigned char *b);
Description

ctl_byte_queue_receive_multi_uc pops the oldest n bytes in the byte queue pointed to by q into the memory pointed at by b. ctl_byte_queue_receive_multi_uc will unconditionally block until all bytes are received.

Note

ctl_byte_queue_receive_multi_uc must not be called from an interrupt service routine.