Visible to Intel only — GUID: mwh1416946776814
Ixiasoft
Visible to Intel only — GUID: mwh1416946776814
Ixiasoft
7.9. Using Timer Devices
The HAL API provides two types of timer device drivers:
- System clock driver—Supports alarms, such as you would use in a scheduler.
- Timestamp driver—Supports high-resolution time measurement.
An individual timer peripheral can behave as either a system clock or a timestamp, but not both.
For more information about where the HAL-specific API functions for accessing timer devices are defined, refer to the sys/alt_alarm.h and sys/alt_timestamp.h files.