RTEMS
5.0.0
|
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... | |
Clock Tick Device Driver Shell.
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.
[in] | major | Clock device major number. |
[in] | minor | Clock device minor number. |
[in] | parg | Pointer to optional device driver arguments |
rtems_device_driver | status code |
rtems_isr Clock_isr | ( | rtems_vector_number | vector | ) |
Clock_isr.
This is the clock tick interrupt handler.
vector | Vector number. |
volatile uint32_t Clock_driver_ticks |
ISRs until next clock tick.
Clock ticks since initialization