RTEMS 6.3
Loading...
Searching...
No Matches
clock.c File Reference

This source file contains the Clock Driver implementation. More...

#include <bsp.h>
#include <bsp/fatal.h>
#include <bsp/irq.h>
#include <bsp/tms570.h>
#include <rtems/counter.h>
#include <rtems/sysinit.h>
#include <rtems/timecounter.h>
#include "../../../shared/dev/clock/clockimpl.h"

Macros

#define Clock_driver_support_initialize_hardware()
#define Clock_driver_support_at_tick(arg)
#define Clock_driver_support_install_isr(handler)

Functions

uint32_t _CPU_Counter_frequency (void)
CPU_Counter_ticks _CPU_Counter_read (void)
 RTEMS_SYSINIT_ITEM (tms570_rti_initialize, RTEMS_SYSINIT_CPU_COUNTER, RTEMS_SYSINIT_ORDER_MIDDLE)

Detailed Description

This source file contains the Clock Driver implementation.

Macro Definition Documentation

◆ Clock_driver_support_at_tick

#define Clock_driver_support_at_tick ( arg)
Value:
tms570_clock_driver_support_at_tick(arg)

◆ Clock_driver_support_initialize_hardware

#define Clock_driver_support_initialize_hardware ( void)
Value:
tms570_clock_driver_support_initialize_hardware()

◆ Clock_driver_support_install_isr

#define Clock_driver_support_install_isr ( handler)
Value:
tms570_clock_driver_support_install_isr(handler)