MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > leColorChannelRed Function
MPLAB® Harmony Graphics Suite
leColorChannelRed Function
C
LIB_EXPORT uint32_t leColorChannelRed(
    leColor clr, 
    leColorMode mode
);
Parameters
Parameters 
Description 
leColor 
the source color value 
leColorMode 
the source color mode 
Returns

uint32_t - the red color channel

MPLAB® Harmony Graphics Suite