RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Macros | Functions

This source file contains the implementation of the or1k Clock Driver. 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(arg)   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)
 Gets the current CPU counter value.
 

Detailed Description

This source file contains the implementation of the or1k Clock Driver.