RTEMS  5.0.0
Macros | Functions | Variables
clockimpl.h File Reference

Clock Tick Device Driver Shell. More...

#include <stdlib.h>
#include <bsp.h>
#include <rtems/clockdrv.h>
#include <rtems/score/percpu.h>
#include <rtems/score/smpimpl.h>
#include <rtems/score/timecounter.h>
#include <rtems/score/thread.h>
#include <rtems/score/watchdogimpl.h>

Go to the source code of this file.

Macros

#define Clock_driver_support_install_isr(isr)
 Do nothing by default.
 
#define Clock_driver_support_find_timer()
 This method is rarely used so default it.
 
#define Clock_driver_support_at_tick()
 Do nothing by default.
 
#define Clock_driver_support_set_interrupt_affinity(online_processors)
 Do nothing by default.
 

Functions

rtems_isr Clock_isr (rtems_vector_number vector)
 Clock_isr. More...
 
rtems_device_driver Clock_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void *pargp)
 Clock_initialize. More...
 

Variables

volatile uint32_t Clock_driver_ticks
 ISRs until next clock tick. More...
 

Detailed Description

Clock Tick Device Driver Shell.

Function Documentation

◆ Clock_initialize()

rtems_device_driver Clock_initialize ( rtems_device_major_number  major,
rtems_device_minor_number  minor,
void *  pargp 
)

Clock_initialize.

This routine initializes the clock driver.

Parameters
[in]majorClock device major number.
[in]minorClock device minor number.
[in]pargPointer to optional device driver arguments
Return values
rtems_device_driverstatus code

◆ Clock_isr()

rtems_isr Clock_isr ( rtems_vector_number  vector)

Clock_isr.

This is the clock tick interrupt handler.

Parameters
vectorVector number.

Variable Documentation

◆ Clock_driver_ticks

volatile uint32_t Clock_driver_ticks

ISRs until next clock tick.

Clock ticks since initialization