Definition at line 1478 of file ftmctrl.cc.
References Error(), EventImp::GetSize(), and EventImp::Ptr().
Referenced by StateMachineFTM< T, S >::StateMachineFTM().
1481 return T::kSM_FatalError;
1483 const uint32_t *dat = evt.
Ptr<uint32_t>();
1485 if (dat[1]>uint16_t(-1))
1488 msg << hex <<
"Value " << dat[1] <<
" out of range.";
1490 return T::GetCurrentState();
1494 if (dat[0]>uint16_t(-1) || !
fFTM.CmdSetRegister(dat[0], dat[1]))
1497 msg << hex <<
"Address " << dat[0] <<
" out of range.";
1501 return T::GetCurrentState();
bool CheckEventSize(size_t has, const char *name, size_t size)
const T * Ptr(size_t offset=0) const
virtual size_t GetSize() const