Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 38:38d503b4fad6
- Parent:
- 37:f19b7e7449dc
- Child:
- 40:04aa280dfa39
--- a/RA8875.h Sat Jan 25 19:47:33 2014 +0000 +++ b/RA8875.h Sat Jan 25 21:18:03 2014 +0000 @@ -135,6 +135,16 @@ /// at startup, and not at runtime. //~RA8875(); + /// Write a command to the display with a word of data. + /// + /// This is a high level command, and may invoke several primitives. + /// + /// @param command is the command to write. + /// @param data is data to be written to the command register. + /// @returns success/failure code. @see RetCode_t. + /// + RetCode_t WriteCommandW(uint8_t command, uint16_t data); + /// Write a command to the display /// /// This is a high level command, and may invoke several primitives. @@ -146,6 +156,15 @@ /// virtual RetCode_t WriteCommand(unsigned char command, unsigned int data = 0xFFFF); + /// Write a data word to the display + /// + /// This is a high level command, and may invoke several primitives. + /// + /// @param data is the data to write. + /// @returns success/failure code. @see RetCode_t. + /// + RetCode_t WriteDataW(uint16_t data); + /// Write a data byte to the display /// /// This is a high level command, and may invoke several primitives. @@ -206,13 +225,13 @@ /// /// @returns screen width in pixels. /// - virtual uint16_t width(void); + virtual dim_t width(void); /// get the screen height in pixels /// /// @returns screen height in pixels. /// - virtual uint16_t height(void); + virtual dim_t height(void); /// Set cursor position based on the current font size. ///