3.4 Macro definition documentation
3.4.1 #define STALS_ALS_MAX_CHANNELS 6
Constants number of channels of the STALS
3.5 Enumeration type documentation
3.5.1 enum STALS_Channel_Id_t
Constants listing the channels of the device.
Enumerator
STALS_CHANNEL_1 lists the value of channel 1
STALS_CHANNEL_2 lists the value of channel 2
STALS_CHANNEL_3 lists the value of channel 3
STALS_CHANNEL_4 lists the value of channel 4
STALS_CHANNEL_5 lists the value of channel 5
STALS_CHANNEL_6 lists the value of channel 6
Table 38. VD6283 channel code
Channel number Filter color
Channel 1 Red
Channel 2 Visible
Channel 3 Blue
Channel 4 Green
Channel 5 IR
Channel 6 Clear
3.5.2 enum STALS_Color_Id_t
Constants listing the color light. This is used by the STALS_GetChannelColor function to get what color filters set
on the channels
Enumerator
STALS_COLOR_IR indicates color IR is set
STALS_COLOR_RED indicates color RED is set
STALS_COLOR_GREEN indicates color GREEN is set
STALS_COLOR_BLUE indicates color BLUE is set
STALS_COLOR_UV indicates UV filter - not available on VD6283
STALS_COLOR_CLEAR indicates clear filter is set
STALS_COLOR_CLEAR_IR_CUT indicates clear filter with ir cut is set
STALS_COLOR_DARK indicates opaque filter is set
STALS_COLOR_INVALID indicates channel is invalid and cannot be used
UM2878
Macro definition documentation
UM2878 - Rev 1
page 18/27