LPC1343 ROM USB HID support: What does SampleInterval do?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1343 ROM USB HID support: What does SampleInterval do?

627 Views
kevinmartin
Contributor I

I'm using the ROM USB driver on the LPC1343 to implement a custom HID device. One of the fields supplied to the "init" method is called "SampleInterval" and is described as "Interrupt endpoint (IN and OUT) sample interval in ms."

In my mind, use of interrupts and sampling are pretty much polar opposites so I'm having trouble making any sense whatsoever from this description.

Does anyone have any clues on what these do?

Labels (1)
0 Kudos
Reply
1 Reply

520 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Kevin Martin,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Hope the Fig 1 can answer your question.

pastedImage_1.png

Fig 1


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply