RTEMS  5.0.0
Macros | Functions
clockdrv.c File Reference

or1k clock support. More...

#include <rtems.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/generic_or1k.h>
#include <rtems/score/cpu.h>
#include <rtems/score/or1k-utility.h>
#include <rtems/timecounter.h>
#include "../../../shared/dev/clock/clockimpl.h"

Macros

#define TTMR_NUM_OF_CLOCK_TICKS_INTERRUPT   0x09ED9
 
#define OR1K_CLOCK_CYCLE_TIME_NANOSECONDS   10
 
#define Clock_driver_support_at_tick()   generic_or1k_clock_at_tick()
 
#define Clock_driver_support_initialize_hardware()   generic_or1k_clock_initialize()
 
#define Clock_driver_support_install_isr(isr)   generic_or1k_clock_handler_install(isr)
 

Functions

CPU_Counter_ticks _CPU_Counter_read (void)
 Returns the current CPU counter value. More...
 

Detailed Description

or1k clock support.