FLI R
ADK
Ge tt in g S ta rt ed
The information contained herein does not contain technology as
defined by EAR,15 CFR772, is publicly available, and therefore
not subject to EAR.
13
Wire
.
beginTransmission
(
addy
);
Wire
.
write
(
regH
);
Wire
.
write
(
regL
);
Wire
.
write
(
val
);
err
=
Wire
.
endTransmission
();
if
(
err
!=
0
)
{
I2Cerror
=
1
;
}
}
byte
i2cread16
(
byte
addy
,
byte
regH
,
byte
regL
)
{
byte
err
;
byte
res
=
0
;
Wire
.
beginTransmission
(
addy
);
Wire
.
write
(
regH
);
Wire
.
write
(
regL
);
err
=
Wire
.
endTransmission
();
if
(
err
!=
0
)
{
I2Cerror
=
1
;
}
Wire
.
requestFrom
((
int
)
addy
,
(
int
)
1
,
false
);
while
(
Wire
.
available
())
{
// slave may send less than requested
res
=
Wire
.
read
();
// receive a byte
}
return
res
;
// send the byte
}
4.6
Data Format and Boson Settings for GMSL 1
The GMSL option for Boson currently supports both 8-bit and 16-bit data. Of the 24-bit CMOS
output from the Boson only the lower 8-bits are physically connected to the Serializer. 8-bit
video over GMSL is available using CMOS configurable options that utilize the lower 8 bits
(0-7) of the CMOS output. This is the standard 8-bit AGC video data output from the Boson.
For 16-bit video it is necessary to configure the CMOS output to multiplex the lower 8-bits of
the CMOS output. To do this the CMOS channel must be put in IR16 video mode and then it
must be set to Multiplex or “Double wide” mode
.
4.7
Interpreting the Multiplexed/ Double wide IR16 video