RTEMS  5.0.0
Macros | Functions | Variables
clock.c File Reference

Source file for a clock driver. More...

#include <rtems.h>
#include <rtems/clockdrv.h>
#include <rtems/timecounter.h>
#include <libcpu/powerpc-utility.h>
#include <bsp/vectors.h>
#include <rtems/status-checks.h>

Macros

#define RTEMS_STATUS_CHECKS_USE_PRINTK
 
#define PPC405_PIT   0x3db
 
#define PPC_CLOCK_DECREMENTER_MAX   UINT32_MAX
 

Functions

void Clock_exit (void)
 
rtems_device_driver Clock_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
 

Variables

uint32_t bsp_time_base_frequency
 
volatile uint32_t Clock_driver_ticks = 0
 

Detailed Description

Source file for a clock driver.