10.07.2015 Views

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>PITSet100usPeriod -- Set periodic interrupt timer period in 100us ticksDescription:Prototype:Inputs:This function specifies how often the PIT interrupts in units of 100 µs. Because the register thatholds the period is only 8 bits, this function can only specify delays of 100µs to 25.5ms. Whenthis function is called it not only sets the period but actually starts the timer and the choresbegin.void PITSet100usPeriod(uchar per100us);per100us is the number of 100µs intervals between PIT interrupts.PITSet51msPeriod -- Set periodic interrupt timer period in 51ms ticksDescription:Prototype:Inputs:This function specifies how often the PIT interrupts in units of 51 ms. This function is providedbecause PITSet100usPeriod can only provide delays of up to 25.5 ms. This function expands thatrange by allowing you to specify delays of 51ms to 13s. When this function is called, it not onlysets the period but actually starts the timer and the chores begin.void PITSet51msPeriod(uchar per51ms);per51ms is the number of 51ms intervals between PIT interrupts.PERSISTOR<strong>Instruments</strong> <strong>Inc</strong>.26 of 84<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>7/19/2005

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

Saved successfully!

Ooh no, something went wrong!