![]() |
RTEMS 7.0-rc1
|
S3C2400 clock specific using the System Timer. More...
#include <rtems.h>#include <bsp/irq.h>#include <bsp.h>#include <s3c24xx.h>#include "../../../shared/dev/clock/clockimpl.h"Macros | |
| #define | Clock_driver_support_at_tick(arg) |
| #define | Clock_driver_support_install_isr(_new) BSP_install_rtems_irq_handler(&clock_isr_data) |
| #define | Clock_driver_support_initialize_hardware() |
| #define | CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER |
Functions | |
| void | Clock_isr (rtems_irq_hdl_param arg) |
Variables | |
| rtems_irq_connect_data | clock_isr_data |
S3C2400 clock specific using the System Timer.
| #define Clock_driver_support_at_tick | ( | arg | ) |
When we get the clock interrupt
| #define Clock_driver_support_initialize_hardware | ( | void | ) |
Initialize the hardware for the clock
Since you may want the clock always running, you can enable interrupts here. If you do so, the clock_isr_on(), clock_isr_off(), and clock_isr_is_on() functions can be NOPs.
| #define Clock_driver_support_install_isr | ( | _new | ) | BSP_install_rtems_irq_handler(&clock_isr_data) |
Installs the clock ISR. You shouldn't need to change this.
| rtems_irq_connect_data clock_isr_data |