The Inverter class represents an inverter in the system, handling communication of actual values and setpoints via CAN.
More...
#include <Inverter.hpp>
The Inverter class represents an inverter in the system, handling communication of actual values and setpoints via CAN.
◆ Inverter()
| Inverter::Inverter |
( |
const uint16_t | t_nodeAddress | ) |
|
Constructs an Inverter object with the specified node address.
- Parameters
-
| t_nodeAddress | The CAN node address of the inverter. |
◆ activate()
| void Inverter::activate |
( |
| ) |
|
Activates the inverter, setting it to an operational state.
◆ checkStatus()
| void Inverter::checkStatus |
( |
| ) |
|
Checks the status bits of the inverter and updates its state.
◆ deactivate()
| void Inverter::deactivate |
( |
| ) |
|
Deactivates the inverter, putting it into a safe, inactive state.
◆ getActualValues1()
Returns the actual values 1 of the inverter.
- Returns
- A copy of the ActualValues1 structure of the inverter.
◆ getActualValues2()
Returns the actual values 2 of the inverter.
- Returns
- A copy of the ActualValues2 structure of the inverter.
◆ getNodeAddress()
| uint16_t Inverter::getNodeAddress |
( |
| ) |
const |
Returns the node address of the inverter.
- Returns
- The CAN node address of the inverter.
◆ getSetpoints1()
Returns the setpoints 1 of the inverter.
- Returns
- A copy of the Setpoints1 structure of the inverter.
◆ getState()
Returns the state of the inverter.
- Returns
- The current state of the inverter.
◆ setActualValues1()
Sets the actual values 1 for the inverter.
- Parameters
-
◆ setActualValues2()
Sets the actual values 2 for the inverter.
- Parameters
-
◆ setSetpoints1()
| void Inverter::setSetpoints1 |
( |
Setpoints1 | t_setpoints1 | ) |
|
Sets the setpoints 1 for the inverter.
- Parameters
-
The documentation for this class was generated from the following files:
- /Users/filippo/Documents/PlatformIO/Projects/AMK_motor_drive_software/include/Inverter.hpp
- /Users/filippo/Documents/PlatformIO/Projects/AMK_motor_drive_software/src/Inverter.cpp