Definition at line 1822 of file drivectrl.cc.
References Error(), EventImp::Get(), and EventImp::GetSize().
Referenced by StateMachineDrive< T, S >::StateMachineDrive().
1826 return T::kSM_FatalError;
1828 const uint16_t
node = evt.
Get<uint16_t>();
1829 const uint16_t index = evt.
Get<uint16_t>(2);
1830 const uint16_t subidx = evt.
Get<uint16_t>(4);
1832 if (node!=1 && node !=3)
1834 T::Error(
"Node id must be 1 (az) or 3 (zd).");
1835 return T::GetCurrentState();
1840 T::Error(
"Subindex must not be larger than 255.");
1841 return T::GetCurrentState();
1844 fDrive.RequestSdo(node, index, subidx);
1846 return T::GetCurrentState();
T Get(size_t offset=0) const
bool CheckEventSize(size_t has, const char *name, size_t size)
virtual size_t GetSize() const