RTEMS 6.1-rc5
|
This source file contains a Clock Driver implementation using the Xilinx Triple Timer Counter (TTC). More...
#include <bsp.h>
#include <bsp/irq-generic.h>
#include <bsp/fatal.h>
#include <dev/clock/xttcps_hw.h>
#include <rtems/sysinit.h>
#include <rtems/timecounter.h>
#include <rtems/score/processormaskimpl.h>
#include "../../../shared/dev/clock/clockimpl.h"
Data Structures | |
struct | xil_ttc_timecounter |
Functions | |
uint32_t | _CPU_Counter_frequency (void) |
Gets the current CPU counter frequency in Hz. | |
CPU_Counter_ticks | _CPU_Counter_read (void) |
Gets the current CPU counter value. | |
RTEMS_SYSINIT_ITEM (xil_ttc_initialize, RTEMS_SYSINIT_CPU_COUNTER, RTEMS_SYSINIT_ORDER_MIDDLE) | |
This source file contains a Clock Driver implementation using the Xilinx Triple Timer Counter (TTC).