| ??? 05/23/03 19:36 Read: times |
#46504 - RE: MY project Details Responding to: ???'s previous message |
If you implement the rolling buffer, then when you do the MAC loop yiou would need an I and a J index one which leads the other by the offset in the roll buffer where the newest data is located. The offsettrd pointer will also need wrapping logic as well. Since you use table lengths of 16 entries handling the index wrap can be as easy as an AND with a mask of 0x0F.
Michael Karas |



