The SEND_COLOR/RCV_COLOR
device pair is part of the CODEC_TEST
system configuration. It utilizes instances of IN_COLOR and OUT_COLOR for input
and output of transmitted data, respectively.
In this example, various COLOR
values (ASN.1 tag of C2 hexadecimal) are transmitted. The
data is encoded as a Red/Green/Blue (RGB) value contained in a 32-bit
integer, with a most significant byte (MSB) of
FF
hexadecimal and successive bytes representing the R, G and B values,
respectively, as shown below. |
|
![]() |
![]() |
![]() |
![]() |