RtGetHalTimerPeriodCounts
RtGetHalTimerPeriodCounts retrieves the APIC counts per eRTOS HAL timer period.
Syntax
bool RtGetHalTimerPeriodCounts(
ULONG *pPeriodicCounts,
ULONG *pPeriodicCountsBase
);
Parameters
pPeriodicCounts
A pointer to an ULONG in which to store the current APIC counts per eRTOS HAL timer period.
pPeriodicCountsBase
A pointer to an ULONG in which to store the base APIC counts per eRTOS HAL timer period.
Return Value
If the function succeeds, it returns true. If the function fails, it returns false. Call GetLastError for additional error information.
Remarks
RtGetHalTimerPeriodCounts retrieves the current APIC counts per eRTOS HAL time period together with the base APIC counts per eRTOS HAL timer period. The base APIC counts are computed based on the APIC timer frequency and HAL timer period during eRTOS startup.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: