RTEMS 6.3
Loading...
Searching...
No Matches
Armv7-AR/AArch64 Generic Timer Clock Driver

This group contains the Armv7-AR/AArch64 Generic Timer Clock Driver implementation. More...

Files

file  bsps/shared/dev/clock/arm-generic-timer.c
 This source file contains a Clock Driver implementation using Armv7-AR/AArch64 Generic Timer.

Data Structures

struct  arm_gt_clock_context

Macros

#define Clock_driver_support_at_tick(arg)
#define Clock_driver_support_initialize_hardware()
#define Clock_driver_support_install_isr(isr)

Functions

uint32_t _CPU_Counter_frequency (void)
CPU_Counter_ticks _CPU_Counter_read (void)
 RTEMS_SYSINIT_ITEM (arm_gt_clock_early_init, RTEMS_SYSINIT_CPU_COUNTER, RTEMS_SYSINIT_ORDER_FIRST)

Detailed Description

This group contains the Armv7-AR/AArch64 Generic Timer Clock Driver implementation.

The BSP must provide the following function:

void arm_generic_timer_get_config(uint32_t *frequency, uint32_t *irq);

The BSP may optionally define ARM_GENERIC_TIMER_USE_VIRTUAL in <bsp.h> to use the virtual timer instead of the physical timer.

Macro Definition Documentation

◆ Clock_driver_support_at_tick

#define Clock_driver_support_at_tick ( arg)
Value:
arm_gt_clock_at_tick(arg)

◆ Clock_driver_support_initialize_hardware

#define Clock_driver_support_initialize_hardware ( void)
Value:
arm_gt_clock_initialize()

◆ Clock_driver_support_install_isr

#define Clock_driver_support_install_isr ( isr)
Value:
arm_gt_clock_handler_install(isr)