TouchGFX + 0/4 examples
CodeScope will show references to touchgfx::colortype::getColor32() const from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::colortype::getColor32() const

touchgfx::colortype::getColor32() const method

@fn inline uint32_t getColor32() const Gets color 32 as a 32bit value suitable for passing to Color::getRedColor(), Color::getGreenColor() and Color::getBlueColor() which will handle both 16 bit colortypes and 24 bit colortypes. @see Color::getRedColor() @see Color::getGreenColor() @see Color::getBlueColor()

Syntax

inline uint32_t getColor32() const;

Return value

The color 32.

Examples

touchgfx::colortype::getColor32() const is referenced by 4 libraries and example projects.

References

LocationReferrerScopeText
Types.hpp:117
inline uint32_t getColor32() const
Color.hpp:70touchgfx::Color::getRedColor()touchgfx::Color
return bitDepth == 16 ? ((color & 0xF800) >> 8) : bitDepth == 24 ? ((color.getColor32() >> 16) & 0xFF) : bitDepth == 4 ? ((color & 0xF) * 0x11) : bitDepth == 2 ? ((color & 0x3) * 0x55) : 0;
Color.hpp:87touchgfx::Color::getGreenColor()touchgfx::Color
return bitDepth == 16 ? ((color & 0x07E0) >> 3) : bitDepth == 24 ? ((color.getColor32() >> 8) & 0xFF) : bitDepth == 4 ? ((color & 0xF) * 0x11) : bitDepth == 2 ? ((color & 0x3) * 0x55) : 0;
Color.hpp:104touchgfx::Color::getBlueColor()touchgfx::Color
return bitDepth == 16 ? ((color & 0x001F) << 3) : bitDepth == 24 ? (color.getColor32() & 0xFF) : bitDepth == 4 ? ((color & 0xF) * 0x11) : bitDepth == 2 ? ((color & 0x3) * 0x55) : 0;

Call Tree

Functions calling touchgfx::colortype::getColor32() const
touchgfx::colortype::getColor32() const
Data read by touchgfx::colortype::getColor32() const
all items filtered out
touchgfx::colortype::getColor32() const
Type of touchgfx::colortype::getColor32() const
touchgfx::colortype::getColor32() const
uint32_t
all items filtered out