driver: display: Clarified byte order of pixel formats

Clarified that the byte order of multi byte pixel formats is in big
endian order.

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
Jan Van Winkel 2020-01-16 22:22:27 +01:00 committed by Maureen Helm
commit ecaa7102d2

View file

@ -27,6 +27,14 @@
extern "C" {
#endif
/**
* @brief Display pixel formats
*
* Display pixel format enumeration.
*
* In case a pixel format consists out of multiple bytes the byte order is
* big endian.
*/
enum display_pixel_format {
PIXEL_FORMAT_RGB_888 = BIT(0),
PIXEL_FORMAT_MONO01 = BIT(1), /* 0=Black 1=White */