RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Macros | Functions | Variables
clock.c File Reference

AT91RM9200 clock specific using the System Timer. More...

#include <rtems.h>
#include <rtems/clockdrv.h>
#include <rtems/libio.h>
#include <stdlib.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <at91rm9200.h>
#include <at91rm9200_pmc.h>
#include "../../../shared/dev/clock/clockimpl.h"

Macros

#define Clock_driver_support_install_isr(_new)    BSP_install_rtems_irq_handler(&clock_isr_data)
 
#define Clock_driver_support_at_tick(arg)
 
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
 

Functions

void Clock_isr (rtems_irq_hdl_param arg)
 

Variables

rtems_irq_connect_data clock_isr_data
 

Detailed Description

AT91RM9200 clock specific using the System Timer.

Macro Definition Documentation

◆ Clock_driver_support_at_tick

#define Clock_driver_support_at_tick (   arg)
Value:
do { \
uint32_t st_str; \
\
/* read the status to clear the int */ \
st_str = ST_REG(ST_SR); \
(void) st_str; /* avoid set but not used warning */ \
} while (0)

Variable Documentation

◆ clock_isr_data

rtems_irq_connect_data clock_isr_data
Initial value:
= {
.name = AT91RM9200_INT_SYSIRQ,
.hdl = Clock_isr,
.handle = NULL,
.on = clock_isr_on,
.off = clock_isr_off,
.isOn = clock_isr_is_on,
}