13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• I8090_ENCODER32_ISRDescription:This function is used to calculate the pulse value between present and last time witha ”long” type format. Therefore, I8090_ENCODER32_ISR() function should be executedperiodically (2~10ms) using the timer interrupt or <strong>manual</strong> method.Syntax:[ C ]void I8090_ENCODER32_ISR(unsigned char cardNo)Parameter:cardNo : [Input] Specify the LinPAC-8000 slot (Range: 1 to 8).Return Value:NoneExample:unsigned char slot;long data;i8090_ENCODER32_ISR(slot); // should be called in 2~20ms.data=I8090_GET_ENCODER32(slot, X_axis);Remark:This function can be applied on module: I-8090.LinPAC-8x4x SDK:210

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!