|
| uint16_t | address_: 14 |
| | Track address. largest address allowed is 10239.
|
| |
| uint16_t | isShortAddress_: 1 |
| | 1 if this is a short address train.
|
| |
| uint16_t | direction_: 1 |
| | 0: forward, 1: reverse
|
| |
| uint16_t | lastSetSpeed_: 16 |
| | fp16 value of the last set speed.
|
| |
| unsigned | fn_: 29 |
| | functions f0-f28.
|
| |
| uint8_t | nextRefresh_: 3 |
| | Which refresh packet should go out next.
|
| |
| uint8_t | isEstop_: 1 |
| | 1 if the last speed set was estop.
|
| |
| uint8_t | directionChanged_: 1 |
| | Whether the direction change packet still needs to go out.
|
| |
| uint8_t | f0SetDirectional_: 1 |
| | 1 if the F0 function should be set/get in a directional way.
|
| |
| uint8_t | f0OnForward_: 1 |
| | 1 if directional f0 is used and f0 is on for F.
|
| |
| uint8_t | f0OnReverse_: 1 |
| | 1 if directional f0 is used and f0 is on for R.
|
| |
| uint8_t | f0BlankForward_: 1 |
| | 1 if F0 should be turned off when dir==forward.
|
| |
| uint8_t | f0BlankReverse_: 1 |
| | 1 if F0 should be turned off when dir==reverse.
|
| |
| uint8_t | speed_: 7 |
| | Speed step we last set.
|
| |
| uint8_t | fhi_ [5] |
| | f29-f68 state.
|
| |
Structure defining the volatile state for a 28-speed-step DCC locomotive.
Definition at line 461 of file Loco.hxx.