RTEMS 6.1-rc1
Data Structures | Macros | Functions

Triple Timer Counter clock functions definitions. More...

#include <stdlib.h>
#include <rtems.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <peripheral_maps/xilinx_zynqmp.h>
#include <dev/clock/xttcps_hw.h>
#include <rtems/timecounter.h>
#include "../../../shared/dev/clock/clockimpl.h"

Data Structures

struct  ttc_clock_context
 

Macros

#define TTC_REFERENCE_CLOCK   100000000
 
#define Clock_driver_support_at_tick    zynqmp_ttc_clock_driver_support_at_tick
 
#define Clock_driver_support_initialize_hardware    zynqmp_ttc_clock_driver_support_initialize_hardware
 
#define Clock_driver_support_install_isr(Clock_isr)    zynqmp_ttc_clock_driver_support_install_isr( Clock_isr )
 

Functions

uint32_t _CPU_Counter_frequency (void)
 Gets the current CPU counter frequency in Hz. More...
 
CPU_Counter_ticks _CPU_Counter_read (void)
 Gets the current CPU counter value. More...
 

Detailed Description

Triple Timer Counter clock functions definitions.