RTEMS 6.3
Loading...
Searching...
No Matches

This header file contains the shared Clock Driver implementation. More...

#include <stdlib.h>
#include <bsp.h>
#include <rtems/clockdrv.h>
#include <rtems/score/percpu.h>
#include <rtems/score/processormaskimpl.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(arg)
 Do nothing by default.
#define Clock_driver_support_set_interrupt_affinity(online_processors)
 Do nothing by default.

Typedefs

typedef rtems_vector_number Clock_isr_argument

Functions

void Clock_isr (Clock_isr_argument arg)
 Clock_isr.
void _Clock_Initialize (void)
 Initialize the clock driver.

Variables

volatile uint32_t Clock_driver_ticks
 ISRs until next clock tick.

Detailed Description

This header file contains the shared Clock Driver implementation.

This header file shall only be included by a particular Clock Driver implementation source file.

Macro Definition Documentation

◆ Clock_driver_support_at_tick

#define Clock_driver_support_at_tick ( arg)
Value:
do { (void) arg; } while (0)

Do nothing by default.

Function Documentation

◆ Clock_isr()

void Clock_isr ( Clock_isr_argument arg)

Clock_isr.

This is the clock tick interrupt handler.

Parameters
argis the clock interrupt handler argument.

Variable Documentation

◆ Clock_driver_ticks

volatile uint32_t Clock_driver_ticks

ISRs until next clock tick.

Clock ticks since initialization