I am working in Matlab Environment and using Embedded Coder.
Optical encoder is used to measure the speed of induction motor. I do not intend to consider the direction of the motor so utilizing only one signal from encoder. I am using eCAP block from the TI blocksets to get the pulse duration of the encoder signal. My concern is what the output of the block "TS" will give me? Duration in counts or seconds or it is just the Timestamp (Count value from the start of capture module)?? Thanks in advance.