RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros | Functions
system-clocks.c File Reference

System clocks. More...

#include <rtems/counter.h>
#include <bsp.h>
#include <bsp/lpc24xx.h>
#include <bsp/system-clocks.h>

Macros

#define LPC24XX_OSCILLATOR_INTERNAL   4000000U
 Internal RC oscillator frequency in [Hz].
 

Functions

void lpc24xx_timer_initialize (void)
 Initializes the standard timer.
 
uint32_t _CPU_Counter_frequency (void)
 Gets the current CPU counter frequency in Hz.
 
CPU_Counter_ticks _CPU_Counter_read (void)
 Gets the current CPU counter value.
 
void lpc24xx_micro_seconds_delay (unsigned us)
 Delay for us micro seconds.
 
unsigned lpc24xx_pllclk (void)
 Returns the PLL output clock frequency in [Hz].
 
unsigned lpc24xx_cclk (void)
 Returns the CPU clock frequency in [Hz].
 

Detailed Description

System clocks.