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

System clocks. More...

#include <bsp.h>
#include <bsp/system-clocks.h>

Macros

#define LPC176X_OSCILLATOR_INTERNAL   4000000u
 Internal RC oscillator frequency in [Hz].
 

Functions

unsigned lpc176x_sysclk (void)
 
void lpc176x_timer_initialize (void)
 Initializes the standard timer.
 
void lpc176x_micro_seconds_delay (const unsigned us)
 Delay for us micro seconds.
 
unsigned lpc176x_pllclk (void)
 Returns the PLL output clock frequency in [Hz].
 
unsigned lpc176x_cclk (void)
 Returns the CPU clock frequency in [Hz].
 
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.
 

Detailed Description

System clocks.