![]() |
DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
| Task (const std::string &name, Tasks::Context &ctx) | |
| ~Task (void) | |
| void | onResourceRelease (void) |
| void | onResourceAcquisition (void) |
| void | onResourceInitialization (void) |
| void | setBackLight (bool state) |
| void | setDisplay (bool state) |
| void | checkBacklight (void) |
| void | enableBacklight (void) |
| void | setCursor (unsigned col, unsigned row) |
| void | clear (void) |
| void | sendByte (uint8_t reg, uint8_t byte) |
| void | writeNibble (uint8_t value, uint8_t pin=0x00) |
| void | writeByte (uint8_t value, uint8_t pin=0x00) |
| void | writeChar (char value) |
| void | write (const char *str) |
| void | writeLine (const char *str, unsigned nr=0) |
| void | refresh (void) |
| void | consume (const IMC::LcdControl *msg) |
| void | onMain (void) |
Public Attributes | |
| Arguments | m_args |
| Hardware::I2C * | m_i2c |
| std::string | m_lines [2] |
| std::string | m_last_lines [2] |
| double | m_last_refresh |
| Hardware::GPIO * | m_blight |
| double | m_blight_time |
| bool | m_blight_state |
| bool | m_display_state |
Static Public Attributes | |
| static const uint8_t | c_addr |
| static const unsigned | c_row_size |
|
inline |
|
inline |
|
inline |
References UserInterfaces::LCD::Arguments::blight_tout.
|
inline |
References UserInterfaces::LCD::INST_CLEAR.
|
inline |
|
inline |
|
inline |
References UserInterfaces::LCD::Arguments::idle_time.
|
inline |
|
inline |
References UserInterfaces::LCD::BIT_DISPC_DISP, UserInterfaces::LCD::BIT_EMSET_INC, UserInterfaces::LCD::BIT_FNSET_CF5X8, UserInterfaces::LCD::BIT_FNSET_DATL4, UserInterfaces::LCD::BIT_FNSET_DATL8, UserInterfaces::LCD::BIT_FNSET_DLIN2, UserInterfaces::LCD::INST_DISPC, UserInterfaces::LCD::INST_EMSET, UserInterfaces::LCD::INST_FNSET, UserInterfaces::LCD::REG_GPIO, and UserInterfaces::LCD::REG_IODIR.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References UserInterfaces::LCD::INST_DDRAM.
|
inline |
References UserInterfaces::LCD::BIT_DISPC_DISP, and UserInterfaces::LCD::INST_DISPC.
|
inline |
|
inline |
|
inline |
References UserInterfaces::LCD::PIN_RS.
|
inline |
|
inline |
References UserInterfaces::LCD::PIN_EN, and UserInterfaces::LCD::REG_GPIO.
|
static |
|
static |
| Arguments UserInterfaces::LCD::Task::m_args |
| Hardware::GPIO* UserInterfaces::LCD::Task::m_blight |
| bool UserInterfaces::LCD::Task::m_blight_state |
| double UserInterfaces::LCD::Task::m_blight_time |
| bool UserInterfaces::LCD::Task::m_display_state |
| Hardware::I2C* UserInterfaces::LCD::Task::m_i2c |
| std::string UserInterfaces::LCD::Task::m_last_lines[2] |
| double UserInterfaces::LCD::Task::m_last_refresh |
| std::string UserInterfaces::LCD::Task::m_lines[2] |
