|
| Err_t | startTest (Machine_t machineType) final |
| | Start hardware test.
|
| |
| void | loop () final |
| | Main loop for hardware tests.
|
| |
| void | helpCmd () final |
| | Help command handler.
|
| |
| void | sendCmd () final |
| | Send command handler.
|
| |
| void | beepCmd () final |
| | Beep command handler.
|
| |
| void | setSingleCmd (const uint8_t *buffer, size_t size) final |
| | Set single solenoid command handler.
|
| |
| void | setAllCmd (const uint8_t *buffer, size_t size) final |
| | Set all solenoids command handler.
|
| |
| void | readEOLsensorsCmd () final |
| | Read EOL sensors command handler.
|
| |
| void | readEncodersCmd () final |
| | Read encoders command handler.
|
| |
| void | autoReadCmd () final |
| | Auto read command handler.
|
| |
| void | autoTestCmd () final |
| | Auto test command handler.
|
| |
| void | stopCmd () final |
| | Stop command handler.
|
| |
| void | quitCmd () final |
| | Quit command handler.
|
| |
| void | encoderChange () final |
| | Interrupt service routine for encoder A.
|
| |
|
|
void | setUp () |
| | Setup for hardware tests.
|
| |
|
void | beep () const |
| | Make a beep.
|
| |
|
void | readEOLsensors () |
| | Read the End of Line sensors.
|
| |
|
void | readEncoders () const |
| | Read the Hall sensors that determine which carriage is in use.
|
| |
|
void | autoRead () |
| | Read both carriage sensors and End of Line sensors.
|
| |
|
void | autoTestEven () const |
| | Set even-numbered solenoids.
|
| |
|
void | autoTestOdd () const |
| | Set odd-numbered solenoids.
|
| |
|
void | handleTimerEvent () |
| | Timer event every 500ms to handle auto functions.
|
| |
|
|
bool | m_autoReadOn = false |
| |
|
bool | m_autoTestOn = false |
| |
|
unsigned long | m_lastTime = 0U |
| |
|
bool | m_timerEventOdd = false |
| |
|
char | buf [BUFFER_LEN] = {0} |
| |
◆ autoReadCmd()
| void Tester::autoReadCmd |
( |
| ) |
|
|
finalvirtual |
◆ autoTestCmd()
| void Tester::autoTestCmd |
( |
| ) |
|
|
finalvirtual |
◆ beepCmd()
◆ encoderChange()
| void Tester::encoderChange |
( |
| ) |
|
|
finalvirtual |
Interrupt service routine for encoder A.
Reimplemented from TesterInterface.
◆ helpCmd()
◆ loop()
◆ quitCmd()
◆ readEncodersCmd()
| void Tester::readEncodersCmd |
( |
| ) |
|
|
finalvirtual |
◆ readEOLsensorsCmd()
| void Tester::readEOLsensorsCmd |
( |
| ) |
|
|
finalvirtual |
◆ sendCmd()
◆ setAllCmd()
| void Tester::setAllCmd |
( |
const uint8_t * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
finalvirtual |
Set all solenoids command handler.
- Parameters
-
| buffer | Pointer to a data buffer. |
| size | Number of bytes of data in the buffer. |
Implements TesterInterface.
◆ setSingleCmd()
| void Tester::setSingleCmd |
( |
const uint8_t * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
finalvirtual |
Set single solenoid command handler.
- Parameters
-
| buffer | Pointer to a data buffer. |
| size | Number of bytes of data in the buffer. |
Implements TesterInterface.
◆ startTest()
| Err_t Tester::startTest |
( |
Machine_t |
machineType | ) |
|
|
finalvirtual |
Start hardware test.
- Parameters
-
- Returns
- Error code (0 = success, other values = error).
Implements TesterInterface.
References setUp().
◆ stopCmd()
The documentation for this class was generated from the following files: