SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
A DriverLib function has been provided to apply the scale factor to a capture value, HRCAP_getEventTimeStampNanoseconds(). Equation 19 shows how to convert a raw count to seconds without using the DriverLib function.

| Parameter | Explanation |
|---|---|
| RawCount | Capture value as read from ECAP_REGS_CAP1-4 |
| ScaleFactor(1) | The Scale factor as calculated from Equation 19 |
| 128 | Constant determined by the hardware of the HRCAP submodule |
| SysClkPrd(nS) | Period of the system clock |
| Measurement(nS) | Signal converted to nS |