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.
Dependencies: SDFileSystem app epson mbed msp430 pl tests
pageflexenable.h
00001 // 00002 // Filename: pageflexenable.h 00003 // 00004 // Flexbook page for page A5. 00005 // 00006 00007 // include guards 00008 #ifndef PAGEFLEXENABLE_H 00009 #define PAGEFLEXENABLE_H 00010 00011 #include "page.h" 00012 #include "mbed.h" 00013 00014 namespace Flexbook 00015 { 00016 00017 class PageFlexEnable : public Page 00018 { 00019 public: 00020 // Constructor needs to be explicit. 00021 explicit PageFlexEnable(); 00022 00023 // Destructor. 00024 virtual ~PageFlexEnable(); 00025 void UpdateImage(); 00026 int numimage; 00027 00028 private: 00029 // Disable the copy constructor. 00030 PageFlexEnable(const PageFlexEnable &); 00031 00032 // Disable assignment. 00033 PageFlexEnable &operator=(const PageFlexEnable &); 00034 00035 00036 00037 // TPS65185 signals. 00038 I2C i2c; 00039 DigitalOut hven; 00040 DigitalIn hvpok; 00041 00042 // EPSON controller signals. 00043 SPI spi; 00044 DigitalOut spics; 00045 DigitalOut hirq; 00046 DigitalOut rst; 00047 DigitalOut vcom_sw; 00048 DigitalOut hdc; 00049 }; 00050 00051 } // End Flexbook namespace. 00052 00053 #endif // PAGEFLEXENABLE_H 00054 00055 00056
Generated on Tue Jul 12 2022 21:14:35 by
