h/w level communication with LCD
Should be defined in user code. Takes care of transmitting data to the lcd. Must take care of all timings and other h/w stuff. May be called with no delays so should be blocking.
- Parameters:
-
| data_type | Type of data passed to the lcd. Some data type may require special treatment during transmission (such as additional pin set or cleared) |
| buffer | pointer to buffer (of type unsigned char *) with data to be transmitted |
| buf_length | number of bytes stored in buffer to be transmitted |
- Return values:
-
| LCDGRAPH_OK | if all is ok |
| LCDGRAPH_TRANSMIT_FAIL | if h/w error occured |