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

ctl_byte_queue_post_multi_uc posts n bytes to the byte queue pointed to by q. The caller will unconditionally block until all bytes are posted.

Note

ctl_byte_queue_post_multi_uc must not be called from an interrupt service routine.

ctl_byte_queue_post_multi_uc does not guarantee that the bytes will be all be posted to the byte queue atomically. If you have multiple tasks posting (multiple bytes) to the same byte queue then you may get unexpected results.