DUNE: Uniform Navigational Environment
2019.02.1
|
Classes | |
struct | BatManData |
Public Member Functions | |
DriverBatMan (DUNE::Tasks::Task *task, SerialPort *uart, Poll poll, int numberCell) | |
~DriverBatMan (void) | |
void | resetStateNewData (void) |
bool | getVersionFirmware (void) |
bool | initBatMan (int cellNumber, float scale) |
bool | startAcquisition (void) |
bool | stopAcquisition (void) |
bool | sendCommand (const char *cmd, const char *reply) |
void | sendCommandNoRsp (const char *cmd) |
bool | haveNewData (void) |
std::string | getFirmwareVersion (void) |
Public Attributes | |
SerialPort * | m_uart |
Poll | m_poll |
int | m_numberCell |
BatManData | m_batManData |
|
inline |
References resetStateNewData().
|
inline |
|
inline |
References Power::BATMANv2::DriverBatMan::BatManData::firmVersion, and m_batManData.
Referenced by Power::BATMANv2::Task::initBoard().
|
inline |
References sendCommand().
Referenced by Power::BATMANv2::Task::initBoard().
|
inline |
References Power::BATMANv2::DriverBatMan::BatManData::cell_volt, Power::BATMANv2::DriverBatMan::BatManData::current, Power::BATMANv2::DriverBatMan::BatManData::d_cap, Power::BATMANv2::DriverBatMan::BatManData::f_cap, Power::BATMANv2::DriverBatMan::BatManData::health, m_batManData, m_numberCell, Power::BATMANv2::DriverBatMan::BatManData::r_cap, Power::BATMANv2::DriverBatMan::BatManData::state_new_data, Power::BATMANv2::DriverBatMan::BatManData::temperature, Power::BATMANv2::DriverBatMan::BatManData::time_empty, Power::BATMANv2::DriverBatMan::BatManData::time_full, and Power::BATMANv2::DriverBatMan::BatManData::voltage.
Referenced by Power::BATMANv2::Task::onMain().
|
inline |
References sendCommand().
Referenced by Power::BATMANv2::Task::initBoard().
|
inline |
References m_batManData, and Power::BATMANv2::DriverBatMan::BatManData::state_new_data.
Referenced by Power::BATMANv2::Task::dispatchData(), and DriverBatMan().
|
inline |
References Power::BATMANv2::DriverBatMan::BatManData::firmVersion, and m_batManData.
Referenced by getVersionFirmware(), initBatMan(), startAcquisition(), and stopAcquisition().
|
inline |
Referenced by Power::BATMANv2::Task::initBoard(), and Power::BATMANv2::Task::onMain().
|
inline |
References sendCommand().
Referenced by Power::BATMANv2::Task::initBoard().
|
inline |
References sendCommand().
Referenced by Power::BATMANv2::Task::onMain(), and Power::BATMANv2::Task::onResourceInitialization().
BatManData Power::BATMANv2::DriverBatMan::m_batManData |
Referenced by Power::BATMANv2::Task::dispatchData(), getFirmwareVersion(), haveNewData(), resetStateNewData(), and sendCommand().
int Power::BATMANv2::DriverBatMan::m_numberCell |
number of cell to read
Referenced by haveNewData().
Poll Power::BATMANv2::DriverBatMan::m_poll |
Interrupt/Poll for serial port.
SerialPort* Power::BATMANv2::DriverBatMan::m_uart |
Serial port.