About startingsample and endingsample

A single Frame cannot have *mStartingSampleInclusive* and *mEndingSampleInclusive* be equal.
This commit is contained in:
timreyes
2022-04-29 18:03:14 -05:00
committed by GitHub
parent aad92edda5
commit 85d92300c0

View File

@@ -866,7 +866,11 @@ A *Frame* is an object, with fairly generic member variables which can be used t
};
A *Frame* represents a piece of information conveyed by your protocol over an expanse of time. The
member variables *mStartingSampleInclusive* and *mEndingSampleInclusive* are the sample numbers for the beginning and end of the *Frame*. Note that Frames may not overlap; they cannot even share the same sample. For example, if a single clock edge ends one Frame, and starts a new Frame, then youll need to add one (+1) to the *mStartingSampleInclusive* of the second frame.
member variables *mStartingSampleInclusive* and *mEndingSampleInclusive* are the sample numbers for the beginning and end of the *Frame*.
Please note the following:
- Frames may not overlap and they cannot share the same sample. For example, if a single clock edge ends one Frame, and starts a new Frame, then youll need to add one (+1) to the *mStartingSampleInclusive* of the second frame.
- A single Frame cannot have *mStartingSampleInclusive* and *mEndingSampleInclusive* be equal. They must be at least 1 sample apart.
In addition, the *Frame* can carry two 64-bit numbers as data. For example, in SPI, one of these is used for the MISO result, and the other for the MISO result. Often times youll only use one of these variables.