RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Functions
tx-timecounter.c File Reference

This source file contains the definition of SetGetTimecountHandler(), GetTimecountCounter(), and SetTimecountCounter(). More...

#include "tx-support.h"
#include <rtems/sysinit.h>
#include <rtems/timecounter.h>
#include <rtems/score/atomic.h>
#include <rtems/score/percpu.h>
#include <rtems/score/smpimpl.h>
#include <rtems/score/threaddispatch.h>

Data Structures

struct  TimecounterControl
 

Functions

GetTimecountHandler SetGetTimecountHandler (GetTimecountHandler handler)
 Sets the get timecount handler.
 
uint32_t GetTimecountCounter (void)
 Gets the software timecount counter value.
 
uint32_t SetTimecountCounter (uint32_t counter)
 Sets and gets the software timecount counter value.
 
 RTEMS_SYSINIT_ITEM (InstallTimecounter, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_LAST)
 
void TimecounterTick (void)
 Simulates a single clock tick using the software timecounter.
 

Detailed Description

This source file contains the definition of SetGetTimecountHandler(), GetTimecountCounter(), and SetTimecountCounter().