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.
Dependents: mDotEVBM2X MTDOT-EVB-LinkCheck-AL MTDOT-EVBDemo-DRH MTDOT_BOX_EVB_LCD_Helloworld ... more
DOGS102 Class Reference
Using the Multitech MTDOT-EVB. More...
#include <DOGS102.h>
Public Types | |
| enum | DATAMASKS |
collection of data masks for commands More... | |
Public Member Functions | |
| DOGS102 (SPI &spi, DigitalOut &spi_cs, DigitalOut &cmnd_data) | |
| Create the DOGS102 object. | |
| void | clearBuffer (void) |
| Clears the buffer memory This commands clears the display buffer if Update flag is set it clears the display directly if Update flagis cleared. | |
| uint8_t | getUpdateState (void) |
| Gets state of update semaphore. | |
Detailed Description
Using the Multitech MTDOT-EVB.
Example:
#include "mbed.h" #include "DOGS102.h" int main() { }
API abstraction for the DOGS102 Liquid Crystal Graphics Display initial version will be polling only. Interrupt service will be added at a later point
Definition at line 72 of file DOGS102.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| DOGS102 | ( | SPI & | spi, |
| DigitalOut & | spi_cs, | ||
| DigitalOut & | cmnd_data | ||
| ) |
Create the DOGS102 object.
- Parameters:
-
spi - A defined SPI object spi_cs - a defined DigitalOut connected to CS pin of LCD cmnd_data - a defined Digitalout connected to Command/Data pin of LCD
Definition at line 33 of file DOGS102.cpp.
Member Function Documentation
| void clearBuffer | ( | void | ) |
Clears the buffer memory This commands clears the display buffer if Update flag is set it clears the display directly if Update flagis cleared.
Definition at line 58 of file DOGS102.cpp.
| uint8_t getUpdateState | ( | void | ) |
Gets state of update semaphore.
- Returns:
- update semaphore flag state 0 = direct update of LCD >0 is update LCD buffer only
Definition at line 169 of file DOGS102.cpp.
Generated on Sat Jul 16 2022 10:59:31 by
1.7.2