Hello Victor,
no, it was not a 4-bits bitmap drawing function, that I asked for.
It was about the GUIDRV_Lin driver from emWin. I think this is the most common driver to be used, because it is (accordung to the emWin Manual):
This driver supports every display controller with linear address-able video memory with a direct (full bus) interface. This means that the video RAM is directly addressable by the address lines of the CPU.
The driver contains no controller specific code. So it can also be used for solutions without display controller which require a driver which only manages the video RAM.
It seems that in the pre-compiled emWin library which comes with SDK for NXP MCUXpresso IDE not all useful combinations of color depth and display orientation are included.
E.g. drivers for 8-bit and 16-bit colors with all possible display rotations are included.
For 4 bit color only the driver in the default orientation (landscape) is available. Although it is clear from the header file and also from emWin manual, that for 4 bit color also the display rotations are possible:
#define GUIDRV_LIN_4 &GUIDRV_Lin_4_API
#define GUIDRV_LIN_OY_4 &GUIDRV_Lin_OY_4_API
#define GUIDRV_LIN_OX_4 &GUIDRV_Lin_OX_4_API
#define GUIDRV_LIN_OXY_4 &GUIDRV_Lin_OXY_4_API
#define GUIDRV_LIN_OS_4 &GUIDRV_Lin_OS_4_API
#define GUIDRV_LIN_OSY_4 &GUIDRV_Lin_OSY_4_API
#define GUIDRV_LIN_OSX_4 &GUIDRV_Lin_OSX_4_API
#define GUIDRV_LIN_OSXY_4 &GUIDRV_Lin_OSXY_4_API
Works only default orientation: GUIDRV_LIN_4.
Other drivers were not included into the pre-compiled library from emWin.
Do not think also that this request is very specific: the internal RAM from MCU is only 160 kB. With display resolution 480 x 272 and color depth 8 bit only frame buffer alone is 130560 bytes.
I think that 4 bit color drivers could be interesting for everyone who want to go without external memory chips.