The following should be applicable to ST family (os/common/ext/ST/) with TSTTR & TSSO defined.
Assuming 17.6.3, changes should be:
Code: Select all
#define ETH_PTPTSSR_TSTTR 0x00000002U /* Time stamp target time reached */
#define ETH_PTPTSSR_TSSO 0x00000001U /* Time stamp seconds overflow */
In 18.2.1 the position offsets should change to:
Code: Select all
#define ETH_PTPTSSR_TSTTR_Pos (1U)
#define ETH_PTPTSSR_TSSO_Pos (0U)
Raul