A project presents control of the HD44780 driven display where it is assumed that RW pin of the LCD is permanently connected to “Write” level (GND). The SW contains mirror(s) of the LCD display as array of characters stored within RAM.
Both read and write function can be used because writing is performed to the display and also to the array. Read functions are directed to the character array stored within RAM.
This is another library which can be used: Tutorial: HD44780 Display Driver with NXP MCUXpresso SDK | MCU on Eclipse
It supports 4bit and 8bit data bus with and without read/write.
Erich